UAnimCompress_RemoveLinearKeys::ProcessAnimationTracks

Locates spans of keys within the position and rotation tracks provided which can be estimated through linear interpolation of the surrounding keys.

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "Animation/AnimCompress_RemoveLinearKeys.h"

Source

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

Syntax

void ProcessAnimationTracks
(
    const FCompressibleAnimData & CompressibleAnimData,
    FCompressibleAnimDataResult & OutCompressedData,
    TArray< FTranslationTrack > & PositionTracks,
    TArray< FRotationTrack > & RotationTracks,
    TArray< FScaleTrack > & ScaleTracks
)

Remarks

Locates spans of keys within the position and rotation tracks provided which can be estimated through linear interpolation of the surrounding keys. The remaining key values are bit packed into the animation sequence provided

Returns

None.

Parameters

Parameter

Description

AnimSeq

The animation sequence being compressed

BoneData

BoneData array describing the hierarchy of the animated skeleton

PositionTracks

Translation Tracks to compress and bit-pack into the Animation Sequence.

RotationTracks

Rotation Tracks to compress and bit-pack into the Animation Sequence.

ScaleTracks

Scale Tracks to compress and bit-pack into the Animation Sequence.

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