Panda3D

Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
FrameDelayedCall Class Reference

## Public Member Functions
| __init__ (self, name, callback, frames=None, cancelFunc=None)
| destroy (self)
| finish (self)

## Protected Member Functions
| _frameTask (self, task)
| _startTask (self)
| _stopTask (self)

## Protected Attributes
| _callback = callback
| _cancelFunc = cancelFunc
int | _counter = 0
bool | _finished = False
| _frames = frames
| _frameTask
| _name = name
| _taskName = uniqueName('%s-%s' % (self.__class__.__name__, self._name))

## Detailed Description

     calls a func after N frames

## Constructor & Destructor Documentation

## ◆ __init__()

__init__ | ( |  | self,
|  |  | name,
|  |  | callback,
|  |  | frames = None,
|  |  | cancelFunc = None )

## Member Function Documentation

## ◆ _frameTask()

_frameTask | ( |  | self,
|  |  | task )
| protected

## ◆ _startTask()

_startTask | ( |  | self | ) |
| protected

## ◆ _stopTask()

_stopTask | ( |  | self | ) |
| protected

## ◆ destroy()

destroy | ( |  | self | ) |

## ◆ finish()

finish | ( |  | self | ) |

## Member Data Documentation

## ◆ _callback

_callback = callback
| protected

## ◆ _cancelFunc

_cancelFunc = cancelFunc
| protected

## ◆ _counter

int _counter = 0
| protected

## ◆ _finished

bool _finished = False
| protected

## ◆ _frames

_frames = frames
| protected

## ◆ _frameTask

_frameTask
| protected

## ◆ _name

_name = name
| protected

## ◆ _taskName

_taskName = uniqueName('%s-%s' % (self.__class__.__name__, self._name))
| protected