Name | Description | |
---|---|---|
LightSettings Constructor | Overloaded. Sets specular color to Black and active to false. |
The following tables list the members exposed by LightSettings.
Name | Description | |
---|---|---|
LightSettings Constructor | Overloaded. Sets specular color to Black and active to false. |
Name | Description | |
---|---|---|
Active | Gets or sets the light status. | |
Color | Gets or sets the light color. | |
ConstantAttenuation | Gets or sets the constant attenuation (point and spot lights only). | |
Direction | Gets or sets the light direction. | |
LinearAttenuation | Gets or sets the linear attenuation (point and spot lights only). | |
Position | Gets or sets the position of the spot or point light. | |
QuadraticAttenuation | Gets or sets the quadratic attenuation (point and spot lights only). | |
Specular | Gets or sets the light specular color. | |
SpotExponent | Gets or sets the exponent that determines how the light is focused inside the spot light cone (range [0, 128]). | |
SpotHalfAngle | Gets or sets the half angle of the spot light cone in radians (range [0, PI/2]). | |
Stationary | Gets or sets the light behavior. Set false to mimic the Sun. | |
Type | Gets or sets the light type. | |
YieldShadow | When true the light yields realistic shadows (Only one shadow is supported). |
Name | Description | |
---|---|---|
GetLightDirection | Gets the light direction. | |
ShouldSerialize |