PinOverlayTween
pixi-reels / index / PinOverlayTween
Interface: PinOverlayTween
Defined in: spin/phases/AdjustPhase.ts:28
Descriptor for one pin overlay’s animation across a MultiWays reshape.
@internal. constructed by SpinController.buildPinOverlayTweens. Not
meant to be hand-built by consumers.
Properties#
| Property | Type | Description | Defined in |
|---|---|---|---|
cellCross | number | Cross-axis cell extent. unchanged by a reshape. | spin/phases/AdjustPhase.ts:32 |
cross | number | Reel container cross coordinate (unchanged across reshape). | spin/phases/AdjustPhase.ts:42 |
fromMain | number | Pre-tween main coordinate, viewport-local. | spin/phases/AdjustPhase.ts:38 |
newCellMain | number | Main-axis cell extent after the reshape. | spin/phases/AdjustPhase.ts:36 |
oldCellMain | number | Main-axis cell extent before the reshape (the overlay’s current size). | spin/phases/AdjustPhase.ts:34 |
symbol | ReelSymbol | The pin overlay symbol. its view is what we animate. | spin/phases/AdjustPhase.ts:30 |
toMain | number | Post-tween target main coordinate, viewport-local. | spin/phases/AdjustPhase.ts:40 |