Appearance
hm5-types (source format) / Bone
Interface: Bone
Properties
| Property | Type | Description |
|---|---|---|
color? | string | how the editor draws it, "rrggbb"; absent = the default |
id | string | - |
inherit? | object | absent = it turns / scales with its parent; false = it keeps its own angle / size whatever the parent does |
inherit.rotation? | false | - |
inherit.scale? | false | - |
length | number | from its origin to its tip along its own x axis (layer units, ≥ 0). Only how it is drawn and where "the tip" is: scaling a bone is scaleX. A keyed length change moves the child bones with the tip. |
limit? | [number, number] | the smallest / largest own rotation it can be posed to, degrees (keys and IK stop there); absent = free |
name | string | unique in its bone layer (scripts, binds, curve names) |
parent? | string | the bone it hangs off (same layer); absent = a root. Parents come BEFORE their children in BoneRig.bones. |
rest | BonePose | the REST pose ("原位"): what the bone is when nothing is keyed — Ctrl + drag with the Bone tool. Keys are offsets from it, and what follows the bone (a layer's parentBone, later a mesh's weights) is measured against it. |