struct
FAnimCompressionSettings
- Module
- Animation
- Header
#include "Animation/AnimationCompression.h"- Namespace
Mowo
Properties
| Type | Name | Description |
|---|---|---|
float | translationTolerance | Tolerances 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. |
float | rotationTolerance | Default 0.0005f. |
float | scaleTolerance | Default 0.0005f. |
bool | collapseConstantTracks | A 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> | boneOverrides | Per-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
| Returns | Name | Description |
|---|---|---|
bool | BoneMatches | |
void | TolerancesFor | The 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) constThe three tolerances one bone compresses at.
Generated from Animation/AnimationCompression.h via animation.json · Oct 26, 2026Version 1.0.0