|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
| MAYAFLUX_API void MayaFlux::Nexus::follow_attachment | ( | Attachment & | attachment, |
| std::optional< glm::vec3 > & | position, | ||
| const std::optional< glm::quat > & | orientation | ||
| ) |
Set position from the buffer, or fold an outside move into the attachment.
| attachment | Attachment to follow. |
| position | Position of the Agent. Set if empty. |
| orientation | Orientation of the Agent, if it has one. |
Definition at line 107 of file Attachment.cpp.
References MayaFlux::Nexus::Attachment::anchor, MayaFlux::Nexus::Attachment::applied, MayaFlux::Nexus::AttachConfig::Carry, MayaFlux::Nexus::Attachment::config, MayaFlux::Nexus::AttachConfig::offset, MayaFlux::Nexus::AttachConfig::on_move, position, and MayaFlux::Nexus::Attachment::transform.
Referenced by MayaFlux::Nexus::Agent::follow_attachment(), and MayaFlux::Nexus::Emitter::follow_attachment().
Here is the caller graph for this function: