IDatasmithTransformAnimationElement holds the frames for an actor transform animation. More...
#include <DatasmithAnimationElements.h>
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... | |
IDatasmithTransformAnimationElement holds the frames for an actor transform animation.
|
pure virtual |
Add a frame of the given transform type to the animation.
Implemented in FDatasmithTransformAnimationElementImpl.
|
pure virtual |
Get the interpolation mode of the given transform type in the animation.
Implemented in FDatasmithTransformAnimationElementImpl.
|
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.
|
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.
|
pure virtual |
Return the number of frames of the given transform type in the animation.
Implemented in FDatasmithTransformAnimationElementImpl.
|
pure virtual |
Remove the frame of the given transform type at the given index from the animation.
Implemented in FDatasmithTransformAnimationElementImpl.
|
pure virtual |
Set the interpolation mode of the given transform type in the animation.
Implemented in FDatasmithTransformAnimationElementImpl.
|
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.