PROTO scriptControl [ eventIn SFBool set_boolean |
eventOut SFBool true_changed |
eventOut SFBool false_changed ] { |
Script { |
eventIn SFBool set_boolean IS set_boolean |
eventOut SFBool true_changed IS true_changed |
eventOut SFBool false_changed IS false_changed |
url "vrmlscript: |
function set_boolean( bool, eventTime ) { |
if ( bool == true ) { true_changed = true; } |
else { false_changed = true; } |
}" |
} |
}# end of PROTO scriptControl |