FDatasmithLevelSequenceElementImpl Class Reference
Inheritance diagram for FDatasmithLevelSequenceElementImpl:
FDatasmithElementImpl< IDatasmithLevelSequenceElement > IDatasmithLevelSequenceElement IDatasmithElement

Public Member Functions

 FDatasmithLevelSequenceElementImpl (const TCHAR *InName)
 
virtual const TCHAR * GetFile () const override
 Get the output filename, it can be absolute or relative to the scene file. More...
 
virtual void SetFile (const TCHAR *InFile) override
 Set the output filename, it can be absolute or relative to the scene file. More...
 
virtual FMD5Hash GetFileHash () const override
 Return a MD5 hash of the content of the Level Sequence Element. More...
 
virtual void SetFileHash (FMD5Hash Hash) override
 Set the MD5 hash of the Level Sequence file. More...
 
virtual float GetFrameRate () const override
 
virtual void SetFrameRate (float FramePerSecs) override
 
virtual void AddAnimation (const TSharedRef< IDatasmithBaseAnimationElement > &InAnimation) override
 Adds an animation to the level sequence. More...
 
virtual int32 GetAnimationsCount () const override
 Returns the number of animations in the level sequence. More...
 
virtual TSharedPtr< IDatasmithBaseAnimationElementGetAnimation (int32 InIndex) override
 Returns the animation using this index. More...
 
virtual void RemoveAnimation (const TSharedRef< IDatasmithBaseAnimationElement > &InAnimation) override
 Removes an animation from the level sequence. More...
 
- Public Member Functions inherited from FDatasmithElementImpl< IDatasmithLevelSequenceElement >
 FDatasmithElementImpl (const TCHAR *InName, EDatasmithElementType InType, uint64 InSubType=0)
 
virtual bool IsA (EDatasmithElementType InType) const override
 
virtual bool IsSubType (uint64 InSubType) const override
 
virtual const TCHAR * GetName () const override
 
virtual void SetName (const TCHAR *InName) override
 
virtual const TCHAR * GetLabel () const override
 
virtual void SetLabel (const TCHAR *InLabel) override
 
virtual FMD5Hash CalculateElementHash (bool) override
 

Additional Inherited Members

- Protected Attributes inherited from FDatasmithElementImpl< IDatasmithLevelSequenceElement >
FString Name
 
FString Label
 
FMD5Hash ElementHash
 
EDatasmithElementType Type
 
uint64 SubType
 

Member Function Documentation

◆ AddAnimation()

virtual void FDatasmithLevelSequenceElementImpl::AddAnimation ( const TSharedRef< IDatasmithBaseAnimationElement > &  InAnimation)
inlineoverridevirtual

Adds an animation to the level sequence.

Parameters
InAnimationthe animation to add

Implements IDatasmithLevelSequenceElement.

◆ GetAnimation()

virtual TSharedPtr< IDatasmithBaseAnimationElement > FDatasmithLevelSequenceElementImpl::GetAnimation ( int32  InIndex)
inlineoverridevirtual

Returns the animation using this index.

Implements IDatasmithLevelSequenceElement.

◆ GetAnimationsCount()

virtual int32 FDatasmithLevelSequenceElementImpl::GetAnimationsCount ( ) const
inlineoverridevirtual

Returns the number of animations in the level sequence.

Implements IDatasmithLevelSequenceElement.

◆ GetFile()

virtual const TCHAR* FDatasmithLevelSequenceElementImpl::GetFile ( ) const
inlineoverridevirtual

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

Implements IDatasmithLevelSequenceElement.

◆ GetFileHash()

virtual FMD5Hash FDatasmithLevelSequenceElementImpl::GetFileHash ( ) const
inlineoverridevirtual

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

Used in CalculateElementHash to quickly identify Element with identical content

Implements IDatasmithLevelSequenceElement.

◆ RemoveAnimation()

virtual void FDatasmithLevelSequenceElementImpl::RemoveAnimation ( const TSharedRef< IDatasmithBaseAnimationElement > &  InAnimation)
inlineoverridevirtual

Removes an animation from the level sequence.

Parameters
InAnimationthe animation to remove

Implements IDatasmithLevelSequenceElement.

◆ SetFile()

virtual void FDatasmithLevelSequenceElementImpl::SetFile ( const TCHAR *  InFile)
inlineoverridevirtual

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

Implements IDatasmithLevelSequenceElement.

◆ SetFileHash()

virtual void FDatasmithLevelSequenceElementImpl::SetFileHash ( FMD5Hash  Hash)
inlineoverridevirtual

Set the MD5 hash of the Level Sequence file.

This should be a hash of its content.

Implements IDatasmithLevelSequenceElement.


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