#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.
公共成员函数 |
|
| FalloffDataData () | |
| ~FalloffDataData (void) | |
| Bool | operator== (const FalloffDataData &b) |
| Bool | operator!= (const FalloffDataData &b) |
| FalloffDataData | ( | ) |
Default constructor.
| ~ FalloffDataData | ( | void | ) |
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. |
| 矩阵 _mat |
Falloff matrix.
| 矩阵 _imat |
Inverse falloff matrix.
| Float _falloff |
Falloff.
| Float _scale |
Scale.
| Float _strength |
Strength.
| 向量 _size |
Size.
| Bool _invert |
Invert.
| Bool _clamped |
Clamped.
| Bool _visible |
Visible.
| Bool _useSpline |
Use spline.
| 矩阵 _nodemat |
The node's matrix.
| 矩阵 _inverseNodeMat |
The node's inverse matrix.
| 向量 _offset |
Offset.
| Int32 _axis |
Axis orientation: FALLOFF_SHAPE_AXIS .
| Float _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.