Navigation
API > API/Runtime > API/Runtime/DatasmithCore
IDatasmithTransformAnimationElement holds the frames for an actor transform animation
| Name | IDatasmithTransformAnimationElement |
| Type | class |
| Header File | /Engine/Source/Runtime/Datasmith/DatasmithCore/Public/DatasmithAnimationElements.h |
| Include Path | #include "DatasmithAnimationElements.h" |
Syntax
class IDatasmithTransformAnimationElement : public IDatasmithBaseAnimationElement
Implements Interfaces
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~IDatasmithTransformAnimationElement() |
DatasmithAnimationElements.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddFrame
(
EDatasmithTransformType TransformType, |
Add a frame of the given transform type to the animation | DatasmithAnimationElements.h | |
EDatasmithCurveInterpMode GetCurveInterpMode
(
EDatasmithTransformType TransformType |
Get the interpolation mode of the given transform type in the animation | DatasmithAnimationElements.h | |
| Gets which channels of this animation will be moved to the animation assets or serialized. | DatasmithAnimationElements.h | ||
const FDatasmithTransformFrameInfo & GetFrame
(
EDatasmithTransformType TransformType, |
Return the frame of the given transform type at the given index or an invalid frame if the index was out of bounds | DatasmithAnimationElements.h | |
int32 GetFramesCount
(
EDatasmithTransformType TransformType |
Return the number of frames of the given transform type in the animation | DatasmithAnimationElements.h | |
void RemoveFrame
(
EDatasmithTransformType TransformType, |
Remove the frame of the given transform type at the given index from the animation | DatasmithAnimationElements.h | |
void SetCurveInterpMode
(
EDatasmithTransformType TransformType, |
Set the interpolation mode of the given transform type in the animation | DatasmithAnimationElements.h | |
void SetEnabledTransformChannels
(
EDatasmithTransformChannels Channels |
Sets which channels of this animation will be moved to the animation assets or serialized. | DatasmithAnimationElements.h |