Skip to main content

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

ParamTypeDescription
ecdEntityComponentDatasetDataset
engineEngine
timeoutnumberin milliseconds, measured in wall-clock-time, from initialization of the task

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

ParamType
mMesh