Table of Contents
Chapter Index
Previous Slide
Next Slide
433
Accessing eventOuts from Java
Writing program scripts with Java
Accessing eventOuts from Java
Each interface eventOut can be read and written
Call
getEventOut
to get an eventOut object
obj = (SFVec3f) getEventOut( "value_changed" );
Call
getValue
to get the last event sent
lastval = obj.getValue( );
Call
setValue
to send an event
obj.setValue( newval );