Method GetControlValueNormalized
GetControlValueNormalized(Control)
Gets an analog value of a Control input between -1.0f and 1.0f.
Declaration
public static float GetControlValueNormalized(Control control)
Parameters
| Type | Name | Description |
|---|---|---|
| Control | control | The Control to check. |
Returns
| Type | Description |
|---|---|
| System.Single | The normalized Control value. |