IDatasmithTransformAnimationElement

[IDatasmithTransformAnimationElement](API\Runtime\DatasmithCore\IDatasmithTransformAnimationElem-) holds the frames for an actor transform animation

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

DatasmithCore

Header

/Engine/Source/Runtime/Datasmith/DatasmithCore/Public/DatasmithAnimationElements.h

Include

#include "DatasmithAnimationElements.h"

Syntax

class IDatasmithTransformAnimationElement : public IDatasmithBaseAnimationElement

Remarks

IDatasmithTransformAnimationElement holds the frames for an actor transform animation

Destructors

Functions

Name Description

Public function

void

 

AddFrame

(
    EDatasmithTransformType TransformTy...,
    const FDatasmithTransformFrameInfo ...
)

Add a frame of the given transform type to the animation

Public function Const

EDatasmithCu...

 

GetCurveInterpMode

(
    EDatasmithTransformType TransformTy...
)

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

Public function Const

EDatasmithTr...

 

GetEnabledTransformChannels()

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

Public function Const

const FDatas...

 

GetFrame

(
    EDatasmithTransformType TransformTy...,
    int32 Index
)

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

Public function Const

int32

 

GetFramesCount

(
    EDatasmithTransformType TransformTy...
)

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

Public function

void

 

RemoveFrame

(
    EDatasmithTransformType TransformTy...,
    int32 Index
)

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

Public function

void

 

SetCurveInterpMode

(
    EDatasmithTransformType TransformTy...,
    EDatasmithCurveInterpMode CurveInte...
)

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

Public function

void

 

SetEnabledTransformChannels

(
    EDatasmithTransformChannels Channel...
)

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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss