Interface: SpritesheetOptions<S>
Defined in: node_modules/pixi.js/lib/spritesheet/Spritesheet.d.ts:93
Options for loading a spritesheet from an atlas.
Advanced
Type Parameters
S
S extends SpritesheetData = SpritesheetData
Properties
cachePrefix?
> optional cachePrefix?: string
Defined in: node_modules/pixi.js/lib/spritesheet/Spritesheet.d.ts:105
Prefix to add to texture names when adding to global TextureCache, using this option can be helpful if you have multiple texture atlases that share texture names and you need to disambiguate them.
data
> data: S
Defined in: node_modules/pixi.js/lib/spritesheet/Spritesheet.d.ts:97
JSON data for the atlas.
resolutionFilename?
> optional resolutionFilename?: string
Defined in: node_modules/pixi.js/lib/spritesheet/Spritesheet.d.ts:99
The filename to consider when determining the resolution of the spritesheet.
texture
> texture: BindableTexture
Defined in: node_modules/pixi.js/lib/spritesheet/Spritesheet.d.ts:95
Reference to Texture