FRawCurveTracks

Raw Curve data for serialization

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "Animation/AnimCurveTypes.h"

Syntax

struct FRawCurveTracks

Remarks

Raw Curve data for serialization

Variables

Name Description

Public variable

TArray < FFloatC ...

 

FloatCurves

Public variable

TArray < FTransf ...

 

TransformCurves

: TransformCurves are used to edit additive animation in editor.

Public variable

TArray < FVector ...

 

VectorCurves

: Currently VectorCurves are not evaluated or used for anything else but transient data for modifying bone track Note that it doesn't have UPROPERTY tag yet.

Functions

Name Description

Public function

bool

 

AddCurveData

(
    const FSmartName & NewCurve,
    int32 CurveFlags,
    ERawCurveTrackTypes SupportedCurveT...
)

Add new curve from the provided UID and return true if success bVectorInterpCurve == true, then it will create FVectorCuve, otherwise, FFloatCurve

Public function

void

 

AddFloatCurveKey

(
    const FSmartName & NewCurve,
    int32 CurveFlags,
    float Time,
    float Value
)

Add new float curve from the given UID if not existing and add the key with time/value

Public function

void

 

DeleteAllCurveData

(
    ERawCurveTrackTypes SupportedCurveT...
)

Delete all curve data

Public function

bool

 

DeleteCurveData

(
    const FSmartName & CurveToDelete,
    ERawCurveTrackTypes SupportedCurveT...
)

Delete curve data

Public function

bool

 

DuplicateCurveData

(
    const FSmartName & CurveToCopy,
    const FSmartName & NewCurve,
    ERawCurveTrackTypes SupportedCurveT...
)

Duplicate curve data

Public function

void

 

Empty()

Clear all keys

Public function Const

void

 

EvaluateCurveData

(
    FBlendedCurve & Curves,
    float CurrentTime
)

Evaluate curve data at the time CurrentTime, and add to Instance.

Public function Const

void

 

EvaluateTransformCurveData

(
    USkeleton * Skeleton,
    TMap < FName , FTransform >& OutCurv...,
    float CurrentTime,
    float BlendWeight
)

Evaluate transform curves

Public function

FAnimCurveBa ...

 

GetCurveData

(
    USkeleton::AnimCurveUID Uid,
    ERawCurveTrackTypes SupportedCurveT...
)

Find curve data based on the curve UID

Public function Const

const FAnimC ...

 

GetCurveData

(
    USkeleton::AnimCurveUID Uid,
    ERawCurveTrackTypes SupportedCurveT...
)

Find curve data based on the curve UID

Public function

void

 

PostSerialize

(
    FArchive & Ar
)

Serialize

Public function

void

 

RefreshName

(
    const FSmartNameMapping * NameM...,
    ERawCurveTrackTypes SupportedCurveT...
)

Updates the DisplayName field of the curves from the provided name container

Public function

void

 

RemoveRedundantKeys()

Public function

void

 

Resize

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

Resize curve length.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback