UAnimCompress::FilterIntermittentPositionKeys

Common compression utility to retain only intermittent position 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 FilterIntermittentPositionKeys
(
    TArray< struct FTranslationTrack > & PositionTracks,
    int32 StartIndex,
    int32 Interval
)

Remarks

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

Parameters

Parameter

Description

PositionTracks

Array of position 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