Classes
Methods
dump()
Returns all currently loaded assets, with spatial coordinates of all instances.
- Source:
loadObject(obj, callback, failure)
Load or instantiate mesh of a VRObject.
Parameters:
Name | Type | Description |
---|---|---|
obj |
VRObject to load | |
callback |
function executed on success | |
failure |
function executed on failure |
- Source:
unloadObject(obj)
Remove a loaded VRObject from the scene.
Parameters:
Name | Type | Description |
---|---|---|
obj |
VRObject to remove |
- Source:
Returns:
number of remaining instances