Class LightBuilder.Spot
LightBuilder.Spot class
public sealed class Spot : LightBuilder
Constructors
Name | Description |
---|
Spot() | The default constructor. |
Properties
Name | Description |
---|
Color { get; set; } | Gets or sets the RGB value for light’s color in linear space. |
Extras { get; set; } | Gets or sets the custom data of this object. |
InnerConeAngle { get; set; } | Gets or sets the Angle, in radians, from centre of spotlight where falloff begins. Must be greater than or equal to 0 and less than outerConeAngle. |
Intensity { get; set; } | Gets or sets the Brightness of light in. The units that this is defined in depend on the type of light. Point and spot lights use luminous intensity in candela (lm/sr) while directional lights use illuminance in lux (lm/m2) |
Name { get; set; } | Gets or sets the display text name, or null. |
OuterConeAngle { get; set; } | Gets or sets Angle, in radians, from centre of spotlight where falloff ends. Must be greater than innerConeAngle and less than or equal to PI / 2.0. |
Range { get; set; } | Gets or sets a Hint defining a distance cutoff at which the light’s intensity may be considered to have reached zero. Supported only for point and spot lights. Must be > 0. When undefined, range is assumed to be infinite. |
Methods
Name | Description |
---|
override Clone() | |
See Also