Click or drag to resize

TouchPadValueFormat Enumeration

Namespace:  Rewired.ComponentControls
Assembly:  Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public enum ValueFormat
Members
  Member nameValueDescription
Pixels0 Screen pixels.
Screen1 The proportion of the value to screen size in the corresponding dimension. 1 unit = 1 screen length (width for X, height for Y).
Physical2 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.
Direction3 A normalized direction vector.
See Also