The following tables list the members exposed by ImGearVectorLightSource.
Public Properties
| Name | Description |
| AmbientColor |
Gets or sets an ambient color of light source. The color is presented as an array of four color components (red, green, blue, alpha). Usually the component belongs to the range 0...1, but can be greater than 1.
|
| CutoffAngle |
Gets or sets a spotlight angle of the light source.
|
| DiffuseColor |
Gets or sets a diffuse color of light source. The color is presented as an array of four color components (red, green, blue, alpha). Usually the component belongs to the range 0...1, put can be greater than 1.
|
| Direction |
Gets or sets a light source direction. The direction is presented as an array of three direction components (x, y, z).
|
| Enabled |
Gets or sets a value indicating whether to enable or disable the light source.
|
| Exponent |
Gets or sets a spotlight exponent of the light source.
|
| Position |
Gets or sets a light source position. The position is presented as a vector of three coordinates (x, y, z).
|
| SpecularColor |
Gets or sets a specular color of light source. The color is presented as an array of four color components (red, green, blue, alpha). Usually the component belongs to the range 0...1, but can be greater than 1.
|
Top
Public Methods
| Name | Description |
| GetAttenuation |
Returns constant, linear and quadratic attenuation factors of the light source.
|
| SetAttenuation |
Sets constant, linear and quadratic attenuation factors of the light source.
|
Top
See Also