LightSource Class Members
In This Topic
The following tables list the members exposed by LightSource.
Public Constructors
Public Properties
| Name | Description |
 | Ambient | The ambient color emitted by this light source. |
 | ConstantAttenuation | Specifies the constant attenuation factor for this light. For more
information see the "OpenGL Lighting Model" topic in the User's Guide. |
 | Diffuse | The diffuse color emitted by this light source. |
 | Direction | A vector which specifies the direction of the light source. |
 | LightSourceType | Selects between positional and directional light source. |
 | LinearAttenuation | Specifies the linear attenuation factor for this light. For more
information see the "OpenGL Lighting Model" topic in the User's Guide. |
 | Position | A vector which specifies the position of the light source in 3D space. |
 | QuadraticAttenuation | Specifies the quadratic attenuation factor for this light. For more
information see the "OpenGL Lighting Model" topic in the User's Guide. |
 | Specular | The specular color emitted by this light source. |
 | SpotCutoff | The spot cutoff angle of the light source. With the help of this
property you can make a positional light source act as a spot light. |
 | SpotExponent | The spot exponent specifies the intensity distribution of a spot light. |
Top
Public Methods
See Also