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