Interface: SpritesheetOptions

PIXI.SpritesheetOptions

Options for loading a spritesheet from an atlas.

Properties:
Name Type Description
cachePrefix string

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 S

JSON data for the atlas.

resolutionFilename string

The filename to consider when determining the resolution of the spritesheet.

texture PIXI.BaseTexture | PIXI.Texture

Reference to Texture

Members

cachePrefix string

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 S

JSON data for the atlas.

resolutionFilename string

The filename to consider when determining the resolution of the spritesheet.

Reference to Texture