Trees | Index | Help |
|
---|
Package spyre :: Module spyre :: Class Bulb |
|
object
--+ |Light
--+ | Bulb
Spot
Method Summary | |
---|---|
Initialize new instance. | |
Set position of light. | |
Inherited from Light | |
Turn light off on destruction. | |
Push light params through to OpenGL | |
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,
ambient=None,
diffuse=None,
specular=None,
position=None)
Initialize new instance.
|
setPosition(self, position)Set position of light.
|
Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Sat Jan 07 17:58:16 2006 | http://epydoc.sf.net |