Panda3D
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Properties
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
ShadowPlacer Class Reference
Inheritance diagram for ShadowPlacer:
DirectObject

Public Member Functions

def __init__
 
def debugDisplay
 
def delete
 
def off
 
def on
 
def oneTimeCollide
 
def resetToOrigin
 
def setup
 
- Public Member Functions inherited from DirectObject
def __init__
 
def accept
 
def acceptOnce
 
def addTask
 
def detectLeaks
 
def doMethodLater
 
def getAllAccepting
 
def ignore
 
def ignoreAll
 
def isAccepting
 
def isIgnoring
 
def removeAllTasks
 
def removeTask
 

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
cRay
cRayBitMask
cRayNodePath
cTrav
isActive
lifter
tuple notify = DirectNotifyGlobal.directNotify.newCategory("ShadowPlacer")
static
shadowNodePath