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