IDatasmithLevelSequenceElement Class Referenceabstract

IDatasmithLevelSequenceElement holds a set of animations. More...

#include <DatasmithAnimationElements.h>

Inheritance diagram for IDatasmithLevelSequenceElement:
IDatasmithElement FDatasmithElementImpl< IDatasmithLevelSequenceElement > FDatasmithLevelSequenceElementImpl

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...
 

Detailed Description

IDatasmithLevelSequenceElement holds a set of animations.

Member Function Documentation

◆ AddAnimation()

virtual void IDatasmithLevelSequenceElement::AddAnimation ( const TSharedRef< IDatasmithBaseAnimationElement > &  InAnimation)
pure virtual

Adds an animation to the level sequence.

Parameters
InAnimationthe animation to add

Implemented in FDatasmithLevelSequenceElementImpl.

◆ GetAnimation()

virtual TSharedPtr< IDatasmithBaseAnimationElement > IDatasmithLevelSequenceElement::GetAnimation ( int32  InIndex)
pure virtual

Returns the animation using this index.

Implemented in FDatasmithLevelSequenceElementImpl.

◆ GetAnimationsCount()

virtual int32 IDatasmithLevelSequenceElement::GetAnimationsCount ( ) const
pure virtual

Returns the number of animations in the level sequence.

Implemented in FDatasmithLevelSequenceElementImpl.

◆ GetFile()

virtual const TCHAR* IDatasmithLevelSequenceElement::GetFile ( ) const
pure virtual

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

Implemented in FDatasmithLevelSequenceElementImpl.

◆ GetFileHash()

virtual FMD5Hash IDatasmithLevelSequenceElement::GetFileHash ( ) const
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.

◆ RemoveAnimation()

virtual void IDatasmithLevelSequenceElement::RemoveAnimation ( const TSharedRef< IDatasmithBaseAnimationElement > &  InAnimation)
pure virtual

Removes an animation from the level sequence.

Parameters
InAnimationthe animation to remove

Implemented in FDatasmithLevelSequenceElementImpl.

◆ SetFile()

virtual void IDatasmithLevelSequenceElement::SetFile ( const TCHAR *  InFile)
pure virtual

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

Implemented in FDatasmithLevelSequenceElementImpl.

◆ SetFileHash()

virtual void IDatasmithLevelSequenceElement::SetFileHash ( FMD5Hash  Hash)
pure virtual

Set the MD5 hash of the Level Sequence file.

This should be a hash of its content.

Implemented in FDatasmithLevelSequenceElementImpl.


The documentation for this class was generated from the following file: