FTransformCurve

Windows
MacOS
Linux

Inheritance Hierarchy

FAnimCurveBase

FTransformCurve

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/Animation/AnimCurveTypes.h

Include

#include "Animation/AnimCurveTypes.h"

Syntax

struct FTransformCurve : public FAnimCurveBase

Variables

Name Description

Public variable

FVectorCurve

 

RotationCurve

Rotation curve - right now we use euler because quat also doesn't provide linear interpolation - curve editor can't handle quat interpolation If you hit gimbal lock, you should add extra key to fix it.

Public variable

FVectorCurve

 

ScaleCurve

Public variable

FVectorCurve

 

TranslationCurve

Curve data for each transform.

Constructors

Name Description

Public function

FTransformCurve()

Public function

FTransformCurve

(
    FSmartName InName,
    int32 InCurveTypeFlags
)

Functions

Name Description

Public function

void

 

CopyCurve

(
    FTransformCurve& SourceCurve
)

We don't want to have = operator. This only copies curves, but leaving naming and everything else intact.

Public function Const

FTransform

 

Evaluate

(
    float CurrentTime,
    float BlendWeight
)

Public function

void

 

GetKeys

(
    TArray< float >& OutTimes,
    TArray< FTransform >& OutValues
)

Public function

void

 

Resize

(
    float NewLength,
    bool bInsert,
    float OldStartTime,
    float OldEndTime
)

Public function

void

 

UpdateOrAddKey

(
    const FTransform& NewKey,
    float CurrentTime
)

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