Scripting languages supported currently by VRML 2.0 are Java, JavaScript and VrmlScript. |
User-defined fields in Script Nodes provide the link between the state in VRML scene and state in the Java/JavaScript/VrmlScript program. |
Events arriving at an eventIn field automatically cause the browser to pass the event to the program referred to in the url field of the Script node. This mechanism is called Event Dispatching. |