UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
IDatasmithTransformAnimationElement Class Referenceabstract

#include <DatasmithAnimationElements.h>

+ Inheritance diagram for IDatasmithTransformAnimationElement:

Public Member Functions

virtual ~IDatasmithTransformAnimationElement ()
 
virtual void AddFrame (EDatasmithTransformType TransformType, const FDatasmithTransformFrameInfo &FrameInfo)=0
 
virtual int32 GetFramesCount (EDatasmithTransformType TransformType) const =0
 
virtual void SetCurveInterpMode (EDatasmithTransformType TransformType, EDatasmithCurveInterpMode CurveInterpMode)=0
 
virtual EDatasmithCurveInterpMode GetCurveInterpMode (EDatasmithTransformType TransformType) const =0
 
virtual const FDatasmithTransformFrameInfoGetFrame (EDatasmithTransformType TransformType, int32 Index) const =0
 
virtual void RemoveFrame (EDatasmithTransformType TransformType, int32 Index)=0
 
virtual EDatasmithTransformChannels GetEnabledTransformChannels () const =0
 
virtual void SetEnabledTransformChannels (EDatasmithTransformChannels Channels)=0
 
- Public Member Functions inherited from IDatasmithBaseAnimationElement
virtual bool IsSubType (const EDatasmithElementAnimationSubType AnimSubType) const =0
 
virtual void SetCompletionMode (EDatasmithCompletionMode CompletionMode)=0
 
virtual EDatasmithCompletionMode GetCompletionMode () const =0
 
- Public Member Functions inherited from IDatasmithElement
virtual bool IsA (EDatasmithElementType Type) const =0
 
virtual const TCHARGetName () const =0
 
virtual void SetName (const TCHAR *InName)=0
 
virtual const TCHARGetLabel () const =0
 
virtual void SetLabel (const TCHAR *InLabel)=0
 
virtual FMD5Hash CalculateElementHash (bool bForce)=0
 

Detailed Description

IDatasmithTransformAnimationElement holds the frames for an actor transform animation

Constructor & Destructor Documentation

◆ ~IDatasmithTransformAnimationElement()

virtual IDatasmithTransformAnimationElement::~IDatasmithTransformAnimationElement ( )
inlinevirtual

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

◆ GetCurveInterpMode()

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

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

◆ 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

◆ 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

◆ GetFramesCount()

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

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

◆ 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

◆ SetCurveInterpMode()

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

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

◆ 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


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