Operator implicit operator
implicit operator Color(int)
Implicit conversion from int to Color, via the Color(int) costructor.
[Pure]
public static implicit operator Color(int rgba)
Parameters
rgba
int
Returns
implicit operator Color(uint)
Implicit conversion from uint to Color, via the Color(uint) costructor.
[Pure]
public static implicit operator Color(uint u)
Parameters
u
uint
Returns
implicit operator Color(ColorName16)
Implicit conversion from GetClosestNamedColor16(Color) to Color via lookup from ColorName16ToColorMap.
[Pure]
public static implicit operator Color(ColorName16 colorName)
Parameters
colorName
ColorName16
Returns
implicit operator Color(Vector4)
Implicit conversion from Vector4 to Color, where (X, Y, Z, W) is (A,R, G,B), via Color(int, int, int, int).
[Pure]
public static implicit operator Color(Vector4 v)
Parameters
v
Vector4
Returns
implicit operator Color(Vector3)
[Pure]
public static implicit operator Color(Vector3 v)
Parameters
v
Vector3
Returns
implicit operator int(Color)
[Pure]
public static implicit operator int(Color color)
Parameters
color
Color
Returns
implicit operator uint(Color)
[Pure]
public static implicit operator uint(Color color)
Parameters
color
Color
Returns
implicit operator Vector4(Color)
[Pure]
public static implicit operator Vector4(Color color)
Parameters
color
Color