Basic HTML version of Foils prepared 5 August 97

Foil 15 Java code to set an eventOut field - I

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


Public class Changecolor extends Script {
private SFColor newColor ;
float red[] = {1,0,0};
float blue[] = {0,0,1};
public void initialize() {
newColor = (SFColor)
getEventOut ("newColor"); }



© 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 Nov 29 1998