Each eventIn in the prototype declaration is associated with an eventIn or exposedField defined in the prototype's node definition via the IS syntax. |
PROTO FooTransform |
[ eventIn SFVec3f set_position ] |
{ |
Transform { set_translation IS set_position } |
} |
This definition exposes a Transform node's set_translation event by giving it a new name (set_position) in the prototype interface. |