Components.SetRed
Extension Method in Components
Declaration
public static void SetRed(this ref Color color, float red)Description
Sets the red component of the color to the given value.
Parameters
| color | The color to set the component on. |
| red | The value to set the component to in the range [0..1]. |