MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
MayaFlux::Nexus::AttachConfig Struct Reference

How an Agent attaches to a buffer that already exists. More...

#include <Attachment.hpp>

+ Collaboration diagram for MayaFlux::Nexus::AttachConfig:

Public Types

enum class  OnMove : uint8_t { Offset , Carry }
 What a move of the Agent from outside does to the attachment. More...
 

Public Attributes

std::optional< uint32_t > index
 Vertex whose position anchors the Agent.
 
glm::vec3 offset {}
 Offset of the Agent from the anchor, in the Agent's own frame.
 
OnMove on_move { OnMove::Offset }
 

Detailed Description

How an Agent attaches to a buffer that already exists.

Definition at line 16 of file Attachment.hpp.


The documentation for this struct was generated from the following file: