AsyncTaskSequence
from panda3d.core import AsyncTaskSequence
- class AsyncTaskSequence
Bases:
Bases:
AsyncTask
,AsyncTaskCollection
A special kind of task that serves as a list of tasks internally. Each task on the list is executed in sequence, one per epoch.
This is similar to a Sequence interval, though it has some slightly different abilities. For instance, although you can’t start at any arbitrary point in the sequence, you can construct a task sequence whose duration changes during playback.
Inheritance diagram
- static get_class_type() TypeHandle
- get_current_task_index() int
Returns the index of the task within the sequence that is currently being executed (or that will be executed at the next epoch).
- get_repeat_count() int
Returns the repeat count of the sequence. See
set_repeat_count()
.