IColorLight Interface
Namespace: Stride.Rendering.LightsAssembly: Stride.Rendering.dll
Base interface for a light with a color
public interface IColorLight : ILight
| Name | Description | |
|---|---|---|
| Properties | ||
| Color | Gets or sets the light color. |
|
| Methods | ||
| ComputeColor(ColorSpace, Single) | Computes the color to the proper ColorSpace with the specified intensity. |
|
Properties
Color
Gets or sets the light color.
IColorProvider Color { get; set; }
Property Value
| Type | Description |
|---|---|
| IColorProvider | The color. |
Methods
ComputeColor(ColorSpace, Single)
Computes the color to the proper ColorSpace with the specified intensity.
Color3 ComputeColor(ColorSpace colorSpace, float intensity)
Parameters
| Type | Name | Description |
|---|---|---|
| ColorSpace | colorSpace | |
| System.Single | intensity | The intensity. |
Returns
| Type | Description |
|---|---|
| Color3 | Color3. |