SheetFiles

lumin.multipack. SheetFiles

Indexed pair of files per sheet in the texture multi-pack.

Constructor

new SheetFiles()

Construct an empty object; see empty().

Members

imageFile :string

Contains the binary image.

Type:
  • string

index :number

Index of the sheet in the multi-pack.

Type:
  • number

jsonFile :string

Contains the meta-data

Type:
  • string

Methods

empty() → {boolean}

True if either file is empty.

Returns:
Type
boolean

lumin.multipack. SheetFiles

new SheetFiles(index, jsonFile, imageFile)

Copy the files and meta-data into the object's fields.

Parameters:
Name Type Description
index number
jsonFile string
imageFile string

Members

imageFile :string

Contains the binary image.

Type:
  • string

index :number

Index of the sheet in the multi-pack.

Type:
  • number

jsonFile :string

Contains the meta-data

Type:
  • string

Methods

empty() → {boolean}

True if either file is empty.

Returns:
Type
boolean