Inherits object.
|
def | __init__ (self, light, lighttype, name, position=vec3(), direction=vec3(1, 0, 0)) |
|
def | getName (self) |
|
def | setLightType (self, lighttype) |
|
def | setVisible (self, isViz) |
|
def | setCameraAngles (self, theta, phi) |
|
def | setSpotValues (self, spotangle, falloff=1.0) |
|
def | setAttenuation (self, lrange, const, linear, quad) |
|
def | setPosition (self, pos) |
|
def | setDirection (self, dirv) |
|
def | setColor (self, col) |
|
◆ __init__()
def __init__ |
( |
|
self, |
|
|
|
light, |
|
|
|
lighttype, |
|
|
|
name, |
|
|
|
position = vec3() , |
|
|
|
direction = vec3(1,0,0) |
|
) |
| |
◆ getName()
◆ setAttenuation()
def setAttenuation |
( |
|
self, |
|
|
|
lrange, |
|
|
|
const, |
|
|
|
linear, |
|
|
|
quad |
|
) |
| |
◆ setCameraAngles()
def setCameraAngles |
( |
|
self, |
|
|
|
theta, |
|
|
|
phi |
|
) |
| |
◆ setColor()
def setColor |
( |
|
self, |
|
|
|
col |
|
) |
| |
◆ setDirection()
def setDirection |
( |
|
self, |
|
|
|
dirv |
|
) |
| |
◆ setLightType()
def setLightType |
( |
|
self, |
|
|
|
lighttype |
|
) |
| |
◆ setPosition()
def setPosition |
( |
|
self, |
|
|
|
pos |
|
) |
| |
◆ setSpotValues()
def setSpotValues |
( |
|
self, |
|
|
|
spotangle, |
|
|
|
falloff = 1.0 |
|
) |
| |
◆ setVisible()
def setVisible |
( |
|
self, |
|
|
|
isViz |
|
) |
| |
◆ color
◆ const
◆ direction
◆ falloff
◆ isVisible
◆ light
◆ lighttype
◆ linear
◆ lrange
◆ name
◆ phi
◆ position
◆ quad
◆ spotangle
◆ theta
The documentation for this class was generated from the following file: