IDatasmithSubsequenceAnimationElement

[IDatasmithSubsequenceAnimationElement](API\Runtime\DatasmithCore\IDatasmithSubsequenceAnimationEl-) holds a reference to a [IDatasmithLevelSequenceElement](API\Runtime\DatasmithCore\IDatasmithLevelSequenceElement), to be played as a subsequence

Choose your operating system:

Windows

macOS

Linux

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

Functions

Name Description

Public function Const

int32

 

GetDuration()

Get the subsequence duration in number of frames

Public function Const

FFrameNumber

 

GetStartTime()

Get the frame where the subsequence starts

Public function Const

TWeakPtr< ID...

 

GetSubsequence()

Get a pointer to the subsequence that this element references

Public function Const

float

 

GetTimeScale()

Get the time scale used for the subsequence

Public function

void

 

SetDuration

(
    int32 InDuration
)

Set the subsequence duration in number of frames

Public function

void

 

SetStartTime

(
    FFrameNumber InStartTime
)

Set the frame where the subsequence starts

Public function

void

 

SetSubsequence

Set the subsequence that this element references

Public function

void

 

SetTimeScale

(
    float InTimeScale
)

Set the time scale used for the subsequence