Skip to content

Type Alias: SSPartAffine ​

SSPartAffine = Float32Array

Defined in: ssplayer-core/dist/index.d.ts:5291

A part's current-frame transform as a 2D affine, copied out of WASM memory (safe to retain past the frame). Layout [m00, m01, m10, m11, tx, ty] — the same interchange format as SSRuntimeManager.getWorldMatrix2D and GeometryBuilder.composeAffine:

x' = m00 * x + m01 * y + tx
y' = m10 * x + m11 * y + ty

The space is animation-local and Y-down (the space parts are drawn in), so a follower placed under the player's own transform lands exactly on the part.