Navigation
API > API/Runtime > API/Runtime/DatasmithCore
IDatasmithLevelSequenceElement holds a set of animations
| Name | IDatasmithLevelSequenceElement |
| Type | class |
| Header File | /Engine/Source/Runtime/Datasmith/DatasmithCore/Public/DatasmithAnimationElements.h |
| Include Path | #include "DatasmithAnimationElements.h" |
Syntax
class IDatasmithLevelSequenceElement : public IDatasmithElement
Implements Interfaces
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~IDatasmithLevelSequenceElement() |
DatasmithAnimationElements.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddAnimation
(
const TSharedRef< IDatasmithBaseAnimationElement >& InAnimation |
Adds an animation to the level sequence. | DatasmithAnimationElements.h | |
TSharedPtr< IDatasmithBaseAnimationElement > GetAnimation
(
int32 InIndex |
Returns the animation using this index | DatasmithAnimationElements.h | |
int32 GetAnimationsCount() |
Returns the number of animations in the level sequence | DatasmithAnimationElements.h | |
const TCHAR * GetFile() |
Get the output filename, it can be absolute or relative to the scene file | DatasmithAnimationElements.h | |
| Return a MD5 hash of the content of the Level Sequence Element. | DatasmithAnimationElements.h | ||
float GetFrameRate() |
Gets the frame rate for the animations in the level sequence | DatasmithAnimationElements.h | |
void RemoveAnimation
(
const TSharedRef< IDatasmithBaseAnimationElement >& InAnimation |
Removes an animation from the level sequence. | DatasmithAnimationElements.h | |
void SetFile
(
const TCHAR* InFile |
Set the output filename, it can be absolute or relative to the scene file | DatasmithAnimationElements.h | |
void SetFileHash
(
FMD5Hash Hash |
Set the MD5 hash of the Level Sequence file. This should be a hash of its content. | DatasmithAnimationElements.h | |
void SetFrameRate
(
float FramePerSecs |
Sets the frame rate for the animations in the level sequence | DatasmithAnimationElements.h |