Panda3D

- Main Page
- Packages
- Classes

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | Public Attributes | Static Public Attributes

# ShadowPlacer Class Reference

Inheritance diagram for ShadowPlacer:

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]`

cRay

cRayBitMask

cRayNodePath

cTrav

isActive

lifter

tuple notify = DirectNotifyGlobal.directNotify.newCategory("ShadowPlacer")`[static]`

shadowNodePath

All Classes Namespaces Functions Variables Enumerations Enumerator Properties