Event-utility nodes allow conversion and connection of different data types via ROUTEs, while
Script nodes allow authors to write their own event-handling code for special scene capabilities.
Event utility nodes simplify data-type conversion of events when producing animation chains between nodes.
These include
BooleanFilter,
BooleanSequencer,
BooleanToggle,
IntegerSequencer,
IntegerTrigger,
and
TimeTrigger
nodes.
The
Script
node allows authors to define new functionality produced by JavaScript (ECMAscript) or Java code.
Authors can add
field
declarations that define
accessType
(inputOnly, outputOnly, initializeOnly and inputOutput)
and
type
for each field.
The supporting
Chapter 9 slideset
and course videos
(NPS,
YouTube)
for X3D for Web Authors are available online via
X3dGraphics.com.
Also available:
X3D Scene Authoring Hints
for
Scripts
and
URL Links.
Authors can use a
10-step algorithm checklist
(with example diagram)
as an event-animation design pattern that helps build consistent event-routing chains.
The supporting
Chapter 7 slideset
and course videos
(NPS,
YouTube)
for X3D for Web Authors are available online via
X3dGraphics.com.
The quick-reference sheet
X3D Event Utility Nodes: Field Event Diagrams
illustrates the functionality of the event utility nodes.
These nodes receive and pass values that are sent via
ROUTE
connections.
|