Table of Contents Chapter Index Previous Slide Next Slide 127
Syntax: TimeSensor

Animating transforms
Syntax: TimeSensor
  • A TimeSensor node generates events based upon time
  • start and stop time - when to run
  • cycle interval time - how long a cycle is
  • looping - whether or not to repeat cycles

    TimeSensor {
        cycleInterval 1.0
        loop FALSE
        startTime 0.0
        stopTime 0.0
    }