UAnimCompress::FilterIntermittentRotationKeys

Common compression utility to retain only intermittent rotation keys.

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "Animation/AnimCompress.h"

Source

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

Syntax

static void FilterIntermittentRotationKeys
(
    TArray< struct FRotationTrack > & RotationTracks,
    int32 StartIndex,
    int32 Interval
)

Remarks

Common compression utility to retain only intermittent rotation keys. For example, calling with an Interval of 3 would keep every third key in the set and discard the rest

Parameters

Parameter

Description

RotationTracks

Array of rotation track elements to reduce

StartIndex

Index at which to begin reduction

Interval

Interval of keys to retain

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss