DropOffset
pixi-reels
pixi-reels / index / DropOffset
Interface: DropOffset
Defined in: cascade/tumbleAlgorithm.ts:25
Properties
| Property | Type | Description | Defined in |
|---|
offsetRows | number | Number of cells this symbol must traverse downward. Equals row - originalRow. Zero means the symbol stays put (no animation). | cascade/tumbleAlgorithm.ts:38 |
originalRow | number | Where this symbol “came from” expressed as a virtual row index. Negative values indicate “above the viewport” (e.g. -1 is one cell above row 0). Non-negative values indicate “this row in the OLD grid”. a survivor. | cascade/tumbleAlgorithm.ts:33 |
row | number | Visible row in the new grid (top-to-bottom, 0-indexed). | cascade/tumbleAlgorithm.ts:27 |