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