UAnimSequence::CompressRawAnimData

Removes trivial frames frames of tracks when position or orientation is constant over the entire animation from the raw animation data.

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "Animation/AnimSequence.h"

Source

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

Syntax

bool CompressRawAnimData
(
    float MaxPosDiff,
    float MaxAngleDiff
)

Remarks

Removes trivial frames frames of tracks when position or orientation is constant over the entire animation from the raw animation data. If both position and rotation go down to a single frame, the time is stripped out as well.

Returns

true if keys were removed.

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