direct.interval.Interval
from direct.interval.Interval import Interval
Interval module: contains the Interval class
Inheritance diagram
- class Interval(name, duration, openEnded=1)[source]
Bases:
DirectObjectInterval class: Base class for timeline functionality
- property done_event
- getPlayRate()[source]
Returns the play rate as set by the last call to start(), loop(), or setPlayRate().
- notify = <direct.directnotify.Notifier.Notifier object>
- property open_ended
- property play_rate
Returns the play rate as set by the last call to start(), loop(), or setPlayRate().
- playbackCounter = 0
- setPlayRate(playRate)[source]
Changes the play rate of the interval. If the interval is already started, this changes its speed on-the-fly. Note that since playRate is a parameter to start() and loop(), the next call to start() or loop() will reset this parameter.
- property stopped
- property t
