ReelGridConfig
pixi-reels / index / ReelGridConfig
Interface: ReelGridConfig
Defined in: config/types.ts:226
Configuration for the reel grid layout.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
bufferSymbols? | number | Number of buffer symbols above and below the visible area. Default: 1. | config/types.ts:258 |
multiways? | MultiWaysConfig | MultiWays configuration. Set by builder.multiways(...). When present: - setShape(rowsPerReel) becomes callable mid-spin - AdjustPhase is inserted between SPIN and STOP - big-symbol registration throws at build time | config/types.ts:265 |
reelAnchor? | ReelAnchor | How short reels align vertically inside the tallest reel’s height. Default: ‘center’. | config/types.ts:254 |
reelCount | number | Number of reel columns. | config/types.ts:228 |
reelPixelHeights? | number[] | Per-reel pixel-box heights. Length MUST equal reelCount when set. For MultiWays: every entry is the same fixed reel height. For static pyramids: defaults to visibleRowsPerReel[i] * symbolHeight. | config/types.ts:249 |
symbolGap? | { x: number; y: number; } | Gap between symbols. Default: { x: 0, y: 0 }. | config/types.ts:256 |
symbolGap.x | number | - | config/types.ts:256 |
symbolGap.y | number | - | config/types.ts:256 |
symbolHeight | number | Symbol height in pixels. Used as the SPIN-time uniform cell height. | config/types.ts:243 |
symbolWidth | number | Symbol width in pixels. | config/types.ts:241 |
visibleRows | number | Default visible rows when all reels are uniform. Ignored if visibleRowsPerReel is set. | config/types.ts:233 |
visibleRowsPerReel? | number[] | Per-reel row counts (static shape). Length MUST equal reelCount. Example: [3, 5, 5, 5, 3] for a pyramid layout. Mutually exclusive with the scalar visibleRows field at the builder level. | config/types.ts:239 |