StaticSpinSymbolOptions
pixi-reels / index / StaticSpinSymbolOptions
Interface: StaticSpinSymbolOptions
Defined in: snapshot/StaticSpinSymbol.ts:8
Properties#
| Property | Type | Description | Defined in |
|---|---|---|---|
blur? | MotionBlurOptions | Motion-blur tuning forwarded to cache.captureBlurred. axis defaults to the owning set’s travel axis, so a horizontal set smears sideways without being told; pass it explicitly only to override that. The sideways travel (and snapshots fit the cell by height instead of width). | snapshot/StaticSpinSymbol.ts:36 |
blurRampMs? | number | Crossfade 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:29 |
cache | SpinTextureCache | Shared spin-texture cache. one per reel set. | snapshot/StaticSpinSymbol.ts:17 |
createInner | () => ReelSymbol | Factory 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:15 |
spinTexture? | "static" | "blurred" | 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:23 |