Panda3D
|
Public Member Functions | |
def | __init__ (self, cTrav, shadowNodePath, wallCollideMask, floorCollideMask) |
def | debugDisplay (self) |
def | delete (self) |
def | off (self) |
def | on (self) |
def | oneTimeCollide (self) |
def | resetToOrigin (self) |
def | setup (self, cTrav, shadowNodePath, wallCollideMask, floorCollideMask) |
![]() | |
def | __init__ (self) |
def | accept (self, event, method, extraArgs=[]) |
def | acceptOnce (self, event, method, extraArgs=[]) |
def | addTask (self, args, kwargs) |
def | detectLeaks (self) |
def | doMethodLater (self, args, kwargs) |
def | getAllAccepting (self) |
def | ignore (self, event) |
def | ignoreAll (self) |
def | isAccepting (self, event) |
def | isIgnoring (self, event) |
def | removeAllTasks (self) |
def | removeTask (self, taskOrName) |
Public Attributes | |
cRay | |
cRayBitMask | |
cRayNodePath | |
cTrav | |
isActive | |
lifter | |
shadowNodePath | |
Static Public Attributes | |
int | activeCount = 0 |
int | count = 0 |
notify = DirectNotifyGlobal.directNotify.newCategory("ShadowPlacer") | |
def __init__ | ( | self, | |
cTrav, | |||
shadowNodePath, | |||
wallCollideMask, | |||
floorCollideMask | |||
) |
def debugDisplay | ( | self | ) |
for debugging
def delete | ( | self | ) |
def off | ( | self | ) |
Turn off the shadow placement. The shadow will still be there, but the z position will not be updated until a call to on() is made.
def on | ( | self | ) |
Turn on the shadow placement. The shadow z position will start being updated until a call to off() is made.
def oneTimeCollide | ( | self | ) |
Makes one quick collision pass for the avatar, for instance as a one-time straighten-things-up operation after collisions have been disabled.
def resetToOrigin | ( | self | ) |
def setup | ( | self, | |
cTrav, | |||
shadowNodePath, | |||
wallCollideMask, | |||
floorCollideMask | |||
) |
Set up the collisions
|
static |
|
static |
cRay |
cRayBitMask |
cRayNodePath |
cTrav |
isActive |
lifter |
|
static |
shadowNodePath |