IDatasmithLevelSequenceElement

[IDatasmithLevelSequenceElement](API\Runtime\DatasmithCore\IDatasmithLevelSequenceElement) holds a set of animations

Windows
MacOS
Linux

Inheritance Hierarchy

ISceneGraphNode

IDatasmithElement

IDatasmithLevelSequenceElement

References

Module

DatasmithCore

Header

/Engine/Source/Runtime/Datasmith/DatasmithCore/Public/DatasmithAnimationElements.h

Include

#include "DatasmithAnimationElements.h"

Syntax

class IDatasmithLevelSequenceElement : public IDatasmithElement

Remarks

IDatasmithLevelSequenceElement holds a set of animations

Destructors

Functions

Name Description

Public function

void

 

AddAnimation

(
    const TSharedRef< IDatasmithBaseAni...
)

Adds an animation to the level sequence.

Public function

TSharedPtr< ...

 

GetAnimation

(
    int32 InIndex
)

Returns the animation using this index

Public function Const

int32

 

GetAnimationsCount()

Returns the number of animations in the level sequence

Public function Const

const TCHAR ...

 

GetFile()

Get the output filename, it can be absolute or relative to the scene file

Public function Const

FMD5Hash

 

GetFileHash()

Return a MD5 hash of the content of the Level Sequence Element.

Public function Const

float

 

GetFrameRate()

Gets the frame rate for the animations in the level sequence

Public function

void

 

RemoveAnimation

(
    const TSharedRef< IDatasmithBaseAni...
)

Removes an animation from the level sequence.

Public function

void

 

SetFile

(
    const TCHAR* InFile
)

Set the output filename, it can be absolute or relative to the scene file

Public function

void

 

SetFileHash

(
    FMD5Hash Hash
)

Set the MD5 hash of the Level Sequence file. This should be a hash of its content.

Public function

void

 

SetFrameRate

(
    float FramePerSecs
)

Sets the frame rate for the animations in the level sequence

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss