Operator explicit operator
explicit operator Vector3(Color)
Implicit conversion from Color to Vector3 via Vector3(float, float, float) where ( X, Y, Z) is (R,G,B).
[Pure]
public static explicit operator Vector3(Color color)
Parameters
color
Color
Returns
Remarks
This cast is narrowing and drops the alpha channel.
Use implicit operator Vector4(Color) to maintain full value.