update

update function

virtuosity.engine3d.update

Methods


Methods

add

add an event to the update function

virtuosity.engine3d.update.add(canvas, name, event);


Parameter Type Description
canvas String name of canvas to add event to update function
name String unique name of the update event
event Function event to add to update function

remove

remove an event from the update function

virtuosity.engine3d.update.remove(canvas, name);


Parameter Type Description
canvas String name of canvas to remove event from update function
name String name of the update event