interface
EXTERNPROTO NetworkMFRotation [
eventIn MFRotation set_value
eventOut MFRotation value_changed
eventIn MFRotation value_fromnet
eventOut MFRotation value_tonet
exposedField SFString tag
exposedField SFBool pilotOnly
field SFBool localCopy
exposedField SFBool echo
exposedField SFBool cont
]
{
Script {
eventIn MFRotation InSc IS set_value
eventOut MFRotation OutSc IS value_changed
eventIn MFRotation netInSc IS value_fromnet
eventOut MFRotation netOutSc IS value_tonet
field SFBool local
directOutput TRUE
mustEvaluate TRUE
url "javascript:
function InSc(value) {
netOutSc = value;
if( local == true )
OutSc = value;
}
function netInSc(value) {
OutSc = value;
}
"
}
}