ReelGridConfig
pixi-reels / index / ReelGridConfig
Interface: ReelGridConfig
Defined in: config/types.ts:185
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:217 |
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:224 |
reelAnchor? | ReelAnchor | How short reels align vertically inside the tallest reel’s height. Default: ‘center’. | config/types.ts:213 |
reelCount | number | Number of reel columns. | config/types.ts:187 |
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:208 |
symbolGap? | { x: number; y: number; } | Gap between symbols. Default: { x: 0, y: 0 }. | config/types.ts:215 |
symbolGap.x | number | - | config/types.ts:215 |
symbolGap.y | number | - | config/types.ts:215 |
symbolHeight | number | Symbol height in pixels. Used as the SPIN-time uniform cell height. | config/types.ts:202 |
symbolWidth | number | Symbol width in pixels. | config/types.ts:200 |
visibleRows | number | Default visible rows when all reels are uniform. Ignored if visibleRowsPerReel is set. | config/types.ts:192 |
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:198 |