Panda3D
|
Public Member Functions | |
__init__ (self, name, duration, openEnded=1) | |
__repr__ (self, indent=0) | |
clearToInitial (self) | |
finish (self) | |
getDoneEvent (self) | |
getDuration (self) | |
getLoop (self) | |
getName (self) | |
getOpenEnded (self) | |
getPlayRate (self) | |
getState (self) | |
getT (self) | |
intervalDone (self) | |
isPaused (self) | |
isPlaying (self) | |
isStopped (self) | |
loop (self, startT=0.0, endT=-1.0, playRate=1.0) | |
pause (self) | |
popupControls (self, tl=None) | |
privDoEvent (self, t, event) | |
privFinalize (self) | |
privInitialize (self, t) | |
privInstant (self) | |
privInterrupt (self) | |
privPostEvent (self) | |
privReverseFinalize (self) | |
privReverseInitialize (self, t) | |
privReverseInstant (self) | |
privStep (self, t) | |
resume (self, startT=None) | |
resumeUntil (self, endT) | |
setDoneEvent (self, event) | |
setLoop (self, loop=1) | |
setPlayRate (self, playRate) | |
setT (self, t) | |
setupPlay (self, startT, endT, playRate, doLoop) | |
setupResume (self) | |
start (self, startT=0.0, endT=-1.0, playRate=1.0) | |
stepPlay (self) | |
![]() | |
accept (self, event, method, extraArgs=[]) | |
acceptOnce (self, event, method, extraArgs=[]) | |
addTask (self, *args, **kwargs) | |
detectLeaks (self) | |
doMethodLater (self, *args, **kwargs) | |
getAllAccepting (self) | |
ignore (self, event) | |
ignoreAll (self) | |
isAccepting (self, event) | |
isIgnoring (self, event) | |
removeAllTasks (self) | |
removeTask (self, taskOrName) | |
Public Attributes | |
currT | |
doneEvent | |
duration | |
es | |
name | |
openEnded | |
pname | |
pstats | |
setTHooks | |
state | |
Static Public Attributes | |
notify = directNotify.newCategory("Interval") | |
int | playbackCounter = 0 |
![]() | |
accept_once = acceptOnce | |
add_task = addTask | |
detect_leaks = detectLeaks | |
do_method_later = doMethodLater | |
get_all_accepting = getAllAccepting | |
ignore_all = ignoreAll | |
is_accepting = isAccepting | |
is_ignoring = isIgnoring | |
remove_all_tasks = removeAllTasks | |
remove_task = removeTask | |
Properties | |
done_event = property(getDoneEvent, setDoneEvent) | |
open_ended = property(getOpenEnded) | |
play_rate = property(getPlayRate, setPlayRate) | |
stopped = property(isStopped) | |
t = property(getT, setT) | |
Additional Inherited Members | |
![]() | |
_addTask (self, task) | |
_clearTask (self, task) | |
![]() | |
_taskList | |
Interval class: Base class for timeline functionality
__init__ | ( | self, | |
name, | |||
duration, | |||
openEnded = 1 ) |
Reimplemented from DirectObject.
Reimplemented in Func, LerpFuncNS, LerpFunc, ActorInterval, AnimControlInterval, AcceptInterval, IgnoreInterval, EventInterval, FunctionInterval, LerpFunctionNoStateInterval, LerpFunctionInterval, IndirectInterval, MopathInterval, ProjectileInterval, HprInterval, HprScaleInterval, ParentInterval, WrtParentInterval, PosInterval, PosHprInterval, PosHprScaleInterval, ScaleInterval, TestInterval, ParticleInterval, and SoundInterval.
__repr__ | ( | self, | |
indent = 0 ) |
clearToInitial | ( | self | ) |
finish | ( | self | ) |
Reimplemented in SoundInterval.
getDoneEvent | ( | self | ) |
getDuration | ( | self | ) |
getLoop | ( | self | ) |
getName | ( | self | ) |
getOpenEnded | ( | self | ) |
getPlayRate | ( | self | ) |
Returns the play rate as set by the last call to start(), loop(), or setPlayRate().
getState | ( | self | ) |
getT | ( | self | ) |
intervalDone | ( | self | ) |
isPaused | ( | self | ) |
isPlaying | ( | self | ) |
isStopped | ( | self | ) |
loop | ( | self, | |
startT = 0.0, | |||
endT = -1.0, | |||
playRate = 1.0 ) |
Reimplemented in SoundInterval.
pause | ( | self | ) |
popupControls | ( | self, | |
tl = None ) |
Popup control panel for interval.
privDoEvent | ( | self, | |
t, | |||
event ) |
privFinalize | ( | self | ) |
Reimplemented in ActorInterval, AnimControlInterval, IndirectInterval, ParticleInterval, SoundInterval, and TestInterval.
privInitialize | ( | self, | |
t ) |
Reimplemented in IndirectInterval, ParticleInterval, ProjectileInterval, SoundInterval, and TestInterval.
privInstant | ( | self | ) |
Reimplemented in FunctionInterval, IndirectInterval, ParticleInterval, ProjectileInterval, SoundInterval, and TestInterval.
privInterrupt | ( | self | ) |
Reimplemented in IndirectInterval, SoundInterval, and TestInterval.
privPostEvent | ( | self | ) |
privReverseFinalize | ( | self | ) |
Reimplemented in IndirectInterval, and SoundInterval.
privReverseInitialize | ( | self, | |
t ) |
Reimplemented in IndirectInterval, and SoundInterval.
privReverseInstant | ( | self | ) |
Reimplemented in IndirectInterval, and SoundInterval.
privStep | ( | self, | |
t ) |
resume | ( | self, | |
startT = None ) |
resumeUntil | ( | self, | |
endT ) |
setDoneEvent | ( | self, | |
event ) |
setLoop | ( | self, | |
loop = 1 ) |
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 | ( | self, | |
t ) |
setupPlay | ( | self, | |
startT, | |||
endT, | |||
playRate, | |||
doLoop ) |
setupResume | ( | self | ) |
start | ( | self, | |
startT = 0.0, | |||
endT = -1.0, | |||
playRate = 1.0 ) |
Starts the interval. Returns an awaitable.
Reimplemented in TestInterval.
stepPlay | ( | self | ) |
currT |
doneEvent |
duration |
es |
name |
|
static |
openEnded |
|
static |
pname |
pstats |
setTHooks |
state |
|
static |
|
static |
|
static |
|
static |