Panda3D
|
Public Member Functions | |
def | __init__ |
def | __repr__ |
def | clearToInitial |
def | finish |
def | getDoneEvent |
def | getDuration |
def | getLoop |
def | getName |
def | getOpenEnded |
def | getPlayRate |
def | getState |
def | getT |
def | intervalDone |
def | isPaused |
def | isPlaying |
def | isStopped |
def | loop |
def | pause |
def | popupControls |
def | privDoEvent |
def | privFinalize |
def | privInitialize |
def | privInstant |
def | privInterrupt |
def | privPostEvent |
def | privReverseFinalize |
def | privReverseInitialize |
def | privReverseInstant |
def | privStep |
def | resume |
def | resumeUntil |
def | setDoneEvent |
def | setLoop |
def | setPlayRate |
def | setT |
def | setupPlay |
def | setupResume |
def | start |
def | stepPlay |
Public Attributes | |
blendType | |
currT | |
deltaT | |
doneEvent | |
duration | |
endAtEnd | |
endT | |
es | |
interval | |
name | |
openEnded | |
pname | |
pstats | |
setTHooks | |
startAtStart | |
startT | |
state | |
Static Public Attributes | |
int | indirectIntervalNum = 1 |
tuple | notify = directNotify.newCategory('IndirectInterval') |
int | playbackCounter = 0 |
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.
def __init__ | ( | self, | |
interval, | |||
startT = 0 , |
|||
endT = None , |
|||
playRate = 1 , |
|||
duration = None , |
|||
blendType = 'noBlend' , |
|||
name = None |
|||
) |
def __repr__ | ( | self, | |
indent = 0 |
|||
) | [inherited] |
def clearToInitial | ( | self | ) | [inherited] |
def finish | ( | self | ) | [inherited] |
def getDoneEvent | ( | self | ) | [inherited] |
def getDuration | ( | self | ) | [inherited] |
def getLoop | ( | self | ) | [inherited] |
def getName | ( | self | ) | [inherited] |
def getOpenEnded | ( | self | ) | [inherited] |
def getPlayRate | ( | self | ) | [inherited] |
Returns the play rate as set by the last call to start(), loop(), or setPlayRate().
def getState | ( | self | ) | [inherited] |
def getT | ( | self | ) | [inherited] |
def intervalDone | ( | self | ) | [inherited] |
def isPaused | ( | self | ) | [inherited] |
def isPlaying | ( | self | ) | [inherited] |
def isStopped | ( | self | ) | [inherited] |
def loop | ( | self, | |
startT = 0.0 , |
|||
endT = -1.0 , |
|||
playRate = 1.0 |
|||
) | [inherited] |
def pause | ( | self | ) | [inherited] |
def popupControls | ( | self, | |
tl = None |
|||
) | [inherited] |
Popup control panel for interval.
def privDoEvent | ( | self, | |
t, | |||
event | |||
) | [inherited] |
def privFinalize | ( | self | ) |
Reimplemented from Interval.
def privInitialize | ( | self, | |
t | |||
) |
Reimplemented from Interval.
def privInstant | ( | self | ) |
Reimplemented from Interval.
def privInterrupt | ( | self | ) |
Reimplemented from Interval.
def privPostEvent | ( | self | ) | [inherited] |
def privReverseFinalize | ( | self | ) |
Reimplemented from Interval.
def privReverseInitialize | ( | self, | |
t | |||
) |
Reimplemented from Interval.
def privReverseInstant | ( | self | ) |
Reimplemented from Interval.
def privStep | ( | self, | |
t | |||
) |
Reimplemented from Interval.
def resume | ( | self, | |
startT = None |
|||
) | [inherited] |
def resumeUntil | ( | self, | |
endT | |||
) | [inherited] |
def setDoneEvent | ( | self, | |
event | |||
) | [inherited] |
def setLoop | ( | self, | |
loop = 1 |
|||
) | [inherited] |
def setPlayRate | ( | self, | |
playRate | |||
) | [inherited] |
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.
def setT | ( | self, | |
t | |||
) | [inherited] |
def setupPlay | ( | self, | |
startT, | |||
endT, | |||
playRate, | |||
doLoop | |||
) | [inherited] |
def setupResume | ( | self | ) | [inherited] |
def start | ( | self, | |
startT = 0.0 , |
|||
endT = -1.0 , |
|||
playRate = 1.0 |
|||
) | [inherited] |
def stepPlay | ( | self | ) | [inherited] |
doneEvent [inherited] |
duration [inherited] |
Reimplemented in LerpFunctionNoStateInterval, and LerpFunctionInterval.
es [inherited] |
int indirectIntervalNum = 1 [static] |
name [inherited] |
tuple notify = directNotify.newCategory('IndirectInterval') [static] |
Reimplemented from Interval.
openEnded [inherited] |
int playbackCounter = 0 [static, inherited] |
pname [inherited] |
pstats [inherited] |
setTHooks [inherited] |