Interface: SpritesheetData

SpritesheetData

Atlas format.

Properties:
Name Type Description
animations Dict<string[]>

The animations of the atlas.

frames Dict<SpritesheetFrameData>

The frames of the atlas.

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

The meta data of the atlas.

Members

animations Dict<string[]>

The animations of the atlas.

frames Dict<SpritesheetFrameData>

The frames of the atlas.

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

The meta data of the atlas.