Table of Contents Chapter Index Previous Slide Next Slide 292
Understanding JavaScript Program Scripts

Introducing Program Script Writing with JavaScript

Understanding JavaScript Program Scripts
  • Recall that the Script node declares:
  • fields and events - the program script interface
  • Script {
        field    SFFloat cycles 1.0
        eventIn  SFFloat set_fraction
        eventOut SFVec3f position_changed
    }