vcLight
vcLight provides the ability to create and control lights in the 3D world.
Properties
Name | Type | Access | Description |
ConstantAttenuation | Real | RW | Defines the constant light attenuation of the light. |
Direction | vcVector | RW | Defines the direction of the light by using a vector. |
Enabled | Boolean | RW | Turns on/off the use of the light. |
Intensity | Integer | RW | Defines the light's intensity. |
LinearAttenuation | Real | RW | Defines the linear light attenuation of the light. |
Name | String | RW | Defines the name of light. |
Position | vcVector | RW | Defines the position of the light in World coordinate system. |
QuadraticAttenuation | Real | RW | Defines the quadratic light attenuation of the light. |
SpotAngle | Real | RW | Defines the angle of the light if its type is spot. |
SpotExponent | Real | RW | Defines the exponent of the light if its type is spot. |
Type | Enumeration | RW | Defines the light type.
See Light Constants for more information. |