UAnimCompress_PerTrackCompression::DoReduction

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

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

UAnimCompress::DoReduction()

UAnimCompress_RemoveLinearKeys::DoReduction()

UAnimCompress_PerTrackCompression::DoReduction()

References

Module

Engine

Header

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

Include

#include "Animation/AnimCompress_PerTrackCompression.h"

Source

/Engine/Source/Runtime/Engine/Private/Animation/AnimCompress_PerTrackCompression.cpp

Syntax

virtual bool DoReduction
(
    const FCompressibleAnimData & CompressibleAnimData,
    FCompressibleAnimDataResult & OutResult
)

Remarks

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

Returns

true if the keyframe reduction was successful.