API reference
SymbolZIndexContext
pixi-reels / index / SymbolZIndexContext
Defined in: config/types.ts:888
Everything a SymbolZIndexResolver is asked about. Built by the reel once per symbol per z-index refresh.
Properties#
| Property | Type | Description | Defined in |
|---|---|---|---|
arrayIndex | number | Index in the reel’s strip array - what the default formula uses. | config/types.ts:895 |
atRest | boolean | true while the reel is fully at rest, i.e. unmask symbols are lifted into the viewport’s shared unmaskedContainer, where a z-index orders them against every other lifted symbol in the set. false from the first frame of motion to the landing. | config/types.ts:909 |
defaultZIndex | number | What the engine would have used without a resolver: symbolData.zIndex * 100 + cellStackingIndex. Return it for ids the resolver does not care about. | config/types.ts:915 |
reelCount | number | - | config/types.ts:893 |
reelIndex | number | - | config/types.ts:892 |
symbolData | SymbolData | Resolved static metadata for this id (weight / zIndex / unmask / size). | config/types.ts:891 |
symbolId | string | - | config/types.ts:889 |
visibleCell | number | null | 0-based visible cell, or null for a buffer slot. A big symbol reports the cell its anchor sits in. | config/types.ts:900 |
visibleCells | number | Visible cells on THIS reel (varies per reel on a pyramid / MultiWays set). | config/types.ts:902 |