MotionBlurOptions
pixi-reels
pixi-reels / index / MotionBlurOptions
Interface: MotionBlurOptions
Defined in: snapshot/SpinTextureCache.ts:19
Tuning for the baked motion-blur variant of a snapshot.
Properties
| Property | Type | Description | Defined in |
|---|
axis? | "x" | "y" | Smear axis — the reel’s travel direction. 'y' (default) for normal vertical reels; 'x' for a HorizontalReel strip. The other axis is never blurred. | snapshot/SpinTextureCache.ts:25 |
padding? | number | Extra transparent pixels added on both sides of the cell along the axis so the smear isn’t clipped at the texture edge. Default: ceil(strength). | snapshot/SpinTextureCache.ts:39 |
quality? | number | BlurFilter quality (number of passes). Default: 4. | snapshot/SpinTextureCache.ts:33 |
strength? | number | Blur strength in pixels along the axis. Default: 20% of the cell’s span on that axis (cellHeight * 0.2 for 'y', cellWidth * 0.2 for 'x'). | snapshot/SpinTextureCache.ts:31 |