Basic HTML version of Foils prepared April 15 1997

Foil 12 Sample VRML file referenced by a Java class - III

From VRML 2 Scripting -- Java JavaScript VRMLScript CPS616 -- Information Track of CPS -- Spring Semester 97. by Balaji Natarajan(Geoffrey C. Fox) *

1 DEF ColorScript Script {
2 url "ChangeColor.class"
3 eventIn SFBool clicked
4 eventOut SFColor newColor
5 field SFBool on FALSE }
6
7 ROUTE TS.isActive TO ColorScript.clicked
8 ROUTE ColorScript.newColor TO SphereColor.set_diffuseColor

Table Font Size


© 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 Thu Aug 14 1997