# Interval

from direct.interval.Interval import Interval

Interval class: Base class for timeline functionality

## Inheritance:

Interval: DirectObject
DirectObject:

## Methods of Interval:

__init__
__playTask
__removeTask
__repr__
__spawnTask
clearToInitial
finish
getDoneEvent
getDuration
getLoop
getName
getOpenEnded
getPlayRate
getState
getT
intervalDone
isPaused
isPlaying
isStopped
loop
pause
popupControls
privDoEvent
privFinalize
privInitialize
privInstant
privInterrupt
privPostEvent
privReverseFinalize
privReverseInitialize
privReverseInstant
privStep
resume
resumeUntil
setDoneEvent
setLoop
setPlayRate
setT
setupPlay
setupResume
start
stepPlay

## Methods of DirectObject:

__init__
_addTask
_clearTask
accept
acceptOnce
addTask
classTree
detectLeaks
doMethodLater
getAllAccepting
ignore
ignoreAll
isAccepting
isIgnoring
removeAllTasks
removeTask

__init__ def __init__(self, name, duration, openEnded=1) Undocumented function.

__playTask def __playTask(self, task) Undocumented function.

__removeTask def __removeTask(self) Undocumented function.

__repr__ def __repr__(self, indent=0) Undocumented function.

__spawnTask def __spawnTask(self) Undocumented function.

clearToInitial def clearToInitial(self) Undocumented function.

finish def finish(self) Undocumented function.

getDoneEvent def getDoneEvent(self) Undocumented function.

getDuration def getDuration(self) Undocumented function.

getLoop def getLoop(self) Undocumented function.

getName def getName(self) Undocumented function.

getOpenEnded def getOpenEnded(self) Undocumented function.

getPlayRate def getPlayRate(self) Returns the play rate as set by the last call to start(), loop(), or setPlayRate().

getState def getState(self) Undocumented function.

getT def getT(self) Undocumented function.

intervalDone def intervalDone(self) Undocumented function.

isPaused def isPaused(self) Undocumented function.

isPlaying def isPlaying(self) Undocumented function.

isStopped def isStopped(self) Undocumented function.

loop def loop(self, startT=0.0, endT=-1.0, playRate=1.0) Undocumented function.

pause def pause(self) Undocumented function.

popupControls def popupControls(self, tl=None) Popup control panel for interval.

privDoEvent def privDoEvent(self, t, event) Undocumented function.

privFinalize def privFinalize(self) Undocumented function.

privInitialize def privInitialize(self, t) Undocumented function.

privInstant def privInstant(self) Undocumented function.

privInterrupt def privInterrupt(self) Undocumented function.

privPostEvent def privPostEvent(self) Undocumented function.

privReverseFinalize def privReverseFinalize(self) Undocumented function.

privReverseInitialize def privReverseInitialize(self, t) Undocumented function.

privReverseInstant def privReverseInstant(self) Undocumented function.

privStep def privStep(self, t) Undocumented function.

resume def resume(self, startT=None) Undocumented function.

resumeUntil def resumeUntil(self, endT) Undocumented function.

setDoneEvent def setDoneEvent(self, event) Undocumented function.

setLoop def setLoop(self, loop=1) Undocumented function.

setPlayRate def setPlayRate(self, playRate) 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.

setT def setT(self, t) Undocumented function.

setupPlay def setupPlay(self, startT, endT, playRate, doLoop) Undocumented function.

setupResume def setupResume(self) Undocumented function.

start def start(self, startT=0.0, endT=-1.0, playRate=1.0) Undocumented function.

stepPlay def stepPlay(self) Undocumented function.

__init__ def __init__(self) Undocumented function.

_addTask def _addTask(self, task) Undocumented function.

_clearTask def _clearTask(self, task) Undocumented function.

accept def accept(self, event, method, extraArgs=[]) Undocumented function.

acceptOnce def acceptOnce(self, event, method, extraArgs=[]) Undocumented function.

addTask def addTask(self, *args, **kwargs) Undocumented function.

classTree def classTree(self) Undocumented function.

detectLeaks def detectLeaks(self) Undocumented function.

doMethodLater def doMethodLater(self, *args, **kwargs) Undocumented function.

getAllAccepting def getAllAccepting(self) Undocumented function.

ignore def ignore(self, event) Undocumented function.

ignoreAll def ignoreAll(self) Undocumented function.

isAccepting def isAccepting(self, event) Undocumented function.

isIgnoring def isIgnoring(self, event) Undocumented function.

removeAllTasks def removeAllTasks(self) Undocumented function.

removeTask def removeTask(self, taskOrName) Undocumented function.