Navigation
API > API/Runtime > API/Runtime/DatasmithCore
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
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddAnimation
(
const TSharedRef< IDatasmithBaseAnimationElement >& InAnimation |
Adds an animation to the level sequence. | |
| TSharedPtr< IDatasmithBaseAnimationElement > | GetAnimation
(
int32 InIndex |
Returns the animation using this index | |
| int32 | Returns the number of animations in the level sequence | ||
| const TCHAR * | GetFile () |
Get the output filename, it can be absolute or relative to the scene file | |
| FMD5Hash | GetFileHash () |
Return a MD5 hash of the content of the Level Sequence Element. | |
| float | GetFrameRate () |
Gets the frame rate for the animations in the level sequence | |
| void | RemoveAnimation
(
const TSharedRef< IDatasmithBaseAnimationElement >& InAnimation |
Removes an animation from the level sequence. | |
| void | SetFile
(
const TCHAR* InFile |
Set the output filename, it can be absolute or relative to the scene file | |
| void | SetFileHash
(
FMD5Hash Hash |
Set the MD5 hash of the Level Sequence file. This should be a hash of its content. | |
| void | SetFrameRate
(
float FramePerSecs |
Sets the frame rate for the animations in the level sequence |