Skip to main content

Module blend_space

Module blend_space 

Source
Expand description

Zero-Heap 1D & 2D Delaunay Animation Blend Spaces (re-exported from etalon-render).

Structs§

BlendPoint1D
A single sample point inside a BlendSpace1D.
BlendPoint2D
A 2D parameter sample point inside a BlendSpace2D.
BlendSample2D
Result of sampling a BlendSpace2D at a 2D parameter coordinate.
BlendSpace1D
Fixed-capacity 1D animation blend space (MAX_POINTS default 8).
BlendSpace2D
Fixed-capacity 2D Delaunay animation blend space (MAX_POINTS = 16, MAX_TRIS = 32).
BlendTriangle
A Delaunay triangle indexing 3 points in BlendSpace2D::points.

Functions§

sample_blend_space_1d_zero_heap
Evaluates a BlendSpace1D at param and blends the corresponding clip Motor poses into out_pose using Motor::sclerp (HotZeroHeap).
sample_blend_space_2d_zero_heap
Samples a BlendSpace2D at query and blends the 3 enclosing triangle clip poses per joint using barycentric Motor::sclerp with zero heap allocation (HotZeroHeap).