X3D Example Archives: Conformance Nist, Miscellaneous, Script

[1] ScriptNodeEventOutControl_EcmaScript.x3d View test
Directory Viewpoint Slideshow

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                 8 X3D Model Viewpoint Snapshots

ScriptNodeEventOutControl_EcmaScript
Script Node Event Out Control Ecma Script.x3d    
[1] ScriptNodeEventOutControl_EcmaScript.x3d View test
[2] ScriptNodeEventOutControl_EcmaScript.x3d (default X3D view from 0 0 10)

ScriptNodeEventOutControl_Java
Script Node Event Out Control Java.x3d    
[3] ScriptNodeEventOutControl_Java.x3d View test
[4] ScriptNodeEventOutControl_Java.x3d (default X3D view from 0 0 10)

ScriptNodeFieldControl_EcmaScript
Script Node Field Control Ecma Script.x3d    
[5] ScriptNodeFieldControl_EcmaScript.x3d View test
[6] ScriptNodeFieldControl_EcmaScript.x3d (default X3D view from 0 0 10)

ScriptNodeFieldControl_Java
Script Node Field Control Java.x3d    
[7] ScriptNodeFieldControl_Java.x3d View test
[8] ScriptNodeFieldControl_Java.x3d (default X3D view from 0 0 10)
 

This viewpoint slideshow is online at
https://www.web3d.org/x3d/content/examples/ConformanceNist/Miscellaneous/Script/viewpointSlideshow.html

Validate XHTML 1.1

Viewpoint image version history at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/ConformanceNist/Miscellaneous/Script/_viewpoints