Panda3D

- Main Page
- Packages
- Classes

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

Public Member Functions | Public Attributes

# DirectLights Class Reference

Inherits pandac::PandaModules::NodePath.

List of all members.

## Public Member Functions
def | __init__
def | __getitem__
def | __len__
def | allOff
def | allOn
def | asList
def | create
def | createDefaultLights
def | delete
def | deleteAll
def | getNameList
def | setOff
def | setOn
def | toggle
## Public Attributes
| ambientCount
| directionalCount
| lightDict
| pointCount
| spotCount

## Constructor & Destructor Documentation

def __init__ | ( |  | self,
|  |  | parent = `render`
| ) |  |

## Member Function Documentation

def __getitem__ | ( |  | self,
|  |  | name
| ) |  |

def __len__ | ( |  | self | ) |

def allOff | ( |  | self | ) |

    Turn off all DIRECT lights

def allOn | ( |  | self | ) |

    Turn on all DIRECT lights

def asList | ( |  | self | ) |

def create | ( |  | self,
|  |  | type
| ) |  |

def createDefaultLights | ( |  | self | ) |

def delete | ( |  | self,
|  |  | light
| ) |  |

def deleteAll | ( |  | self | ) |

def getNameList | ( |  | self | ) |

def setOff | ( |  | self,
|  |  | directLight
| ) |  |

    Turn off the given directLight

def setOn | ( |  | self,
|  |  | directLight
| ) |  |

    Turn on the given directLight

def toggle | ( |  | self | ) |

    Toggles light attribute, but doesn't toggle individual lights

## Member Data Documentation

ambientCount

directionalCount

lightDict

pointCount

spotCount

All Classes Namespaces Functions Variables Enumerations Enumerator Properties