@blooper.gg/toodle / textures/types / AtlasDef
Type Alias: AtlasDef
AtlasDef = {
json
:URL
;png?
:URL
; } | {json?
:URL
;png
:URL
; }
Defined in: textures/types.ts:77
A definition for a pre-baked texture atlas
Type declaration
{ json
: URL
; png?
: URL
; }
json
json:
URL
The url of the atlas json file, if empty the json is assumed to be next to the png file
png?
optional
png:URL
The url of the atlas png file, if empty the png is assumed to be next to the json file
{ json?
: URL
; png
: URL
; }
json?
optional
json:URL
The url of the atlas json file, if empty the json is assumed to be next to the png file
png
png:
URL
The url of the atlas png file, if empty the png is assumed to be next to the json file