#include <c4d_falloffdata.h>
Holds the data for FalloffData plugins.
Structure is read-only. The only exception is _userData, which can be set to whatever.
_userData must be checked before it is accessed as it can be reset to nullptr.
It is not normally reset to nullptr in-between switches to a different falloff, so it should be cleared in FalloffData::FreeFalloff if it has been set before.
Public Member Functions | |
FalloffDataData () | |
~FalloffDataData () | |
Bool | operator== (const FalloffDataData &b) |
Bool | operator!= (const FalloffDataData &b) |
FalloffDataData | ( | ) |
Default constructor.
~FalloffDataData | ( | ) |
Default destructor.
Bool operator== | ( | const FalloffDataData & | b | ) |
Equality operator. Checks if two FalloffDataDatas are identical.
[in] | b | The FalloffDataData to compare with. |
Bool operator!= | ( | const FalloffDataData & | b | ) |
Inequality operator. Checks if two FalloffDataDatas are different.
[in] | b | The FalloffDataData to compare with. |
Matrix _mat |
Falloff matrix.
Matrix _imat |
Inverse falloff matrix.
Float _falloff |
Falloff.
Float _scale |
Scale.
Float _strength |
Strength.
Vector _size |
Size.
Bool _invert |
Invert.
Bool _clamped |
Clamped.
Bool _visible |
Visible.
Bool _useSpline |
Use spline.
Matrix _nodemat |
The node's matrix.
Matrix _inverseNodeMat |
The node's inverse matrix.
Vector _offset |
Offset.
Int32 _axis |
Axis orientation: FALLOFF_SHAPE_AXIS.
Float _slice |
Slice 0-360°.
Float _torusRadius |
Torus radius.
Int32 _function |
Falloff function: FALLOFF_FUNCTION.
Bool _spherical |
Deprecated.
Float _radius |
Deprecated.
Float _inverseRadius |
Deprecated.
Float _inverseFalloff |
Inverse falloff.
void* _userData |
User data.