IDatasmithSubsequenceAnimationElement Class Referenceabstract

IDatasmithSubsequenceAnimationElement holds a reference to a IDatasmithLevelSequenceElement, to be played as a subsequence. More...

#include <DatasmithAnimationElements.h>

Inheritance diagram for IDatasmithSubsequenceAnimationElement:
IDatasmithBaseAnimationElement IDatasmithElement FDatasmithElementImpl< IDatasmithSubsequenceAnimationElement > FDatasmithBaseAnimationElementImpl< IDatasmithSubsequenceAnimationElement > FDatasmithSubsequenceAnimationElementImpl

Public Member Functions

virtual FFrameNumber GetStartTime () const =0
 Get the frame where the subsequence starts. More...
 
virtual void SetStartTime (FFrameNumber InStartTime)=0
 Set the frame where the subsequence starts. More...
 
virtual int32 GetDuration () const =0
 Get the subsequence duration in number of frames. More...
 
virtual void SetDuration (int32 InDuration)=0
 Set the subsequence duration in number of frames. More...
 
virtual float GetTimeScale () const =0
 Get the time scale used for the subsequence. More...
 
virtual void SetTimeScale (float InTimeScale)=0
 Set the time scale used for the subsequence. More...
 
virtual TWeakPtr< IDatasmithLevelSequenceElement > GetSubsequence () const =0
 Get a pointer to the subsequence that this element references. More...
 
virtual void SetSubsequence (TWeakPtr< IDatasmithLevelSequenceElement > InSubsequence)=0
 Set the subsequence that this element references. More...
 
- Public Member Functions inherited from IDatasmithBaseAnimationElement
virtual void SetCompletionMode (EDatasmithCompletionMode CompletionMode)=0
 Set how the actor should behave once its animation completes. More...
 
virtual EDatasmithCompletionMode GetCompletionMode () const =0
 Get how the actor behaves once this animation is complete. 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

IDatasmithSubsequenceAnimationElement holds a reference to a IDatasmithLevelSequenceElement, to be played as a subsequence.

Member Function Documentation

◆ GetDuration()

virtual int32 IDatasmithSubsequenceAnimationElement::GetDuration ( ) const
pure virtual

Get the subsequence duration in number of frames.

Implemented in FDatasmithSubsequenceAnimationElementImpl.

◆ GetStartTime()

virtual FFrameNumber IDatasmithSubsequenceAnimationElement::GetStartTime ( ) const
pure virtual

Get the frame where the subsequence starts.

Implemented in FDatasmithSubsequenceAnimationElementImpl.

◆ GetSubsequence()

virtual TWeakPtr<IDatasmithLevelSequenceElement> IDatasmithSubsequenceAnimationElement::GetSubsequence ( ) const
pure virtual

Get a pointer to the subsequence that this element references.

Implemented in FDatasmithSubsequenceAnimationElementImpl.

◆ GetTimeScale()

virtual float IDatasmithSubsequenceAnimationElement::GetTimeScale ( ) const
pure virtual

Get the time scale used for the subsequence.

Implemented in FDatasmithSubsequenceAnimationElementImpl.

◆ SetDuration()

virtual void IDatasmithSubsequenceAnimationElement::SetDuration ( int32  InDuration)
pure virtual

Set the subsequence duration in number of frames.

Implemented in FDatasmithSubsequenceAnimationElementImpl.

◆ SetStartTime()

virtual void IDatasmithSubsequenceAnimationElement::SetStartTime ( FFrameNumber  InStartTime)
pure virtual

Set the frame where the subsequence starts.

Implemented in FDatasmithSubsequenceAnimationElementImpl.

◆ SetSubsequence()

virtual void IDatasmithSubsequenceAnimationElement::SetSubsequence ( TWeakPtr< IDatasmithLevelSequenceElement >  InSubsequence)
pure virtual

Set the subsequence that this element references.

Implemented in FDatasmithSubsequenceAnimationElementImpl.

◆ SetTimeScale()

virtual void IDatasmithSubsequenceAnimationElement::SetTimeScale ( float  InTimeScale)
pure virtual

Set the time scale used for the subsequence.

Implemented in FDatasmithSubsequenceAnimationElementImpl.


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