|
Panda3D
|
Public Member Functions | |
| def | __init__ |
| def | debugDisplay |
| def | delete |
| def | off |
| def | on |
| def | oneTimeCollide |
| def | resetToOrigin |
| def | setup |
Public Attributes | |
| cRay | |
| cRayBitMask | |
| cRayNodePath | |
| cTrav | |
| isActive | |
| lifter | |
| shadowNodePath | |
Static Public Attributes | |
| int | activeCount = 0 |
| int | count = 0 |
| tuple | 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
int activeCount = 0 [static] |
int count = 0 [static] |
tuple notify = DirectNotifyGlobal.directNotify.newCategory("ShadowPlacer") [static] |
1.7.3