Navigation
API > API/Runtime > API/Runtime/DatasmithCore
IDatasmithSubsequenceAnimationElement holds a reference to a IDatasmithLevelSequenceElement, to be played as a subsequence
| Name | IDatasmithSubsequenceAnimationElement |
| Type | class |
| Header File | /Engine/Source/Runtime/Datasmith/DatasmithCore/Public/DatasmithAnimationElements.h |
| Include Path | #include "DatasmithAnimationElements.h" |
Syntax
class IDatasmithSubsequenceAnimationElement : public IDatasmithBaseAnimationElement
Implements Interfaces
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~IDatasmithSubsequenceAnimationElement() |
DatasmithAnimationElements.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
int32 GetDuration() |
Get the subsequence duration in number of frames | DatasmithAnimationElements.h | |
FFrameNumber GetStartTime() |
Get the frame where the subsequence starts | DatasmithAnimationElements.h | |
TWeakPtr< IDatasmithLevelSequenceElement > GetSubsequence() |
Get a pointer to the subsequence that this element references | DatasmithAnimationElements.h | |
float GetTimeScale() |
Get the time scale used for the subsequence | DatasmithAnimationElements.h | |
void SetDuration
(
int32 InDuration |
Set the subsequence duration in number of frames | DatasmithAnimationElements.h | |
void SetStartTime
(
FFrameNumber InStartTime |
Set the frame where the subsequence starts | DatasmithAnimationElements.h | |
void SetSubsequence
(
TWeakPtr< IDatasmithLevelSequenceElement > InSubsequence |
Set the subsequence that this element references | DatasmithAnimationElements.h | |
void SetTimeScale
(
float InTimeScale |
Set the time scale used for the subsequence | DatasmithAnimationElements.h |