Trees | Index | Help |
|
---|
Package spyre :: Module spyre :: Class NullStudio |
|
object
--+
|
NullStudio
StudioColorMat
Method Summary | |
---|---|
__init__(self,
engine)
| |
Add a light to camera lights array | |
Add a light to fixed lights array | |
Add a light to mobile lights array. | |
Commits the Mobile Lights (and whatever else) | |
Initialize depth cueing. | |
Push all light params through to OpenGL | |
Push all light params through to OpenGL | |
Push all light params through to OpenGL | |
Prep scene for lighting, set light models, colormaterial, etc... | |
Enable lighting | |
Disable all lighting | |
Removes light from camera lights array | |
Removes light from fixed lights array | |
Removes light from mobile lights array | |
setup(self)
| |
Update the Mobile Lights (and whatever else) | |
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) |
Method Details |
---|
addCamLight(self, light, position=None)Add a light to camera lights array |
addFixedLight(self, light, position=None)Add a light to fixed lights array |
addMobileLight(self, light, mover=None, position=None)Add a light to mobile lights array. If mover provided, studio will call update method of mover periodically. Same light can be passed as both.
|
commit(self)Commits the Mobile Lights (and whatever else) |
depthCueing(self, status=True, fmode=None, density=None, near=None, far=None)Initialize depth cueing.
|
displayCamLights(self)Push all light params through to OpenGL |
displayFixedLights(self)Push all light params through to OpenGL |
displayMobileLights(self)Push all light params through to OpenGL |
init(self)Prep scene for lighting, set light models, colormaterial, etc... |
lightsOK(self)Enable lighting |
lightsOut(self)Disable all lighting |
removeCamLight(self, light)Removes light from camera lights array |
removeFixedLight(self, light)Removes light from fixed lights array |
removeMobileLight(self, light)Removes light from mobile lights array |
update(self)Update the Mobile Lights (and whatever else) |
Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Sat Jan 07 17:58:16 2006 | http://epydoc.sf.net |