struct

FAnimCompressionSettings

Module
Animation
Header
#include "Animation/AnimationCompression.h"
Namespace
Mowo

Properties

TypeNameDescription
floattranslationToleranceTolerances are the largest end-to-end error the caller will accept from the quantized form, measured against the ORIGINAL keys — not a promise about the quantizer's step size. A track that misses gets stored raw. Default 0.0005f.
floatrotationToleranceDefault 0.0005f.
floatscaleToleranceDefault 0.0005f.
boolcollapseConstantTracksA track whose every key sits within tolerance of its first key collapses to a single key. Rigs are full of these — nearly every bone has a constant scale, and most have a constant translation — and it is where most of the real saving comes from. Default true.
std::vector<FAnimBoneTolerance>boneOverridesPer-bone budgets. Fingers and the face want a tighter rotation budget than the clip (their small ranges make the quantizer's step visible), a prop bone or an end effector nobody sees can take a looser one.

Public functions

ReturnsNameDescription
boolBoneMatches
voidTolerancesForThe three tolerances one bone compresses at.

Function details

BoneMatches

C++
static bool BoneMatches(const std::string& pattern, const std::string& name)

TolerancesFor

C++
void TolerancesFor(const std::string& boneName, float& outTranslation, float& outRotation, float& outScale) const

The three tolerances one bone compresses at.

Generated from Animation/AnimationCompression.h via animation.json · Oct 26, 2026Version 1.0.0