Table of Contents Chapter Index Previous Slide Next Slide 359
Syntax: IS

Creating new node types
Syntax: IS
  • The IS syntax connects a prototype interface field, eventIn, or eventOut to the body

    PROTO SpiralBall [
        field SFColor ballColor 1.0 1.0 1.0
        . . .
    ] {
        . . . diffuseColor IS ballColor
    }