pixi-reels

API reference

AddReelsOptions

pixi-reels


pixi-reels / index / AddReelsOptions

Defined in: core/expand.ts:7

Options for ReelSet.addReels.

Properties#

PropertyTypeDescriptionDefined in
initialFrame?readonly ColumnTarget[]What the new reels show before their first spin, one ColumnTarget per new reel. Default: random fill, like a set built without initialFrame(). A big symbol gets its whole block, which has to end on a reel this call adds.core/expand.ts:23
visibleCells?number | readonly number[]Visible cells of each new reel: one number for all of them, or one per new reel. Default: the last reel’s count (the set’s visibleCells on a uniform set). On a MultiWays set a reel is added at maxCells, the spin-time geometry every reel shares, and a count here reshapes it at once. A reel can never be taller than the board’s tallest reel; grow every reel first with addRows().core/expand.ts:16