pixi-reels

StaticSpinSymbolOptions

pixi-reels


pixi-reels / index / StaticSpinSymbolOptions

Interface: StaticSpinSymbolOptions

Defined in: snapshot/StaticSpinSymbol.ts:7

Properties

PropertyTypeDescriptionDefined in
blur?MotionBlurOptionsMotion-blur tuning forwarded to cache.captureBlurred. On a HorizontalReel pass { axis: 'x' } so the smear follows the strip’s sideways travel (and snapshots fit the cell by height instead of width).snapshot/StaticSpinSymbol.ts:34
blurRampMs?numberCrossfade duration (ms) from crisp snapshot to blurred snapshot at spin start. matches the reel’s acceleration ramp. 0 = instant. Default: 120. Ignored when spinTexture: 'static'.snapshot/StaticSpinSymbol.ts:28
cacheSpinTextureCacheShared spin-texture cache. one per reel set.snapshot/StaticSpinSymbol.ts:16
createInner() => ReelSymbolFactory for the wrapped “live” symbol. any ReelSymbol subclass (SpineReelSymbol, AnimatedSpriteSymbol, a custom class). The wrapper owns the instance: it activates it while the reel is at rest and deactivates it while the reel spins.snapshot/StaticSpinSymbol.ts:14
spinTexture?"blurred" | "static"What to show while spinning. 'blurred' (default) crossfades the static snapshot into the baked motion-blur variant; 'static' shows the crisp snapshot only and never touches the blur pipeline.snapshot/StaticSpinSymbol.ts:22