Basic HTML version of Foils prepared 5 August 97

Foil 14 Sample VRML file referenced by a Java class - II

From VRML97 Scripting: Java Nodes and External Authoring Interface UC Web Applications Certificate -- July 24 1997. by Wojtek Furmanski and Balaji Natarajan


DEF ColorScript Script {
url "ChangeColor.class"
eventIn SFBool clicked
eventOut SFColor newColor
field SFBool on FALSE}
ROUTE TS.isActive TO ColorScript.clicked
ROUTE ColorScript.newColor TO SphereColor.set_diffuseColor



© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Sun Apr 5 1998