OpenGLContext.scenegraph.light
index
p:\openglcontext\scenegraph\light.py

 
Modules
            
OpenGLContext.context

 
Classes
            
Node
Light
DirectionalLight
PointLight
SpotLight

 
class DirectionalLight(Light)
       A directional light, please note, this is not scoped according to vrml standard
 
  
Render(self, mode=8) from Light
__del__(self, registry={}) from Light
__init__(self, color=(1.0, 1.0, 1.0), ambientIntensity=0.0, intensity=1.0, on=1.0, location=(0.0, 0.0, 1.0))
_renderLight(self) from Light

 
class Light(Node)
       Abstract base class for all lights
 
  
Render(self, mode=8)
__del__(self, registry={})
__init__(self, color=(1.0, 1.0, 1.0), ambientIntensity=0.0, intensity=1.0, on=1)
_renderLight(self)
Render basic light properties

 
class PointLight(Light)
       
  
Render(self, mode=8) from Light
__del__(self, registry={}) from Light
__init__(self, color=(1.0, 1.0, 1.0), ambientIntensity=0, intensity=1.0, on=1.0, location=(0.0, 0.0, 0.0), attenuation=(1.0, 0.0, 0.0), radius=100.0)
_renderLight(self)
Render basic light properties

 
class SpotLight(PointLight)
       
  
Render(self, mode=8) from Light
__del__(self, registry={}) from Light
__init__(self, color=(1.0, 1.0, 1.0), ambientIntensity=0.0, intensity=1.0, on=1.0, location=(0.0, 0.0, 0.0), attenuation=(1.0, 0.0, 0.0), radius=100.0, beamWidth=1.5707960000000001, cutOffAngle=0.78539800000000004, direction=(0.0, 0.0, -1.0))
_renderLight(self)

 
Functions
            
getNewLight(registry={})

 
Data
             __file__ = r'p:\OpenGLContext\scenegraph\light.pyc'
__name__ = 'OpenGLContext.scenegraph.light'
registry = {}