Trees | Index | Help |
|
---|
Package spyre :: Module spyre :: Class Spot |
|
object
--+ |Light
--+ |Bulb
--+ | Spot
Method Summary | |
---|---|
Initialize new instance. | |
Pushes light params through to OpenGL | |
Set Direction light points | |
Inherited from Bulb | |
Set position of light. | |
Inherited from Light | |
Turn light off on destruction. | |
Turn light off | |
Turn light on | |
updates light | |
Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
helper for pickle | |
helper for pickle | |
x.__repr__() <==> repr(x) | |
x.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) |
Class Variable Summary | |
---|---|
Inherited from Light | |
list |
available_lights : keeps track of which light ids are available for use. |
Method Details |
---|
__init__(self,
cutoff,
direction,
ambient=None,
diffuse=None,
specular=None,
position=None)
Initialize new instance.
|
display(self)Pushes light params through to OpenGL
|
setDirection(self, direction)Set Direction light points |
Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Sat Jan 07 17:58:16 2006 | http://epydoc.sf.net |