@modoki/engine / index / SuggestBonesOptions
Interface: SuggestBonesOptions
Skinning
axis?
optionalaxis?:"auto"|"x"|"y"
Force the chain axis; 'auto' (default) picks the longer sprite dimension.
count?
optionalcount?:number
Number of joints (>=2). Omit to derive from the axis length (~1 per 96px, 2..6).
height
height:
number
isInside?
optionalisInside?: (u,v) =>boolean
Optional UV-space (0..1) coverage predicate — bones span the covered extent along the axis instead of the whole rect.
Parameters
u
number
v
number
Returns
boolean
pivotX?
optionalpivotX?:number
pivotY?
optionalpivotY?:number
width
width:
number