UAnimCompress_RemoveTrivialKeys

Removes trivial frames frames of tracks when position or orientation is constant over the entire animation from the raw animation data.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Engine

Header

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

Include

#include "Animation/AnimCompress_RemoveTrivialKeys.h"

Syntax

class UAnimCompress_RemoveTrivialKeys : public UAnimCompress

Remarks

Removes trivial frames frames of tracks when position or orientation is constant over the entire animation from the raw animation data. If both position and rotation go down to a single frame, the time is stripped out as well.

Variables

Name Description

Public variable

float

 

MaxAngleDiff

Public variable

float

 

MaxPosDiff

Public variable

float

 

MaxScaleDiff

Constructors

Name Description

Public function

UAnimCompress_RemoveTrivialKeys

(
    const FObjectInitializer& ObjectIn...
)

Overridden from UAnimCompress

Name Description

Protected function Virtual

bool

 

DoReduction

(
    const FCompressibleAnimData& Compr...,
    FCompressibleAnimDataResult& OutRe...
)

Implemented by child classes, this function reduces the number of keyframes in the specified sequence, given the specified skeleton (if needed).

Overridden from UAnimBoneCompressionCodec

Name Description

Protected 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