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