Skip to main content

Module clip_state_machine

Module clip_state_machine 

Expand description

Zero-Heap Clip State Machine, Layer Blending & Sim Blend Space (clip_state_machine.rs).

Structs§

AnimationStateMachine
Zero-heap animation state machine controller.
BoneMask64
64-bit bone mask (1 bit per bone in ZeroHeapSkeleton).
SimAnimationSignal
Fixed-capacity animation signal event and ring buffer.
SimBlendPoint2D
2D blend space sample point for Transform3D poses.
SimBlendSpace2D
Zero-heap 2D triangle blend space for Transform3D skeletal poses.
SimRootMotionDelta
Root motion displacement extracted from bone 0.
SimRootMotionExtractor
Loop-safe root motion extractor for Transform3D skeletons.
SimSignalQueue

Enums§

LayerBlendOp
Multi-layer skeletal blend mode.
TransitionMode
Animation state machine transition blend mode.

Functions§

blend_skeleton_layer_zero_heap
Blends layer_pose into base_pose using mask, op, and weight in [0.0, 1.0] (HotZeroHeap).
sample_pose_2d_zero_heap
Samples a SimBlendSpace2D at query and blends the 3 enclosing clip Transform3D poses (HotZeroHeap).