Method | Description | |
---|---|---|
ToColor ( this color ) : |
(x, y, z) equals Color.FromArgb(255, x * 255, y * 255, z * 255);
|
|
ToVec3 ( this color ) : vec3 |
(x, y, z) equals Color.FromArgb(255, x * 255, y * 255, z * 255);
|
|
ToVec4 ( this color ) : vec4 |
(x, y, z, w) equals Color.FromArgb(w * 255, x * 255, y * 255, z * 255);
|
public static ToColor ( this color ) : |
||
color | this | |
return |