IDisplayDevice Interface |
Namespace: TouchScript.Devices.Display
public interface IDisplayDevice
The IDisplayDevice type exposes the following members.
Name | Description | |
---|---|---|
DPI |
DPI of the game based on NativeResolution and NativeDPI.
| |
Name |
Name of the display device.
| |
NativeDPI |
Native DPI of the display device.
| |
NativeResolution |
Native resolution of the display device.
|
TouchScript uses display device to calculate gesture properties based on device's DPI. This makes it possible to have the same experience on mobile devices with high DPI and large touch surfaces which have low DPI.
Current instance of IDisplayDevice can be accessed via DisplayDevice.