Panda3D
|
Public Member Functions | |
__init__ (self, cTrav, shadowNodePath, wallCollideMask, floorCollideMask) | |
debugDisplay (self) | |
delete (self) | |
off (self) | |
on (self) | |
oneTimeCollide (self) | |
resetToOrigin (self) | |
setup (self, cTrav, shadowNodePath, wallCollideMask, floorCollideMask) | |
![]() | |
accept (self, event, method, extraArgs=[]) | |
acceptOnce (self, event, method, extraArgs=[]) | |
addTask (self, *args, **kwargs) | |
detectLeaks (self) | |
doMethodLater (self, *args, **kwargs) | |
getAllAccepting (self) | |
ignore (self, event) | |
ignoreAll (self) | |
isAccepting (self, event) | |
isIgnoring (self, event) | |
removeAllTasks (self) | |
removeTask (self, taskOrName) | |
Public Attributes | |
activeCount | |
count | |
cRay | |
cRayBitMask | |
cRayNodePath | |
cTrav | |
isActive | |
lifter | |
shadowNodePath | |
Static Public Attributes | |
int | activeCount = 0 |
int | count = 0 |
notify = DirectNotifyGlobal.directNotify.newCategory("ShadowPlacer") | |
![]() | |
accept_once = acceptOnce | |
add_task = addTask | |
detect_leaks = detectLeaks | |
do_method_later = doMethodLater | |
get_all_accepting = getAllAccepting | |
ignore_all = ignoreAll | |
is_accepting = isAccepting | |
is_ignoring = isIgnoring | |
remove_all_tasks = removeAllTasks | |
remove_task = removeTask | |
Additional Inherited Members | |
![]() | |
_addTask (self, task) | |
_clearTask (self, task) | |
![]() | |
_taskList | |
__init__ | ( | self, | |
cTrav, | |||
shadowNodePath, | |||
wallCollideMask, | |||
floorCollideMask ) |
Reimplemented from DirectObject.
debugDisplay | ( | self | ) |
for debugging
delete | ( | self | ) |
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.
on | ( | self | ) |
Turn on the shadow placement. The shadow z position will start being updated until a call to off() is made.
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.
resetToOrigin | ( | self | ) |
setup | ( | self, | |
cTrav, | |||
shadowNodePath, | |||
wallCollideMask, | |||
floorCollideMask ) |
Set up the collisions
|
static |
activeCount |
|
static |
count |
cRay |
cRayBitMask |
cRayNodePath |
cTrav |
isActive |
lifter |
|
static |
shadowNodePath |