X3D Example Archives: Conformance Nist, Miscellaneous, Script

 

Script contains author-programmed event behaviors for a scene. Define the script input-output event interface by including field definitions. Scripting code is embedded in a child CDATA node or (deprecated) in the url field. Optionally supported programming languages are ECMAScript (JavaScript) and Java (via url to a myNode.class file).

X3D Tooltips of interest: Script node, field, and ROUTE.

X3D Specification sections of interest: 29 Scripting component, 29.2 Concepts, 29.4.1 Script and 7.2.5.7 ROUTE statement.

X3D Examples Archives of related interest:

 
  4 X3D Models       X3D Model Descriptions
   ScriptNodeEventOutControl_EcmaScript Script Node Event Out Control Ecma Script Script node interface between VRML and EcmaScript: this conformance example tests event-based VRML/EcmaScript functionality.
   ScriptNodeEventOutControl_Java Script Node Event Out Control Java Script node interface between VRML and Java: this conformance example tests event-based VRML_Java functionality.
   ScriptNodeFieldControl_EcmaScript Script Node Field Control Ecma Script Script node interface between VRML and EcmaScript: this conformance example tests field-based VRML/EcmaScript functionality.
   ScriptNodeFieldControl_Java Script Node Field Control Java Script node interface between VRML and Java: this conformance example tests field-based VRML-Java functionality.

The X3D Resources: Examples page and Savage Developers Guide provide more information about the production of this archive.