pixi-reels

API reference

PrewarmSpinTexturesOptions

pixi-reels


pixi-reels / index / PrewarmSpinTexturesOptions

Defined in: snapshot/SpinTextureCache.ts:324

Properties#

PropertyTypeDescriptionDefined in
blur?MotionBlurOptionsMotion-blur tuning override (defaults to the cache’s).snapshot/SpinTextureCache.ts:342
blurred?booleanAlso bake the motion-blur variants. Default: true.snapshot/SpinTextureCache.ts:340
cacheSpinTextureCacheThe shared cache to fill.snapshot/SpinTextureCache.ts:326
createSymbol() => ReelSymbolFactory for a scratch symbol used as the render source. Typically the same factory you registered (e.g. () => new SpineReelSymbol(opts)). It is activated per id, snapshotted, and destroyed at the end.snapshot/SpinTextureCache.ts:334
heightnumberCell height the reels will use.snapshot/SpinTextureCache.ts:338
idsstring[]Every symbolId to bake.snapshot/SpinTextureCache.ts:328
widthnumberCell width the reels will use.snapshot/SpinTextureCache.ts:336