Light3D Properties |
The Light3D type exposes the following members.
| Name | Description | |
|---|---|---|
| AmbientColor |
Ambient color of the light
| |
| AttenuationConstant |
Lighting attenuation, constant.
Atten = 1 / (att0 + att1 * d + att2 * d2)
| |
| AttenuationLinear |
Lighting attenuation, linear factor.
Atten = 1 / (att0 + att1 * d + att2 * d2)
| |
| AttenuationQuadratic |
Lighting attenuation, quadratic factor.
Atten = 1 / (att0 + att1 * d + att2 * d2)
| |
| DiffuseColor |
Diffuse color of the light
| |
| Enabled |
Is the light switched on
| |
| Location |
Light location
| |
| LocationFromCamera |
Use the view camera location as the location of the light.
| |
| SpecularColor |
Specular color of the light
| |
| Target |
Target coordinates. Applies to Directional light and Spotlight types.
| |
| Type |
Palette coloring type
|