Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Animation > UAnimCompress > FilterIntermittentPositionKeys
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 |
static void FilterIntermittentPositionKeys
&40;
TArray< struct FTranslationTrack > & PositionTracks,
int32 StartIndex,
int32 Interval
&41;
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
Name | Description |
---|---|
PositionTracks | Array of position track elements to reduce |
StartIndex | Index at which to begin reduction |
Interval | Interval of keys to retain |