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


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.
Script {
eventIn SFVec3f new_translation
url "javascript:
function new_translation(value, timestamp) { ... }"
}



© 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