This reference page is linked to from the following overview topics: Animation Classes and their Interrelationships, Animating a Node, Migrating to the New Data Structures for Animation, Using the Blend Modes, FBX Objects, Bypassing the Blend Mode for Specific Data Types, List of Python Fbx classes, Extracting the Animation Data from a FBX File, Animation Data Structures.
#include <fbxanimlayer.h>
The animation layer is a collection of animation curve nodes.
Its purpose is to store a variable number of FbxAnimCurveNode. The class provides different states flags (bool properties), an animatable weight, and the blending mode flag to indicate how the data on this layer is interacting with the data of the other layers during the evaluation.
Animation/main.cxx, Common/AnimationUtility.cxx, Common/AnimationUtility.h, ExportScene01/main.cxx, ExportScene02/main.cxx, ExportScene03/main.cxx, ExportScene04/main.cxx, ImportScene/DisplayAnimation.cxx, Instances/main.cxx, Pivot/main.cxx, UI_Examples/CubeCreator/SDK_Utility.cxx, UI_Examples/CubeCreator/SDK_Utility.h, UserProperties/main.cxx, ViewScene/DrawScene.cxx, ViewScene/DrawScene.h, ViewScene/SceneCache.cxx, ViewScene/SceneCache.h, ViewScene/SceneContext.cxx, ViewScene/SceneContext.h, ViewScene/SetCamera.cxx, and ViewScene/SetCamera.h.
Definition at line 30 of file fbxanimlayer.h.
Public Types |
|
| enum | EBlendMode { eBlendAdditive, eBlendOverride, eBlendOverridePassthrough } |
| Blend mode type between animation layers.
More... |
|
| enum | ERotationAccumulationMode { eRotationByLayer, eRotationByChannel } |
| Rotation accumulation mode of animation
layer. More... |
|
| enum | EScaleAccumulationMode { eScaleMultiply, eScaleAdditive } |
| Scale accumulation mode of animation layer.
More... |
|
Public Member Functions |
|
| void | Reset () |
| Reset this object properties to their
default value. |
|
Public Attributes |
|
| FbxPropertyT< FbxDouble > | Weight |
| This property stores the weight factor.
|
|
| FbxPropertyT< FbxBool > | Mute |
| This property stores the mute state.
|
|
| FbxPropertyT< FbxBool > | Solo |
| This property stores the solo state.
|
|
| FbxPropertyT< FbxBool > | Lock |
| This property stores the lock state.
|
|
| FbxPropertyT< FbxDouble3 > | Color |
| This property stores the display color.
|
|
| FbxPropertyT< FbxEnum > | BlendMode |
| This property stores the blend mode.
|
|
| FbxPropertyT< FbxEnum > | RotationAccumulationMode |
| This property stores the rotation
accumulation mode. |
|
| FbxPropertyT< FbxEnum > | ScaleAccumulationMode |
| This property stores the scale accumulation
mode. |
|
BlendMode bypass functions. |
|
|
This section provides methods to bypass the current layer blend mode by data type. When the state is
|
|
| void | SetBlendModeBypass (EFbxType pType, bool pState) |
| Set the bypass flag for the given data type.
|
|
| bool | GetBlendModeBypass (EFbxType pType) |
| Get the current state of the bypass flag for
the given data type. |
|
| FbxAnimCurveNode * | CreateCurveNode (FbxProperty &pProperty) |
| CurveNode Management. |
|
| enum EBlendMode |
Blend mode type between animation layers.
Definition at line 138 of file fbxanimlayer.h.
Rotation accumulation mode of animation layer.
Definition at line 153 of file fbxanimlayer.h.
Scale accumulation mode of animation layer.
Definition at line 161 of file fbxanimlayer.h.
{
eScaleMultiply,
eScaleAdditive
};
| void Reset | ( | ) |
Reset this object properties to their default value.
| void SetBlendModeBypass | ( | EFbxType | pType, |
| bool | pState | ||
| ) |
Set the bypass flag for the given data type.
| pType | The fbxType identifier. |
| pState | The new state of the bypass flag. |
| bool GetBlendModeBypass | ( | EFbxType | pType | ) |
Get the current state of the bypass flag for the given data type.
| pType | The fbxType identifier. |
false in any other case.| FbxAnimCurveNode* CreateCurveNode | ( | FbxProperty & | pProperty | ) |
CurveNode Management.
Create a FbxAnimCurveNode based on the property data type.
| pProperty | The property that the created FbxAnimCurveNode will be connected to. |
This property stores the weight factor.
The weight factor is the percentage of influence this layer has during the evaluation.
Default value is 100.0
Definition at line 47 of file fbxanimlayer.h.
This property stores the mute state.
The mute state indicates that this layer should be excluded from the evaluation.
Default value is false
Definition at line 54 of file fbxanimlayer.h.
This property stores the solo state.
The solo state indicates that this layer is the only one that should be processed during the evaluation.
Default value is false
Definition at line 62 of file fbxanimlayer.h.
This property stores the lock state.
The lock state indicates that this layer has been "locked" from editing operations and should no longer receive keyframes.
Default value is false
Definition at line 70 of file fbxanimlayer.h.
This property stores the display color.
This color can be used by applications if they display a graphical representation of the layer. The FBX SDK does not use it but guarantees that the value is saved to the FBX file and retrieved from it.
Default value is (0.8, 0.8, 0.8)
Definition at line 79 of file fbxanimlayer.h.
This property stores the blend mode.
The blend mode is used to specify how this layer influences the animation evaluation. See the BlendMode enumeration for the description of the modes.
Default value is eModeAdditive
Definition at line 87 of file fbxanimlayer.h.
This property stores the rotation accumulation mode.
This option indicates how the rotation curves on this layer combine with any preceding layers that share the same attributes. See the RotationAccumulationMode enumeration for the description of the modes.
Default value is eRotationByLayer
Definition at line 96 of file fbxanimlayer.h.
This property stores the scale accumulation mode.
This option indicates how the scale curves on this layer combine with any preceding layers that share the same attributes. See the ScaleAccumulationMode enumeration for the description of the modes.
Default value is eScaleMultiply
Definition at line 105 of file fbxanimlayer.h.