Navigation
API > API/Runtime > API/Runtime/DatasmithCore
Inheritance Hierarchy
- ISceneGraphNode
- IDatasmithElement
- IDatasmithBaseAnimationElement
- IDatasmithVisibilityAnimationElement
References
| Module | DatasmithCore |
| Header | /Engine/Source/Runtime/Datasmith/DatasmithCore/Public/DatasmithAnimationElements.h |
| Include | #include "DatasmithAnimationElements.h" |
Syntax
class IDatasmithVisibilityAnimationElement : public IDatasmithBaseAnimationElement
Remarks
IDatasmithVisibilityAnimationElement holds the frames for an actor's visibility animation
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddFrame
(
const FDatasmithVisibilityFrameInfo& FrameInfo |
Add a frame to the animation | |
| EDatasmithCurveInterpMode | Get the interpolation mode of the animation | ||
| const FDatasmithVisibilityFrameInfo & | Return the frame of the animation at the given index or an invalid frame if the index was out of bounds | ||
| int32 | Return the number of frames of the animation | ||
| bool | Gets whether this animation will be duplicated to all children (recursively) when imported | ||
| void | RemoveFrame
(
int32 Index |
Remove the frame at the given index from the animation | |
| void | SetCurveInterpMode
(
EDatasmithCurveInterpMode CurveInterpMode |
Set the interpolation mode of the animation | |
| void | SetPropagateToChildren
(
bool bPropagate |
Sets whether this animation will be duplicated to all children (recursively) when imported |