489

Creating new node types
Syntax: EXTERNPROTO

  • Prototypes are typically in a separate external file, referenced by an EXTERNPROTO
  • name, fields, events - as from PROTO, minus initial values
  • url - the URL of the prototype file
  • #name - name of PROTO in file
  • EXTERNPROTO BouncingBall [
        field SFFloat bounceHeight
        field SFTime  bounceTime
    ] "bounce4.wrl#BouncingBall"