pixi-reels

PinOverlayTween

pixi-reels


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#

PropertyTypeDescriptionDefined in
cellCrossnumberCross-axis cell extent. unchanged by a reshape.spin/phases/AdjustPhase.ts:32
crossnumberReel container cross coordinate (unchanged across reshape).spin/phases/AdjustPhase.ts:42
fromMainnumberPre-tween main coordinate, viewport-local.spin/phases/AdjustPhase.ts:38
newCellMainnumberMain-axis cell extent after the reshape.spin/phases/AdjustPhase.ts:36
oldCellMainnumberMain-axis cell extent before the reshape (the overlay’s current size).spin/phases/AdjustPhase.ts:34
symbolReelSymbolThe pin overlay symbol. its view is what we animate.spin/phases/AdjustPhase.ts:30
toMainnumberPost-tween target main coordinate, viewport-local.spin/phases/AdjustPhase.ts:40