TouchPadValueFormat Enumeration |
Namespace:
Rewired.ComponentControls
Assembly:
Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
Members
| Member name | Value | Description |
---|
| Pixels | 0 |
Screen pixels.
|
| Screen | 1 |
The proportion of the value to screen size in the corresponding dimension.
1 unit = 1 screen length (width for X, height for Y).
|
| Physical | 2 |
1 unit = 1/100th of an inch.
The resulting value will be consistent across different screen resolutions and sizes.
IMPORTANT: This relies on the value returned by UnityEngine.Screen.dpi. If the device does not return a value, a reference resolution of 96 dpi will be used.
|
| Direction | 3 |
A normalized direction vector.
|
See Also