Interface IColorLight
Base interface for a light with a color
public interface IColorLight : ILight
- Inherited Members
Properties
Color
Gets or sets the light color.
IColorProvider Color { get; set; }
Property Value
- IColorProvider
The color.
Methods
ComputeColor(ColorSpace, float)
Computes the color to the proper ColorSpace with the specified intensity.
Color3 ComputeColor(ColorSpace colorSpace, float intensity)
Parameters
colorSpace
ColorSpaceintensity
floatThe intensity.
Returns
- Color3
Color3.