|
Panda3D
|
Public Member Functions | |
| def | __init__ |
| def | goOffStage |
| def | goOnStage |
| def | handleOffStage |
| def | handleOnStage |
| def | isOffStage |
| def | isOnStage |
Static Public Attributes | |
| int | OFF = 0 |
| int | ON = 1 |
| int | UNKNOWN = 1 |
Use this class as a mixin to provide an interface for onStage/offStage objects. The idea here is that a DistributedObject could be present and active due to simple visibility, but we want to hide or otherwise disable it for some reason.
| def __init__ | ( | self, | |
initState = UNKNOWN |
|||
| ) |
Only sets the initial state of this object. This will not call any "handle" functions.
| def goOffStage | ( | self, | |
| args, | |||
| kw | |||
| ) |
If a stage switch is needed, the correct "handle" function will be called. Otherwise, nothing happens.
| def goOnStage | ( | self, | |
| args, | |||
| kw | |||
| ) |
If a stage switch is needed, the correct "handle" function will be called. Otherwise, nothing happens.
| def handleOffStage | ( | self | ) |
Override this function to provide your on/off stage funcitionality. Don't forget to call down to this one, though.
| def handleOnStage | ( | self | ) |
Override this function to provide your on/off stage funcitionality. Don't forget to call down to this one, though.
| def isOffStage | ( | self | ) |
| def isOnStage | ( | self | ) |
int OFF = 0 [static] |
int ON = 1 [static] |
int UNKNOWN = 1 [static] |
1.7.3