UAnimCompress_RemoveEverySecondKey

Keyframe reduction algorithm that simply removes every second key.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Engine

Header

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

Include

#include "Animation/AnimCompress_RemoveEverySecondKey.h"

Syntax

class UAnimCompress_RemoveEverySecondKey : public UAnimCompress

Remarks

Keyframe reduction algorithm that simply removes every second key.

Variables

Name Description

Public variable

uint32: 1

 

bStartAtSecondKey

If bStartAtSecondKey is true, remove keys 1,3,5,etc.

Public variable

int32

 

MinKeys

Animations with fewer than MinKeys will not lose any keys.

Constructors

Name Description

Public function

UAnimCompress_RemoveEverySecondKey

(
    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