The class should be extended from vrml.node.Script. |
initialize() and shutdown() methods of vrml.node.Script class is exactly the same we saw in ECMAScript version. |
processEvents(int count, vrml.Event evts[]) is called when the script receives some set of events. |
count indicates the number of events delivered. evts is the array of events delivered. |