Follow me to the Inheritance diagramm.
New in version R13.029.
Functions
- c4d.modules.mograph.GeGetMoData(op)
-
Returns the MoGraph data of an object.
Parameters: |
op (BaseObject) – The object. |
Return type: |
MoData |
Returns: |
The MoGraph data. |
- c4d.modules.mograph.GetMoDataDefault(id)
-
Get the default value for the specified MoData ID.
Parameters: |
id (long) –
The MoData ID:
MODATA_MATRIX |
Matrix |
Matrix of the clone. |
MODATA_COLOR |
Vector |
Color of the clone. |
MODATA_SIZE |
Vector |
Size of the clone. |
MODATA_UVW |
Vector |
UV position of the clone. |
MODATA_FLAGS |
long |
|
MOGENFLAG_CLONE_ON |
Particle is visible. |
MOGENFLAG_DISABLE |
Particle is permanently disabled. |
MOGENFLAG_BORN |
Particle is just generated (internal use only). |
MOGENFLAG_MODATASET |
The MoData has been set and doesn’t need the input of the transform panel. |
MOGENFLAG_COLORSET |
The MoData color has been set and doesn’t need to be updated. |
MOGENFLAG_TIMESET |
The MoData time has been set and doesn’t need to be updated. |
MODATA_WEIGHT |
float |
Weight of the clone. |
MODATA_CLONE |
float |
Clone Offset (picks which child of the Cloner gets cloned or the blending between those children). |
MODATA_TIME |
float |
Time offset of the clone. |
MODATA_LASTMAT |
Matrix |
Previous frame particle matrix. |
MODATA_STARTMAT |
Matrix |
Matrix at the particle’s birth. |
MODATA_ALT_INDEX |
long |
Alternative index value that can be used for instance by the Step Effector when cloned over a spline with an offset. |
MODATA_FALLOFF_WGT |
float |
Falloff weight. |
MODATA_SPLINE_SEGMENT |
long |
The segment index, mostly used with the MoSpline (currently unused). |
MODATA_GROWTH |
float |
Offset of growth for the particle on the MoSpline (currently unused). |
|
Return type: |
any |
Returns: |
The default value. |
- c4d.modules.mograph.GetMoDataDefaultType(id)
-
Get the default value for the specified MoData ID.
Parameters: |
id (long) –
The MoData ID:
MODATA_MATRIX |
Matrix |
Matrix of the clone. |
MODATA_COLOR |
Vector |
Color of the clone. |
MODATA_SIZE |
Vector |
Size of the clone. |
MODATA_UVW |
Vector |
UV position of the clone. |
MODATA_FLAGS |
long |
|
MOGENFLAG_CLONE_ON |
Particle is visible. |
MOGENFLAG_DISABLE |
Particle is permanently disabled. |
MOGENFLAG_BORN |
Particle is just generated (internal use only). |
MOGENFLAG_MODATASET |
The MoData has been set and doesn’t need the input of the transform panel. |
MOGENFLAG_COLORSET |
The MoData color has been set and doesn’t need to be updated. |
MOGENFLAG_TIMESET |
The MoData time has been set and doesn’t need to be updated. |
MODATA_WEIGHT |
float |
Weight of the clone. |
MODATA_CLONE |
float |
Clone Offset (picks which child of the Cloner gets cloned or the blending between those children). |
MODATA_TIME |
float |
Time offset of the clone. |
MODATA_LASTMAT |
Matrix |
Previous frame particle matrix. |
MODATA_STARTMAT |
Matrix |
Matrix at the particle’s birth. |
MODATA_ALT_INDEX |
long |
Alternative index value that can be used for instance by the Step Effector when cloned over a spline with an offset. |
MODATA_FALLOFF_WGT |
float |
Falloff weight. |
MODATA_SPLINE_SEGMENT |
long |
The segment index, mostly used with the MoSpline (currently unused). |
MODATA_GROWTH |
float |
Offset of growth for the particle on the MoSpline (currently unused). |
|
Return type: |
long |
Returns: |
The default type:
MD_NONE |
None. |
MD_CHAR |
char type. |
MD_UCHAR |
unsigned char type. |
MD_LONG |
long type. |
MD_ULONG |
unsigned long type. |
MD_LLONG |
long long type. |
MD_MATRIX |
Matrix type. |
MD_COLOR |
Color type. |
MD_VECTOR |
Vector type. |
MD_NORMAL |
Normal type. |
MD_REAL |
float type. |
MD_BOOL |
bool type. |
|