Panda3D
Public Member Functions | Public Attributes | Static Public Attributes

ShadowPlacer Class Reference

Inheritance diagram for ShadowPlacer:
DirectObject

List of all members.

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")

Constructor & Destructor Documentation

def __init__ (   self,
  cTrav,
  shadowNodePath,
  wallCollideMask,
  floorCollideMask 
)

Member Function Documentation

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

Member Data Documentation

int activeCount = 0 [static]
int count = 0 [static]
tuple notify = DirectNotifyGlobal.directNotify.newCategory("ShadowPlacer") [static]
 All Classes Namespaces Functions Variables Properties