createTaskWaitForMeshesToLoad
createTaskWaitForMeshesToLoad(ecd, engine, timeout) ⇒ Task
Produces a task that will wait for all existing Meshes of a dataset to be loaded, will fail upon timeout being reached
Kind: global function
Param | Type | Description |
---|---|---|
ecd | EntityComponentDataset | Dataset |
engine | Engine | |
timeout | number | in milliseconds, measured in wall-clock-time, from initialization of the task |
- createTaskWaitForMeshesToLoad(ecd, engine, timeout) ⇒
Task
- ~am :
AssetManager
- ~remaining :
Array.<string>
- ~seen :
Set.<string>
- ~collectMesh(m)
- ~am :
createTaskWaitForMeshesToLoad~am : AssetManager
Kind: inner constant of createTaskWaitForMeshesToLoad
createTaskWaitForMeshesToLoad~remaining : Array.<string>
Kind: inner constant of createTaskWaitForMeshesToLoad
createTaskWaitForMeshesToLoad~seen : Set.<string>
Kind: inner constant of createTaskWaitForMeshesToLoad
createTaskWaitForMeshesToLoad~collectMesh(m)
Kind: inner method of createTaskWaitForMeshesToLoad
Param | Type |
---|---|
m | Mesh |