Skip to content

@modoki/engine / index / Skin2DBuffer

Interface: Skin2DBuffer

Skinning

bindMaxY

bindMaxY: number


bindMinY

bindMinY: number

Bind-pose vertical extent across all parts, in the rig's texture space (y-down: min = topmost, max = bottommost/feet). Measured ONCE at build from the bind-pose positions (the buffer is always constructed with un-skinned verts), so it's STABLE across animation. The 2.5D billboard renderer uses it to anchor feet to the ground.


parts

parts: Skin2DPartBuffer[]

Skinned parts in draw order (always ≥1). Scene2D draws one Mesh per part.


version

version: number

Bumped whenever ANY part's positions change — Scene2D re-uploads only on a change.

Built with Modoki.