AnimatedModel Module
Creation, pose evaluation, and bone queries for AnimatedModel.
Functions and values
| Function or value |
Description
|
|
Evaluate the model's current pose once. Share the result between the skinned draw and any number of bone queries / attachment draws this frame.
|
Full Usage:
computePoseInto am existing
Parameters:
AnimatedModel
existing : BonePose
Returns: BonePose
Modifiers: inline |
Compute the bone pose into caller-owned arrays (zero per-frame allocation
after the first call). Pass the previous frame's
|
Full Usage:
create mesh state
Parameters:
AnimatedMesh
state : Animation3DState
Returns: AnimatedModel
Modifiers: inline |
Create an animated model from shared mesh data and a playback state.
|
Full Usage:
tryGetBoneWorld bone am
Parameters:
BoneRef
am : AnimatedModel
Returns: Matrix4x4 voption
Modifiers: inline |
Get the model-space world transform of a bone in the current frame.
Returns
Recomputes the pose on every call — for multiple queries in one frame,
call
|
Mibo