pixi.js
    Preparing search index...

    Interface SpritesheetOptions<S>Advanced

    Options for loading a spritesheet from an atlas.

    interface SpritesheetOptions<S extends SpritesheetData = SpritesheetData> {
        cachePrefix?: string;
        data: S;
        resolutionFilename?: string;
        texture: BindableTexture;
    }

    Type Parameters

    Index

    Properties

    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