Skip to content

anim-format (runtime format) / AnimBone

Interface: AnimBone ​

a bone: the editor's Bone (rest pose, length, inherit, limit) + its name

Extends ​

  • BoneLike

Properties ​

PropertyTypeDescriptionInherited from
idstring-BoneLike.id
inherit?object-BoneLike.inherit
inherit.rotation?false--
inherit.scale?false--
lengthnumber-BoneLike.length
limit?readonly [number, number]smallest / largest own rotation, degreesBoneLike.limit
nstringits name (unique in the rig): clip.bones.get(name)-
parent?string-BoneLike.parent
restBonePoseLike-BoneLike.rest

HereSplash — 2D animation for the web