English
Appearance
@modoki/engine / index / buildRig2D
buildRig2D(opts): Rig2DFile
opts
Rig2DFile
Build a rig: auto-tessellate the sprite → grid mesh, then auto-weight each vertex to the bones. Returns a Rig2DFile ready to JSON.stringify / feed to setRig2D / normalizeRig2D.
JSON.stringify
setRig2D
normalizeRig2D
BuildRig2DOptions