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:
|