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

Data passed to an Emitter or Agent influence function on each commit. More...

#include <Influence.hpp>

+ Collaboration diagram for MayaFlux::Nexus::InfluenceContext:

Public Attributes

std::optional< glm::vec3 > color
 Optional color hint for the influence, may be used for visualisation or shader effects.
 
std::optional< glm::vec2 > cursor_pos
 Optional cursor position for pending interactions, useful for real-time editing or previewing influence effects.
 
float intensity { 1.0F }
 Intensity of the influence, typically in the range [0, 1], but may exceed 1 for strong influences.
 
std::optional< glm::quat > orientation
 Optional orientation of the influencer. Local +Z is its forward direction.
 
glm::vec3 position {}
 Position of the influence point in world space.
 
float radius { 1.0F }
 Radius of influence around the position, defining the area of effect for spatially-dependent influences.
 
std::optional< float > size
 Optional size hint for the influence, may be used for visualisation or shader effects.
 

Detailed Description

Data passed to an Emitter or Agent influence function on each commit.

Only the fields relevant to the active execution path are populated. Fields marked

Note
future are reserved for later domain expansions and are always default-initialised in the current implementation.

Definition at line 17 of file Influence.hpp.


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