#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 | |
MAXON_OPERATOR_EQUALITY (FalloffDataData, _mat, _imat, _falloff, _scale, _strength, _size, _invert, _clamped, _visible, _useSpline, _nodemat, _inverseNodeMat, _offset, _axis, _slice, _torusRadius, _function, _spherical, _radius, _inverseRadius, _inverseFalloff, _animTime) | |
Bool | operator!= (const FalloffDataData &b) |
Bool | SetMg (const Matrix &mg, Bool force=false) |
MAXON_OPERATOR_EQUALITY | ( | FalloffDataData | , |
_mat | , | ||
_imat | , | ||
_falloff | , | ||
_scale | , | ||
_strength | , | ||
_size | , | ||
_invert | , | ||
_clamped | , | ||
_visible | , | ||
_useSpline | , | ||
_nodemat | , | ||
_inverseNodeMat | , | ||
_offset | , | ||
_axis | , | ||
_slice | , | ||
_torusRadius | , | ||
_function | , | ||
_spherical | , | ||
_radius | , | ||
_inverseRadius | , | ||
_inverseFalloff | , | ||
_animTime | |||
) |
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.
Float _animTime |
Animation to to use for the falloff, this includes the effect of the animation speed.
maxon::GenericDataRef _splineData |
Internal spline-related data set up by InitFalloff.
maxon::GenericDataRef _userData |
User data set up by InitFalloff.