#include <c4d_baseeffectordata.h>
Data structure for mutable data which is set up in EffectorData::CalcPointValue. See obaseeffector.res and obaseeffector.h for the IDs.
To get it filled make sure that the IDs for strength etc. match those in obaseeffector.h.
Public Member Functions | |
MutableEffectorDataStruct () | |
MAXON_ATTRIBUTE_FORCE_INLINE Bool | IsUsed (STRENGTHMASK mask) const |
MAXON_ATTRIBUTE_FORCE_INLINE Bool | IsUsed (Int32 channel) const |
Public Attributes | |
STRENGTHMASK | _strengthUsed |
union { | |
struct { | |
Vector pos | |
Vector scale | |
Vector rot | |
Vector col | |
Vector other | |
Vector other2 | |
Vector other3 | |
} _strengthValues | |
Float _strengths [21] | |
}; | |
MAXON_ATTRIBUTE_FORCE_INLINE Bool IsUsed | ( | STRENGTHMASK | mask | ) | const |
MAXON_ATTRIBUTE_FORCE_INLINE Bool IsUsed | ( | Int32 | channel | ) | const |
STRENGTHMASK _strengthUsed |
bit "1 << i" equals true indicates if the value in strengths[i] is used/required/calculated
Vector pos |
Position.
Vector scale |
Scale.
Vector rot |
Rotation.
Vector col |
Color.
Vector other |
First other.
Vector other2 |
Second other.
Vector other3 |
Third other.
struct { ... } _strengthValues |
Float _strengths[21] |
Strength value are set by the effector in EffectorData::CalcPointValue.
Amount of strengths for each value, of in order, position, scale, rotation, color (and anything else to affect).
union { ... } |