GenericDisplayDevice Class |
Namespace: TouchScript.Devices.Display
public class GenericDisplayDevice : DisplayDevice
The GenericDisplayDevice type exposes the following members.
| Name | Description | |
|---|---|---|
| GenericDisplayDevice | Initializes a new instance of the GenericDisplayDevice class |
| Name | Description | |
|---|---|---|
| DPI |
DPI of the game based on NativeResolution and NativeDPI.
(Inherited from DisplayDevice.) | |
| Name |
Name of the display device.
(Inherited from DisplayDevice.) | |
| NativeDPI |
Native DPI of the display device.
(Inherited from DisplayDevice.) | |
| NativeResolution |
Native resolution of the display device.
(Inherited from DisplayDevice.) |
| Name | Description | |
|---|---|---|
| OnEnable |
OnEnable Unity method.
(Overrides DisplayDeviceOnEnable.) | |
| UpdateDPI |
Forces to recalculate DPI.
(Overrides DisplayDeviceUpdateDPI.) |
| Name | Description | |
|---|---|---|
| dpi |
Serialized device DPI.
(Inherited from DisplayDevice.) | |
| name |
Serialized device name.
(Inherited from DisplayDevice.) | |
| nativeDPI |
Native device dpi.
(Inherited from DisplayDevice.) | |
| nativeResolution |
Native device resolution.
(Inherited from DisplayDevice.) |