The Light type exposes the following members.
Fields
| Name | Description | |
|---|---|---|
| _layer |
This field tell us the layer the model belongs to
(Inherited from Model.) | |
| _lightAmbient |
This field represents the ambient light
| |
| _lightAttenuationType |
Selects one of the three light attenuation factors
0 - Constant
1 - Linear
2 - Cuadratic
| |
| _lightAttenuationValue |
Attenuation of light value, related with attenuation type
| |
| _lightDiffuse |
This field represents the diffuse light
| |
| _lightNum |
This field represents the light number
| |
| _lightOn |
If true, light is activated, if false light is turned off
| |
| _lightSpecular |
This field represents the specular light
| |
| _position |
This vector represents the Model position
(Inherited from Model.) | |
| _spotCutOff |
This field represents the angle in degrees of the spot cone measured from its axis (spot direction)
Its values are between 0 and 90 degrees
If SpotCutOff is 180, SpotDirection is not worth
| |
| _spotDirection |
This field represents the light (spot) direction
| |
| _spotExponent |
Higher spot exponents result in a more focused light source, regardless of the spot cutoff angle.
The initial spot exponent is 0, resulting in uniform light distribution.
Only values in the range [0,128]
| |
| _visibleLeftEye |
This field represents if the model can be seen by the left eye
(Inherited from Model.) | |
| _visibleRightEye |
This field represents if the model can be seen by the right eye
(Inherited from Model.) |