initialize() is invoked before the browser presents the world to the user and before any events are processed by any nodes in the same VRML file as the Script node containing this script. |
shutdown() is invoked when the corresponding Script node is deleted or when the world containing the Script node is unloaded or replaced by another world. |
eventsProcessed() is called after some(one or more depends on implementation) set of events has been received. |