@relu-interactives/spatial-ecs
@relu-interactives/spatial-ecs / index / ModelBoneInfo
Type Alias: ModelBoneInfo ​
ts
type ModelBoneInfo = {
name: string;
humanoid: HumanoidBone | null;
parent: string | null;
depth: number;
};Defined in: animation/bones.ts:6
A bone of a loaded model, for bone pickers and attachment.
Properties ​
| Property | Type | Description | Defined in |
|---|---|---|---|
name | string | Node name as three.js has it (glTF names are sanitized: mixamorig:Hips → mixamorigHips). | animation/bones.ts:8 |
humanoid | HumanoidBone | null | Humanoid name when the rig is a recognisable humanoid, else null. | animation/bones.ts:10 |
parent | string | null | Parent bone's name, or null for a root bone. | animation/bones.ts:12 |
depth | number | Depth below the topmost bone (for indenting a tree). | animation/bones.ts:14 |

