Method ColorToGain
ColorToGain(Vector4)
Converts trackball values to Gain coefficients.
Declaration
public static Vector3 ColorToGain(Vector4 color)
Parameters
Type | Name | Description |
---|---|---|
Vector4 | color | The trackball color value (with offset in the W component) |
Returns
Type | Description |
---|---|
Vector3 | The converted trackball value |