Basic HTML version of Foils prepared 5 August 97

Foil 5 EventIn Handling - EventIn Functions

From VRML97 Scripting: JavaScript Nodes UC Web Applications Certificate -- July 24 1997. by Wojtek Furmanski and Hasan Ozdemir


1 The function(method)'s name is the same as the eventIn and is passed two arguments, event value and its timestamp. The type of the value is the same as the type of the eventIn and the type of the timestamp is SFTime.
2 Script {
3 eventIn SFVec3f new_translation
4 url "javascript:
5 function new_translation(value, timestamp) { ... }"
6 }

in Table To:


© 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