# direct.interval.IndirectInterval¶

from direct.interval.IndirectInterval import IndirectInterval


IndirectInterval module: contains the IndirectInterval class

Inheritance diagram

class IndirectInterval(interval, startT=0, endT=None, playRate=1, duration=None, blendType='noBlend', name=None)[source]

This class can be used to play samples of another interval, so that only a subset of the interval is played, or the time is compressed, or some such nonsense.

It keeps a reference to the interval itself and repeatedly calls setT() on it, rather than actually starting the interval or copying its members like Sequence() or Parallel(). This means two IndirectIntervals that operate on the same nested interval may have some interaction that you should be aware of.

__init__(self, interval, startT=0, endT=None, playRate=1, duration=None, blendType='noBlend', name=None)[source]
indirectIntervalNum = 1
notify = <direct.directnotify.Notifier.Notifier object>
privFinalize(self)[source]
privInitialize(self, t)[source]
privInstant(self)[source]
privInterrupt(self)[source]
privReverseFinalize(self)[source]
privReverseInitialize(self, t)[source]
privReverseInstant(self)[source]
privStep(self, t)[source]