Table of Contents Chapter Index Previous Slide Next Slide 340
Selecting JavaScript program scripts

Introducing program script writing with JavaScript
Selecting JavaScript program scripts
  • Recall that the Script node declares:
  • fields and events - the interface
  • Script {
        field SFFloat cycles 2.0
        field SFFloat radius 0.5
        . . .
        eventIn  SFFloat set_fraction
        eventOut SFVec3f position_changed
    }