IDatasmithLevelSequenceElement holds a set of animations. More...
#include <DatasmithAnimationElements.h>
Public Member Functions | |
| virtual const TCHAR * | GetFile () const =0 |
| Get the output filename, it can be absolute or relative to the scene file. More... | |
| virtual void | SetFile (const TCHAR *InFile)=0 |
| Set the output filename, it can be absolute or relative to the scene file. More... | |
| virtual FMD5Hash | GetFileHash () const =0 |
| Return a MD5 hash of the content of the Level Sequence Element. More... | |
| virtual void | SetFileHash (FMD5Hash Hash)=0 |
| Set the MD5 hash of the Level Sequence file. More... | |
| virtual float | GetFrameRate () const =0 |
| virtual void | SetFrameRate (float FramePerSecs)=0 |
| virtual void | AddAnimation (const TSharedRef< IDatasmithBaseAnimationElement > &InAnimation)=0 |
| Adds an animation to the level sequence. More... | |
| virtual int32 | GetAnimationsCount () const =0 |
| Returns the number of animations in the level sequence. More... | |
| virtual TSharedPtr< IDatasmithBaseAnimationElement > | GetAnimation (int32 InIndex)=0 |
| Returns the animation using this index. More... | |
| virtual void | RemoveAnimation (const TSharedRef< IDatasmithBaseAnimationElement > &InAnimation)=0 |
| Removes an animation from the level sequence. More... | |
Public Member Functions inherited from IDatasmithElement | |
| virtual bool | IsA (EDatasmithElementType Type) const =0 |
| returns if this DatasmithElement is of a specified type More... | |
| virtual bool | IsSubType (uint64 SubType) const =0 |
| returns if this DatasmithElement is of a specified subtype of its EDatasmithElementType More... | |
| virtual const TCHAR * | GetName () const =0 |
| Gets the element name. More... | |
| virtual void | SetName (const TCHAR *InName)=0 |
| Sets the element name. More... | |
| virtual const TCHAR * | GetLabel () const =0 |
| Gets the element label used in the UI. More... | |
| virtual void | SetLabel (const TCHAR *InLabel)=0 |
| Sets the element label used in the UI. More... | |
| virtual FMD5Hash | CalculateElementHash (bool bForce)=0 |
| Return a MD5 hash of the content of the Element. More... | |
IDatasmithLevelSequenceElement holds a set of animations.
|
pure virtual |
Adds an animation to the level sequence.
| InAnimation | the animation to add |
Implemented in FDatasmithLevelSequenceElementImpl.
|
pure virtual |
Returns the animation using this index.
Implemented in FDatasmithLevelSequenceElementImpl.
|
pure virtual |
Returns the number of animations in the level sequence.
Implemented in FDatasmithLevelSequenceElementImpl.
|
pure virtual |
Get the output filename, it can be absolute or relative to the scene file.
Implemented in FDatasmithLevelSequenceElementImpl.
|
pure virtual |
Return a MD5 hash of the content of the Level Sequence Element.
Used in CalculateElementHash to quickly identify Element with identical content
Implemented in FDatasmithLevelSequenceElementImpl.
|
pure virtual |
Removes an animation from the level sequence.
| InAnimation | the animation to remove |
Implemented in FDatasmithLevelSequenceElementImpl.
|
pure virtual |
Set the output filename, it can be absolute or relative to the scene file.
Implemented in FDatasmithLevelSequenceElementImpl.
|
pure virtual |
Set the MD5 hash of the Level Sequence file.
This should be a hash of its content.
Implemented in FDatasmithLevelSequenceElementImpl.