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

Public Member Functions

 FDatasmithTransformAnimationElementImpl (const TCHAR *InName)
 
virtual void AddFrame (EDatasmithTransformType TransformType, const FDatasmithTransformFrameInfo &FrameInfo) override
 Add a frame of the given transform type to the animation. More...
 
virtual int32 GetFramesCount (EDatasmithTransformType TransformType) const override
 Return the number of frames of the given transform type in the animation. More...
 
virtual void SetCurveInterpMode (EDatasmithTransformType TransformType, EDatasmithCurveInterpMode CurveInterpMode) override
 Set the interpolation mode of the given transform type in the animation. More...
 
virtual EDatasmithCurveInterpMode GetCurveInterpMode (EDatasmithTransformType TransformType) const override
 Get the interpolation mode of the given transform type in the animation. More...
 
virtual const FDatasmithTransformFrameInfo & GetFrame (EDatasmithTransformType TransformType, int32 Index) const override
 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) override
 Remove the frame of the given transform type at the given index from the animation. More...
 
virtual EDatasmithTransformChannels GetEnabledTransformChannels () const override
 Gets which channels of this animation will be moved to the animation assets or serialized. More...
 
virtual void SetEnabledTransformChannels (EDatasmithTransformChannels Channels) override
 Sets which channels of this animation will be moved to the animation assets or serialized. More...
 
- Public Member Functions inherited from FDatasmithBaseAnimationElementImpl< IDatasmithTransformAnimationElement >
 FDatasmithBaseAnimationElementImpl (const TCHAR *InName, EDatasmithElementType ChildType, EDatasmithElementAnimationSubType InSubtype=EDatasmithElementAnimationSubType::BaseAnimation)
 
virtual void SetCompletionMode (EDatasmithCompletionMode InCompletionMode) override
 
virtual EDatasmithCompletionMode GetCompletionMode () const override
 
- Public Member Functions inherited from FDatasmithElementImpl< IDatasmithTransformAnimationElement >
 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< IDatasmithTransformAnimationElement >
FString Name
 
FString Label
 
FMD5Hash ElementHash
 
EDatasmithElementType Type
 
uint64 SubType
 

Member Function Documentation

◆ AddFrame()

virtual void FDatasmithTransformAnimationElementImpl::AddFrame ( EDatasmithTransformType  TransformType,
const FDatasmithTransformFrameInfo &  FrameInfo 
)
inlineoverridevirtual

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

Implements IDatasmithTransformAnimationElement.

◆ GetCurveInterpMode()

virtual EDatasmithCurveInterpMode FDatasmithTransformAnimationElementImpl::GetCurveInterpMode ( EDatasmithTransformType  TransformType) const
inlineoverridevirtual

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

Implements IDatasmithTransformAnimationElement.

◆ GetEnabledTransformChannels()

virtual EDatasmithTransformChannels FDatasmithTransformAnimationElementImpl::GetEnabledTransformChannels ( ) const
inlineoverridevirtual

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

All channels are enabled by default

Implements IDatasmithTransformAnimationElement.

◆ GetFrame()

virtual const FDatasmithTransformFrameInfo& FDatasmithTransformAnimationElementImpl::GetFrame ( EDatasmithTransformType  TransformType,
int32  Index 
) const
inlineoverridevirtual

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

Implements IDatasmithTransformAnimationElement.

◆ GetFramesCount()

virtual int32 FDatasmithTransformAnimationElementImpl::GetFramesCount ( EDatasmithTransformType  TransformType) const
inlineoverridevirtual

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

Implements IDatasmithTransformAnimationElement.

◆ RemoveFrame()

virtual void FDatasmithTransformAnimationElementImpl::RemoveFrame ( EDatasmithTransformType  TransformType,
int32  Index 
)
inlineoverridevirtual

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

Implements IDatasmithTransformAnimationElement.

◆ SetCurveInterpMode()

virtual void FDatasmithTransformAnimationElementImpl::SetCurveInterpMode ( EDatasmithTransformType  TransformType,
EDatasmithCurveInterpMode  CurveInterpMode 
)
inlineoverridevirtual

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

Implements IDatasmithTransformAnimationElement.

◆ SetEnabledTransformChannels()

virtual void FDatasmithTransformAnimationElementImpl::SetEnabledTransformChannels ( EDatasmithTransformChannels  Channels)
inlineoverridevirtual

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

All channels are enabled by default

Implements IDatasmithTransformAnimationElement.


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