Interface ISpritesheetData

Atlas format.

Memberof

PIXI

interface ISpritesheetData {
    animations?: Dict<string[]>;
    frames: Dict<ISpritesheetFrameData>;
    meta: {
        app?: string;
        format?: string;
        frameTags?: {
            direction: string;
            from: number;
            name: string;
            to: number;
        }[];
        image?: string;
        layers?: {
            blendMode: string;
            name: string;
            opacity: number;
        }[];
        related_multi_packs?: string[];
        scale: string | number;
        size?: {
            h: number;
            w: number;
        };
        slices?: {
            color: string;
            keys: {
                bounds: {
                    h: number;
                    w: number;
                    x: number;
                    y: number;
                };
                frame: number;
            }[];
            name: string;
        }[];
        version?: string;
    };
}

Hierarchy (view full)

Properties

animations?: Dict<string[]>
meta: {
    app?: string;
    format?: string;
    frameTags?: {
        direction: string;
        from: number;
        name: string;
        to: number;
    }[];
    image?: string;
    layers?: {
        blendMode: string;
        name: string;
        opacity: number;
    }[];
    related_multi_packs?: string[];
    scale: string | number;
    size?: {
        h: number;
        w: number;
    };
    slices?: {
        color: string;
        keys: {
            bounds: {
                h: number;
                w: number;
                x: number;
                y: number;
            };
            frame: number;
        }[];
        name: string;
    }[];
    version?: string;
}

Type declaration

  • Optional app?: string
  • Optional format?: string
  • Optional frameTags?: {
        direction: string;
        from: number;
        name: string;
        to: number;
    }[]
  • Optional image?: string
  • Optional layers?: {
        blendMode: string;
        name: string;
        opacity: number;
    }[]
  • Optional related_multi_packs?: string[]
  • scale: string | number
  • Optional size?: {
        h: number;
        w: number;
    }
    • h: number
    • w: number
  • Optional slices?: {
        color: string;
        keys: {
            bounds: {
                h: number;
                w: number;
                x: number;
                y: number;
            };
            frame: number;
        }[];
        name: string;
    }[]
  • Optional version?: string

Generated using TypeDoc