Appearance
anim-format (runtime format) / slotSwitchMatrix
Function: slotSwitchMatrix()
ts
function slotSwitchMatrix(
transform,
fromPose?,
toPose?,
fromPivot?,
toPivot?
): Affine;THE transform of an object switching slot items (owner 2026-11-20 S1; document slotSwitchTransform and the runtime's dressItem both call it): the object keeps its "slot pose" (its transform without the old item's natural turn / scale), takes the new item's, and the two items' pivots (in each item's own space; absent = its origin) stay on the same spot.
Parameters
| Parameter | Type |
|---|---|
transform | readonly number[] |
fromPose? | SlotPose |
toPose? | SlotPose |
fromPivot? | readonly number[] |
toPivot? | readonly number[] |
Returns
Affine