UAnimCurveCompressionSettings

This object is used to wrap a curve compression codec.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

UObjectBase

UObjectBaseUtility

UObject

UAnimCurveCompressionSettings

References

Module

Engine

Header

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

Include

#include "Animation/AnimCurveCompressionSettings.h"

Syntax

class UAnimCurveCompressionSettings : public UObject

Remarks

This object is used to wrap a curve compression codec. It allows a clean integration in the editor by avoiding the need to create asset types and factory wrappers for every codec.

Variables

Name Description

Public variable

TObjectPtr< UAn...

 

Codec

An animation curve compression codec.

Constructors

Name Description

Public function

UAnimCurveCompressionSettings

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function Const

bool

 

AreSettingsValid()

Returns whether or not we can use these settings to compress.

Public function Const

bool

 

Compress

(
    const FCompressibleAnimData& AnimS...,
    FCompressedAnimSequence& OutCompre...
)

Compresses the animation curves inside the supplied sequence data.

Public function

UAnimCurveCo...

 

GetCodec

(
    const FString& Path
)

Allow us to convert DDC serialized path back into codec object

Public function

void

 

PopulateDDCKey

(
    FArchive& Ar
)

Generates a DDC key that takes into account the current settings and selected codec.

Overridden from UObject

Name Description

Public function Virtual

void

 

GetPreloadDependencies

(
    TArray< UObject* >& OutDeps
)

Called during cooking.