media @ VU
proto-matrix-gate.vr
proto-matrix-gate.vr
(wrl
)
[ flux /
bitmanagement /
cortona /
octaga
]
PROTO Matrix_Gate [
eventIn SFBool activate
eventOut SFString isActive
field SFString target ""
]
{
Script {
eventIn SFBool activateSc IS activate
eventOut SFString isActiveSc IS isActive
field SFString targetSc IS target
directOutput TRUE
mustEvaluate TRUE
url "javascript:
function activateSc(value) {
if( value == true ) {
isActiveSc = targetSc;
}
}
"
}
}
(C) A. Eliëns
21/5/2007
You may not copy or print any of this material without explicit permission of the author or the publisher.
In case of other copyright issues, contact the author.