Skip to content

@modoki/engine / index / Rig2DBone

Interface: Rig2DBone

One bind-pose bone: a name plus its local TRS (relative to its parent bone; the root bone's parent is -1, so its local is relative to the rig origin). noScale opts the bone out of inheriting its parent's SCALE at pose time (Spine's noScale transform mode) — rotation + translation still inherit.

Extends

Skinning

name

name: string


noScale?

optional noScale?: boolean


parent

parent: number

Inherited from

BindBone.parent


rot

rot: number

Inherited from

BindBone.rot


x

x: number

Inherited from

BindBone.x


y

y: number

Inherited from

BindBone.y

Built with Modoki.