Logo Mibo

BonePose Module

Pose query functions for BonePose.

Functions and values

Function or value Description

tryGetWorld name mesh pose

Full Usage: tryGetWorld name mesh pose

Parameters:
Returns: Matrix4x4 voption

Get the model-space world transform of a bone by name. Returns ValueNone when the mesh has no bone with that name.

name : string
mesh : AnimatedMesh
pose : BonePose
Returns: Matrix4x4 voption

worldAt index pose

Full Usage: worldAt index pose

Parameters:
Returns: Matrix4x4 voption
Modifiers: inline

Get the model-space world transform of a bone by index. Bounds-checked — returns ValueNone for out-of-range indices.

index : int
pose : BonePose
Returns: Matrix4x4 voption

Type something to start searching.