AsyncTaskSequence
from panda3d.core import AsyncTaskSequence
- class AsyncTaskSequence
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
- __init__(*args, **kwargs)
- getClassType()
C++ Interface: get_class_type()
- getCurrentTaskIndex()
C++ Interface: get_current_task_index(AsyncTaskSequence self)
- /**
Returns the index of the task within the sequence that is currently being
executed (or that will be executed at the next epoch).
*/
- getRepeatCount()
C++ Interface: get_repeat_count(AsyncTaskSequence self)
- /**
Returns the repeat count of the sequence. See set_repeat_count().
*/
- get_class_type()
C++ Interface: get_class_type()
- get_current_task_index()
C++ Interface: get_current_task_index(AsyncTaskSequence self)
- /**
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()
C++ Interface: get_repeat_count(AsyncTaskSequence self)
- /**
Returns the repeat count of the sequence. See set_repeat_count().
*/
- setRepeatCount()
C++ Interface: set_repeat_count(const AsyncTaskSequence self, int repeat_count)
- /**
Sets the repeat count of the sequence. If the count is 0 or 1, the
sequence will run exactly once. If it is greater than 0, it will run that
number of times. If it is negative, it will run forever until it is
explicitly removed.
*/
- set_repeat_count()
C++ Interface: set_repeat_count(const AsyncTaskSequence self, int repeat_count)
- /**
Sets the repeat count of the sequence. If the count is 0 or 1, the
sequence will run exactly once. If it is greater than 0, it will run that
number of times. If it is negative, it will run forever until it is
explicitly removed.
*/
- upcastToAsyncTask()
C++ Interface: upcast_to_AsyncTask(const AsyncTaskSequence self)
upcast from AsyncTaskSequence to AsyncTask
- upcastToAsyncTaskCollection()
C++ Interface: upcast_to_AsyncTaskCollection(const AsyncTaskSequence self)
upcast from AsyncTaskSequence to AsyncTaskCollection
- upcast_to_AsyncTask()
C++ Interface: upcast_to_AsyncTask(const AsyncTaskSequence self)
upcast from AsyncTaskSequence to AsyncTask
- upcast_to_AsyncTaskCollection()
C++ Interface: upcast_to_AsyncTaskCollection(const AsyncTaskSequence self)
upcast from AsyncTaskSequence to AsyncTaskCollection