Plush

AnimationPoseSampler#

PlushEngine · Type index

Namespace: PlushEngine.Animation (using PlushEngine.Animation;)

Independent CPU pose sampler for tooling and feature extraction. No skinning, scene mutation or per-sample allocation. Own one per worker; returned storage is borrowed until the next Sample.

public sealed class AnimationPoseSampler

Members: Sample

Sample#

public ReadOnlySpan<Matrix4x4> Sample(string clip, float seconds);

Global node transforms in the GLB's source coordinate system, including ancestor TRS. Time is normalized to clip start and clamped to its endpoint, never wrapped. These are node transforms, not inverse-bind skin matrices; the renderer's mesh-centering offset is not applied.

Source#