Panda3D
|
Distributed Node class:
def __init__ | ( | self, | |
cr | |||
) |
Reimplemented from DistributedObject.
Reimplemented in DistributedSmoothNode.
def __cmp__ | ( | self, | |
other | |||
) |
def addInterest | ( | self, | |
zoneId, | |||
note = "" , |
|||
event = None |
|||
) | [inherited] |
def announceGenerate | ( | self | ) | [inherited] |
Sends a message to the world after the object has been generated and all of its required fields filled in.
Reimplemented in TimeManager.
def b_setLocation | ( | self, | |
parentId, | |||
zoneId | |||
) | [inherited] |
def b_setParent | ( | self, | |
parentToken | |||
) |
setParent ###
def d_setH | ( | self, | |
h | |||
) |
def d_setHpr | ( | self, | |
h, | |||
p, | |||
r | |||
) |
def d_setLocation | ( | self, | |
parentId, | |||
zoneId | |||
) | [inherited] |
def d_setP | ( | self, | |
p | |||
) |
def d_setParent | ( | self, | |
parentToken | |||
) |
Reimplemented in DistributedSmoothNode.
def d_setPos | ( | self, | |
x, | |||
y, | |||
z | |||
) |
def d_setPosHpr | ( | self, | |
x, | |||
y, | |||
z, | |||
h, | |||
p, | |||
r | |||
) |
def d_setR | ( | self, | |
r | |||
) |
def d_setX | ( | self, | |
x | |||
) |
set pos and hpr functions #######
def d_setXY | ( | self, | |
x, | |||
y | |||
) |
def d_setXYH | ( | self, | |
x, | |||
y, | |||
h | |||
) |
def d_setXYZH | ( | self, | |
x, | |||
y, | |||
z, | |||
h | |||
) |
def d_setXZ | ( | self, | |
x, | |||
z | |||
) |
def d_setY | ( | self, | |
y | |||
) |
def d_setZ | ( | self, | |
z | |||
) |
def delete | ( | self | ) |
Inheritors should redefine this to take appropriate action on delete
Reimplemented from DistributedObject.
Reimplemented in DistributedSmoothNode.
def deleteOrDelay | ( | self | ) | [inherited] |
def disable | ( | self | ) |
Inheritors should redefine this to take appropriate action on disable
Reimplemented from DistributedObject.
Reimplemented in DistributedSmoothNode.
def disableAndAnnounce | ( | self | ) | [inherited] |
Inheritors should *not* redefine this function.
def disableAnnounceAndDelete | ( | self | ) | [inherited] |
def do_setParent | ( | self, | |
parentToken | |||
) |
do_setParent(self, int parentToken) This function is defined simply to allow a derived class (like DistributedAvatar) to override the behavior of setParent if desired.
def doCallbackContext | ( | self, | |
context, | |||
args | |||
) | [inherited] |
def doneBarrier | ( | self, | |
name = None |
|||
) | [inherited] |
def execCommand | ( | self, | |
string, | |||
mwMgrId, | |||
avId, | |||
zoneId | |||
) | [inherited] |
def flushCachedData | ( | self, | |
name | |||
) | [inherited] |
def generate | ( | self | ) |
Inheritors should redefine this to take appropriate action on generate
Reimplemented from DistributedObject.
Reimplemented in DistributedSmoothNode.
def generateInit | ( | self | ) | [inherited] |
This method is called when the DistributedObject is first introduced to the world... Not when it is pulled from the cache.
def getAutoInterests | ( | self | ) | [inherited] |
def getBarrierData | ( | self | ) | [inherited] |
def getCacheable | ( | self | ) | [inherited] |
def getCachedData | ( | self, | |
name | |||
) | [inherited] |
def getCallback | ( | self, | |
context | |||
) | [inherited] |
def getCallbackArgs | ( | self, | |
context | |||
) | [inherited] |
def getCallbackContext | ( | self, | |
callback, | |||
extraArgs = [] |
|||
) | [inherited] |
def getCurrentContexts | ( | self | ) | [inherited] |
def getDelayDeleteCount | ( | self | ) | [inherited] |
def getDelayDeleteEvent | ( | self | ) | [inherited] |
def getDisableEvent | ( | self | ) | [inherited] |
def getDoId | ( | self | ) | [inherited] |
Return the distributed object id
def getLocation | ( | self | ) | [inherited] |
def getNeverDisable | ( | self | ) | [inherited] |
def getParentObj | ( | self | ) | [inherited] |
def hasCachedData | ( | self, | |
name | |||
) | [inherited] |
def isDisabled | ( | self | ) | [inherited] |
Returns true if the object has been disabled and/or deleted, or if it is brand new and hasn't yet been generated.
def isGenerated | ( | self | ) | [inherited] |
Returns true if the object has been fully generated by now, and not yet disabled.
def isGridParent | ( | self | ) | [inherited] |
def isLocal | ( | self | ) | [inherited] |
def postGenerateMessage | ( | self | ) | [inherited] |
def removeInterest | ( | self, | |
handle, | |||
event = None |
|||
) | [inherited] |
def sendDeleteMsg | ( | self | ) | [inherited] |
def sendDisableMsg | ( | self | ) | [inherited] |
def sendUpdate | ( | self, | |
fieldName, | |||
args = [] , |
|||
sendToId = None |
|||
) | [inherited] |
def setBarrierData | ( | self, | |
data | |||
) | [inherited] |
def setCacheable | ( | self, | |
bool | |||
) | [inherited] |
def setCachedData | ( | self, | |
name, | |||
data | |||
) | [inherited] |
def setLocation | ( | self, | |
parentId, | |||
zoneId, | |||
teleport = 0 |
|||
) |
def setLocation | ( | self, | |
parentId, | |||
zoneId | |||
) | [inherited] |
def setNeverDisable | ( | self, | |
bool | |||
) | [inherited] |
def setParent | ( | self, | |
parentToken | |||
) |
def setParentStr | ( | self, | |
parentTokenStr | |||
) |
def setXY | ( | self, | |
x, | |||
y | |||
) |
def setXYH | ( | self, | |
x, | |||
y, | |||
h | |||
) |
def setXYZH | ( | self, | |
x, | |||
y, | |||
z, | |||
h | |||
) |
def setXZ | ( | self, | |
x, | |||
z | |||
) |
def status | ( | self, | |
indent = 0 |
|||
) | [inherited] |
print out "doId(parentId, zoneId) className and conditionally show generated, disabled, neverDisable, or cachable"
def taskName | ( | self, | |
taskString | |||
) | [inherited] |
def uniqueName | ( | self, | |
idString | |||
) | [inherited] |
def updateAllRequiredFields | ( | self, | |
dclass, | |||
di | |||
) | [inherited] |
def updateRequiredFields | ( | self, | |
dclass, | |||
di | |||
) | [inherited] |
def updateRequiredOtherFields | ( | self, | |
dclass, | |||
di | |||
) | [inherited] |
activeState [inherited] |
cacheable [inherited] |
cr [inherited] |
dclass [inherited] |
destroyDoStackTrace [inherited] |
DistributedObject_deleted [inherited] |
DistributedObject_initialized [inherited] |
int neverDisable = 0 [static, inherited] |
neverDisable [inherited] |
tuple notify = directNotify.newCategory("DistributedObject") [static, inherited] |
Reimplemented in TimeManager.
parentId [inherited] |
zoneId [inherited] |