UAnimCurveCompressionCodec_CompressedRichCurve

Stores the raw rich curves as [FCompressedRichCurve](API\Runtime\Engine\Curves\FCompressedRichCurve) internally with optional key reduction and key time quantization.

Windows
MacOS
Linux

Inheritance Hierarchy

UObjectBase

UObjectBaseUtility

UObject

UAnimCurveCompressionCodec

UAnimCurveCompressionCodec_CompressedRichCurve

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Animation/AnimCurveCompressionCodec_CompressedRichCurve.h

Include

#include "Animation/AnimCurveCompressionCodec_CompressedRichCurve.h"

Syntax

class UAnimCurveCompressionCodec_CompressedRichCurve : public UAnimCurveCompressionCodec

Remarks

Stores the raw rich curves as FCompressedRichCurve internally with optional key reduction and key time quantization.

Variables

Name Description

Public variable

float

 

ErrorSampleRate

Sample rate to use when measuring the curve error

Public variable

float

 

MaxCurveError

Max error allowed when compressing the rich curves

Public variable

bool

 

UseAnimSequenceSampleRate

Whether to use the animation sequence sample rate or an explicit value

Constructors

Name Description

Public function

UAnimCurveCompressionCodec_CompressedRichCurve

(
    const FObjectInitializer& ObjectIn...
)

Overridden from UAnimCurveCompressionCodec

Name Description

Public function Virtual

bool

 

Compress

(
    const FCompressibleAnimData& AnimS...,
    FAnimCurveCompressionResult& OutRe...
)

Compresses the curve data from an animation sequence.

Public function Virtual Const

float

 

DecompressCurve

(
    const FCompressedAnimSequence& Ani...,
    SmartName::UID_Type CurveUID,
    float CurrentTime
)

Decompress a single curve.

Public function Virtual Const

void

 

DecompressCurves

(
    const FCompressedAnimSequence& Ani...,
    FBlendedCurve& Curves,
    float CurrentTime
)

Decompresses all the active blended curves.

Public function Virtual

void

 

PopulateDDCKey

(
    FArchive& Ar
)

Called to generate a unique DDC key for this codec instance.

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