Expand description
Measurements: the raw per-clip metric map that measure emits and
lint judges. Kept separate from findings so pipelines (e.g. a
bake’s measured sidecar) can pin their own contracts to the numbers.
Structs§
- Aabb
- Axis-aligned bounding box of a mesh’s positions, in scene units (metres, Y-up — the converted space every loader hands over).
- Clip
Measurements - Measurements for one clip in the
measureoutput map. - Gait
Measurement - Role-dependent gait metrics for one clip.
- Mesh
Measurements - Static (animation-independent) measurements of one mesh carried in
SceneAssets. Emitted bymeasurewhen the input carried geometry (both the FBX and glTF loaders fillSceneAssets). Vertex data is read as authored — indexed meshes count their unique vertices, unindexed meshes count every triangle corner.
Constants§
- MIN_
RECORDED_ ROTATION_ DEG - Rotation ranges below this are not recorded (matches the incubating pipeline’s convention).
Functions§
- measure_
document - Measure every clip using shared metric pose grids. Role-dependent
metrics (loop seam, gait, root-motion speed) are present only where
the roles resolve; pass an empty
ResolvedRolesto skip them. - measure_
meshes - Measure every mesh in the document’s
SceneAssets, in document order. Returns an empty vector when no geometry was loaded (the lint/inspect path and asset-less files), so callers that don’t carry assets emit nothing extra. Hostile geometry never crashes or leaks a non-finite bound: non-finite positions and weight sums are dropped from the AABB / weight-sum stats (and still flow to thenancheck), so the emitted numbers are always finite.