Logo


search API (or start typing anywhere)


AssetJSON

snow.types.AssetJSON defined in snow.types.Types


typedef alias of snow.systems.assets.AssetJSON


 

Properties


json
json : Dynamic
The json data stored in the asset

Methods


destroy
destroy() : Void

loadstatic

load(_system:snow.systems.assets.Assets, _id:String) : snow.api.Promise
Create a new AssetJSON from an id, which returns a promise for the asset.

new

new(_system:snow.systems.assets.Assets, _id:String, _json:Dynamic) : Void

processorstatic

processor(_app:snow.Snow, _id:String, _data:snow.api.buffers.Uint8Array) : snow.api.Promise
A default json processor for the data processor API

reload

reload() : snow.api.Promise
Reloads the json from it’s stored id, returning a promise for the asset.