IDatasmithVisibilityAnimationElement Class Referenceabstract

IDatasmithVisibilityAnimationElement holds the frames for an actor's visibility animation. More...

#include <DatasmithAnimationElements.h>

Inheritance diagram for IDatasmithVisibilityAnimationElement:
IDatasmithBaseAnimationElement IDatasmithElement FDatasmithElementImpl< IDatasmithVisibilityAnimationElement > FDatasmithBaseAnimationElementImpl< IDatasmithVisibilityAnimationElement > FDatasmithVisibilityAnimationElementImpl

Public Member Functions

virtual void AddFrame (const FDatasmithVisibilityFrameInfo &FrameInfo)=0
 Add a frame to the animation. More...
 
virtual int32 GetFramesCount () const =0
 Return the number of frames of the animation. More...
 
virtual void SetCurveInterpMode (EDatasmithCurveInterpMode CurveInterpMode)=0
 Set the interpolation mode of the animation. More...
 
virtual EDatasmithCurveInterpMode GetCurveInterpMode () const =0
 Get the interpolation mode of the animation. More...
 
virtual const FDatasmithVisibilityFrameInfo & GetFrame (int32 Index) const =0
 Return the frame of the animation at the given index or an invalid frame if the index was out of bounds. More...
 
virtual void RemoveFrame (int32 Index)=0
 Remove the frame at the given index from the animation. 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

IDatasmithVisibilityAnimationElement holds the frames for an actor's visibility animation.

Member Function Documentation

◆ AddFrame()

virtual void IDatasmithVisibilityAnimationElement::AddFrame ( const FDatasmithVisibilityFrameInfo &  FrameInfo)
pure virtual

Add a frame to the animation.

Implemented in FDatasmithVisibilityAnimationElementImpl.

◆ GetCurveInterpMode()

virtual EDatasmithCurveInterpMode IDatasmithVisibilityAnimationElement::GetCurveInterpMode ( ) const
pure virtual

Get the interpolation mode of the animation.

Implemented in FDatasmithVisibilityAnimationElementImpl.

◆ GetFrame()

virtual const FDatasmithVisibilityFrameInfo& IDatasmithVisibilityAnimationElement::GetFrame ( int32  Index) const
pure virtual

Return the frame of the animation at the given index or an invalid frame if the index was out of bounds.

Implemented in FDatasmithVisibilityAnimationElementImpl.

◆ GetFramesCount()

virtual int32 IDatasmithVisibilityAnimationElement::GetFramesCount ( ) const
pure virtual

Return the number of frames of the animation.

Implemented in FDatasmithVisibilityAnimationElementImpl.

◆ RemoveFrame()

virtual void IDatasmithVisibilityAnimationElement::RemoveFrame ( int32  Index)
pure virtual

Remove the frame at the given index from the animation.

Implemented in FDatasmithVisibilityAnimationElementImpl.

◆ SetCurveInterpMode()

virtual void IDatasmithVisibilityAnimationElement::SetCurveInterpMode ( EDatasmithCurveInterpMode  CurveInterpMode)
pure virtual

Set the interpolation mode of the animation.

Implemented in FDatasmithVisibilityAnimationElementImpl.


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