pixi-reels

PrewarmSpinTexturesOptions

pixi-reels


pixi-reels / index / PrewarmSpinTexturesOptions

Interface: PrewarmSpinTexturesOptions

Defined in: snapshot/SpinTextureCache.ts:262

Properties#

PropertyTypeDescriptionDefined in
blur?MotionBlurOptionsMotion-blur tuning override (defaults to the cache’s).snapshot/SpinTextureCache.ts:280
blurred?booleanAlso bake the motion-blur variants. Default: true.snapshot/SpinTextureCache.ts:278
cacheSpinTextureCacheThe shared cache to fill.snapshot/SpinTextureCache.ts:264
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:272
heightnumberCell height the reels will use.snapshot/SpinTextureCache.ts:276
idsstring[]Every symbolId to bake.snapshot/SpinTextureCache.ts:266
widthnumberCell width the reels will use.snapshot/SpinTextureCache.ts:274