UAnimCurveCompressionCodec

Base class for all curve compression codecs.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

Engine

Header

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

Include

#include "Animation/AnimCurveCompressionCodec.h"

Syntax

class UAnimCurveCompressionCodec : public UObject

Remarks

Base class for all curve compression codecs.

Variables

Name Description

Public variable

FGuid

 

InstanceGuid

A GUID that is unique to this codec instance. After creation, it never changes.

Constructors

Name Description

Public function

UAnimCurveCompressionCodec

(
    const FObjectInitializer& ObjectIn...
)

Functions

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

UAnimCurveCo...

 

GetCodec

(
    const FString& Path
)

Allow us to convert DDC serialized path back into codec object

Public function Virtual Const

bool

 

IsCodecValid()

Returns whether or not we can use this codec to compress.

Public function Virtual

void

 

PopulateDDCKey

(
    FArchive& Ar
)

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

Overridden from UObject

Name Description

Public function Virtual

void

 

PostDuplicate

(
    bool bDuplicateForPIE
)

Called after duplication & serialization and before PostLoad.

Public function Virtual

void

 

PostInitProperties()

Called after the C++ constructor and after the properties have been initialized, including those loaded from config.

Public function Virtual

void

 

Serialize

(
    FArchive& Ar
)

Handles reading, writing, and reference collecting using FArchive.