I had the same need and I just resolved with this: myColor = new Color(2.0f * x, 2.0f * (1 - x), 0);. Explanation: Instead of the [0-255] ...
確定! 回上一頁