444

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 );