ColorRgbProvider Class
Namespace: Stride.Rendering.ColorsAssembly: Stride.Rendering.dll
A light color described by a rgb color
System.Object →
ColorRgbProvider
Derived from ColorRgbProvider:
[DataContract("ColorRgbProvider")]
[DataAlias("LightColorRgb")]
[Display("RGB", null)]
public class ColorRgbProvider : IColorProvider
Name | Description | |
---|---|---|
Constructors | ||
ColorRgbProvider() | Initializes a new instance of the ColorRgbProvider class. |
|
ColorRgbProvider(Color) | Initializes a new instance of the ColorRgbProvider class. |
|
ColorRgbProvider(Color3) | Initializes a new instance of the ColorRgbProvider class. |
|
Properties | ||
Value | Gets or sets the light color in rgb. |
|
Methods | ||
ComputeColor() |
Constructors
ColorRgbProvider()
Initializes a new instance of the ColorRgbProvider class.
public ColorRgbProvider()
ColorRgbProvider(Color)
Initializes a new instance of the ColorRgbProvider class.
public ColorRgbProvider(Color color)
Parameters
Type | Name | Description |
---|---|---|
Color | color | The color. |
ColorRgbProvider(Color3)
Initializes a new instance of the ColorRgbProvider class.
public ColorRgbProvider(Color3 color)
Parameters
Type | Name | Description |
---|---|---|
Color3 | color | The color. |
Properties
Value
Gets or sets the light color in rgb.
[DataMember(10)]
[DataAlias("Color")]
public Color3 Value { get; set; }
Property Value
Type | Description |
---|---|
Color3 | The color. |
Methods
ComputeColor()
public Color3 ComputeColor()
Returns
Type | Description |
---|---|
Color3 |