MayaFlux 0.4.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 <InfluenceContext.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.
 
float intensity { 1.0F }
 Intensity of the influence, typically in the range [0, 1], but may exceed 1 for strong influences.
 
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::weak_ptr< Buffers::RenderProcessorrender_proc
 
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 46 of file InfluenceContext.hpp.


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