Beispiel #1
0
 /// <summary>
 /// Converts the current 32-bit color to color with floating point values.
 /// </summary>
 public Color ToColor()
 {
     return(new Color(Mathf.ByteToFloat(r), Mathf.ByteToFloat(g), Mathf.ByteToFloat(b), Mathf.ByteToFloat(a)));
 }