Closed aybe closed 2 years ago
Currently, the way to convert a Color to a float4 is as follows:
Color
float4
float4 value = (Vector4)Color.red;
It works, but it's cumbersome...
Have you considered adding such implicit cast or is there something under the hood that makes it a no-go?
Currently, the way to convert a
Color
to afloat4
is as follows:float4 value = (Vector4)Color.red;
It works, but it's cumbersome...
Have you considered adding such implicit cast or is there something under the hood that makes it a no-go?