|
Panda3D
|
Public Member Functions | |
| __init__ (self, parent=None) | |
| __getitem__ (self, name) | |
| __len__ (self) | |
| allOff (self) | |
| allOn (self) | |
| asList (self) | |
| create (self, type) | |
| createDefaultLights (self) | |
| delete (self, light) | |
| deleteAll (self) | |
| getNameList (self) | |
| setOff (self, directLight) | |
| setOn (self, directLight) | |
| toggle (self) | |
Public Attributes | |
| int | ambientCount = 0 |
| int | directionalCount = 0 |
| dict | lightDict = {} |
| int | pointCount = 0 |
| int | spotCount = 0 |
| __init__ | ( | self, | |
| parent = None ) |
| __getitem__ | ( | self, | |
| name ) |
| __len__ | ( | self | ) |
| allOff | ( | self | ) |
Turn off all DIRECT lights
| allOn | ( | self | ) |
Turn on all DIRECT lights
| asList | ( | self | ) |
| create | ( | self, | |
| type ) |
| createDefaultLights | ( | self | ) |
| delete | ( | self, | |
| light ) |
| deleteAll | ( | self | ) |
| getNameList | ( | self | ) |
| setOff | ( | self, | |
| directLight ) |
Turn off the given directLight
| setOn | ( | self, | |
| directLight ) |
Turn on the given directLight
| toggle | ( | self | ) |
Toggles light attribute, but doesn't toggle individual lights
| int ambientCount = 0 |
| int directionalCount = 0 |
| lightDict = {} |
| int pointCount = 0 |
| int spotCount = 0 |