direct.interval.IndirectInterval

from direct.interval.IndirectInterval import IndirectInterval

IndirectInterval module: contains the IndirectInterval class

Inheritance diagram

digraph inheritance593ffaac26 { bgcolor=transparent; rankdir=BT; size="8.0, 12.0"; "DirectObject" [URL="direct.showbase.DirectObject.html#direct.showbase.DirectObject.DirectObject",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="This is the class that all Direct/SAL classes should inherit from"]; "IndirectInterval" [URL="direct.interval.IndirectInterval.html#direct.interval.IndirectInterval.IndirectInterval",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="This class can be used to play samples of another interval, so"]; "Interval" -> "IndirectInterval" [arrowsize=0.75,style=""]; "Interval" [URL="direct.interval.Interval.html#direct.interval.Interval.Interval",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="Interval class: Base class for timeline functionality"]; "DirectObject" -> "Interval" [arrowsize=0.75,style=""]; }
class IndirectInterval(interval, startT=0, endT=None, playRate=1, duration=None, blendType='noBlend', name=None)[source]

Bases: Interval

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.

indirectIntervalNum = 1
notify = <direct.directnotify.Notifier.Notifier object>