IDatasmithTransformAnimationElement Class Referenceabstract

IDatasmithTransformAnimationElement holds the frames for an actor transform animation. More...

#include <DatasmithAnimationElements.h>

Inheritance diagram for IDatasmithTransformAnimationElement:
IDatasmithBaseAnimationElement IDatasmithElement FDatasmithElementImpl< IDatasmithTransformAnimationElement > FDatasmithBaseAnimationElementImpl< IDatasmithTransformAnimationElement > FDatasmithTransformAnimationElementImpl

Public Member Functions

virtual void AddFrame (EDatasmithTransformType TransformType, const FDatasmithTransformFrameInfo &FrameInfo)=0
 Add a frame of the given transform type to the animation. More...
 
virtual int32 GetFramesCount (EDatasmithTransformType TransformType) const =0
 Return the number of frames of the given transform type in the animation. More...
 
virtual void SetCurveInterpMode (EDatasmithTransformType TransformType, EDatasmithCurveInterpMode CurveInterpMode)=0
 Set the interpolation mode of the given transform type in the animation. More...
 
virtual EDatasmithCurveInterpMode GetCurveInterpMode (EDatasmithTransformType TransformType) const =0
 Get the interpolation mode of the given transform type in the animation. More...
 
virtual const FDatasmithTransformFrameInfo & GetFrame (EDatasmithTransformType TransformType, int32 Index) const =0
 Return the frame of the given transform type at the given index or an invalid frame if the index was out of bounds. More...
 
virtual void RemoveFrame (EDatasmithTransformType TransformType, int32 Index)=0
 Remove the frame of the given transform type at the given index from the animation. More...
 
virtual EDatasmithTransformChannels GetEnabledTransformChannels () const =0
 Gets which channels of this animation will be moved to the animation assets or serialized. More...
 
virtual void SetEnabledTransformChannels (EDatasmithTransformChannels Channels)=0
 Sets which channels of this animation will be moved to the animation assets or serialized. 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

IDatasmithTransformAnimationElement holds the frames for an actor transform animation.

Member Function Documentation

◆ AddFrame()

virtual void IDatasmithTransformAnimationElement::AddFrame ( EDatasmithTransformType  TransformType,
const FDatasmithTransformFrameInfo &  FrameInfo 
)
pure virtual

Add a frame of the given transform type to the animation.

Implemented in FDatasmithTransformAnimationElementImpl.

◆ GetCurveInterpMode()

virtual EDatasmithCurveInterpMode IDatasmithTransformAnimationElement::GetCurveInterpMode ( EDatasmithTransformType  TransformType) const
pure virtual

Get the interpolation mode of the given transform type in the animation.

Implemented in FDatasmithTransformAnimationElementImpl.

◆ GetEnabledTransformChannels()

virtual EDatasmithTransformChannels IDatasmithTransformAnimationElement::GetEnabledTransformChannels ( ) const
pure virtual

Gets which channels of this animation will be moved to the animation assets or serialized.

All channels are enabled by default

Implemented in FDatasmithTransformAnimationElementImpl.

◆ GetFrame()

virtual const FDatasmithTransformFrameInfo& IDatasmithTransformAnimationElement::GetFrame ( EDatasmithTransformType  TransformType,
int32  Index 
) const
pure virtual

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

Implemented in FDatasmithTransformAnimationElementImpl.

◆ GetFramesCount()

virtual int32 IDatasmithTransformAnimationElement::GetFramesCount ( EDatasmithTransformType  TransformType) const
pure virtual

Return the number of frames of the given transform type in the animation.

Implemented in FDatasmithTransformAnimationElementImpl.

◆ RemoveFrame()

virtual void IDatasmithTransformAnimationElement::RemoveFrame ( EDatasmithTransformType  TransformType,
int32  Index 
)
pure virtual

Remove the frame of the given transform type at the given index from the animation.

Implemented in FDatasmithTransformAnimationElementImpl.

◆ SetCurveInterpMode()

virtual void IDatasmithTransformAnimationElement::SetCurveInterpMode ( EDatasmithTransformType  TransformType,
EDatasmithCurveInterpMode  CurveInterpMode 
)
pure virtual

Set the interpolation mode of the given transform type in the animation.

Implemented in FDatasmithTransformAnimationElementImpl.

◆ SetEnabledTransformChannels()

virtual void IDatasmithTransformAnimationElement::SetEnabledTransformChannels ( EDatasmithTransformChannels  Channels)
pure virtual

Sets which channels of this animation will be moved to the animation assets or serialized.

All channels are enabled by default

Implemented in FDatasmithTransformAnimationElementImpl.


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