pixi-reels

ReelConfig

pixi-reels


pixi-reels / index / ReelConfig

Interface: ReelConfig

Defined in: core/Reel.ts:143

Properties#

PropertyTypeDescriptionDefined in
axis?ReelAxisTravel projection for this reel. Defaults to vertical/forward.core/Reel.ts:169
bufferEndnumber-core/Reel.ts:149
bufferStartnumber-core/Reel.ts:148
cellStacking?Stacking-core/Reel.ts:192
curve?ReelCurveInputCylinder curvature for this reel. Omitted or 0 leaves it dead flat and costs nothing. See ReelCurveConfig.core/Reel.ts:202
curveBleed?numberCross-axis room, in pixels per side, for art that is wider than its cell. Warp mode only; set by ReelSetBuilder.curveBleed().core/Reel.ts:221
curveFocus?numberReel-local cross coordinate the curve’s perspective converges on. Set by the builder from curveFocus(...); omitted means the reel’s own centre.core/Reel.ts:207
curveRenderer?RendererRenderer to draw the reel’s warp texture with. Present only when the set was built with curveMode('warp') and a renderer(...); its presence is what switches this reel from the per-symbol projection to the whole-reel vertex warp.core/Reel.ts:214
curveTicker?TickerTicker driving the warp’s per-frame texture refresh. Warp mode only.core/Reel.ts:216
extent?numberPixel height of this reel’s box. Used for MultiWays cell-height derivation (extent / visibleCells). Defaults to visibleCells * symbolHeight.core/Reel.ts:175
gsap?typeof gsapThe gsap instance this reel’s tweens live on. Defaults to the one resolved at lib-load time; ReelSetBuilder.gsap(...) overrides it PER SET, so two sets on one stage can use different instances.core/Reel.ts:191
initialSymbolsstring[]-core/Reel.ts:161
mainOffset?numberY offset of this reel relative to the viewport’s top edge. Set by the builder so jagged shapes (pyramids) align according to reelAnchor. Default 0.core/Reel.ts:167
reelCount?numberReels in the set. Reported to symbols and z-index resolvers. Default 1.core/Reel.ts:146
reelIndexnumber-core/Reel.ts:144
reelStacking?StackingRender order of reels within the set. Default 'ascending'. the last reel draws in front.core/Reel.ts:197
spinCellSize?numberSPIN-time uniform cell height. During SPIN every reel uses this same height. AdjustPhase later swaps to per-reel extent / visibleCells. Defaults to symbolHeight.core/Reel.ts:181
symbolGapXnumber-core/Reel.ts:152
symbolGapYnumber-core/Reel.ts:153
symbolHeightnumber-core/Reel.ts:151
symbolsDataRecord<string, SymbolData>-core/Reel.ts:154
symbolWidthnumber-core/Reel.ts:150
symbolZIndex?SymbolZIndexResolverReplaces the engine’s symbol z-index formula. See ReelSetBuilder.symbolZIndex. Omitted: symbolData.zIndex * 100 + cellStackingIndex.core/Reel.ts:160
visibleCellsnumber-core/Reel.ts:147