direct.directtools.DirectLights

from direct.directtools.DirectLights import DirectLight, DirectLights

Inheritance diagram

Inheritance diagram of direct.directtools.DirectLights

class DirectLight(light, parent)[source]

Bases: NodePath

__init__(light, parent)[source]
getLight()[source]
getName()[source]
class DirectLights(parent=None)[source]

Bases: NodePath

__init__(parent=None)[source]
allOff()[source]

Turn off all DIRECT lights

allOn()[source]

Turn on all DIRECT lights

asList()[source]
create(ltype)[source]
createDefaultLights()[source]
delete(light)[source]
deleteAll()[source]
getNameList()[source]
setOff(directLight)[source]

Turn off the given directLight

setOn(directLight)[source]

Turn on the given directLight

toggle()[source]

Toggles light attribute, but doesn’t toggle individual lights