1681-engine / index / parseAtlas
Function: parseAtlas() ​
ts
function parseAtlas(json, where?): PackedAtlasPage;Defined in: src/assets/textureAtlas.ts:79
Parses one atlas JSON file; throws naming where (its URL) when it is not one.
Parameters ​
| Parameter | Type | Default value |
|---|---|---|
json | unknown | undefined |
where | string | 'atlas' |