Table of contents Chapter index Previous slide Next slide 139
Syntax: TimeSensor

Animating transforms
Syntax: TimeSensor
  • A TimeSensor node generates events based upon time
  • startTime and stopTime - when to run
  • cycleInterval - how long a cycle is
  • loop - whether or not to repeat cycles

    TimeSensor {
    
        cycleInterval 1.0
    
        loop FALSE
    
        startTime 0.0
    
        stopTime 0.0
    
    }