Click or drag to resize

GenericDisplayDevice Class

Display device which tries to guess current DPI if it's not set by platform.
Inheritance Hierarchy
SystemObject
  Object
    ScriptableObject
      TouchScript.Devices.DisplayDisplayDevice
        TouchScript.Devices.DisplayGenericDisplayDevice

Namespace:  TouchScript.Devices.Display
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public class GenericDisplayDevice : DisplayDevice

The GenericDisplayDevice type exposes the following members.

Constructors
  NameDescription
Public methodGenericDisplayDevice
Initializes a new instance of the GenericDisplayDevice class
Top
Properties
  NameDescription
Public propertyDPI
DPI of the game based on NativeResolution and NativeDPI.
(Inherited from DisplayDevice.)
Public propertyName
Name of the display device.
(Inherited from DisplayDevice.)
Public propertyNativeDPI
Native DPI of the display device.
(Inherited from DisplayDevice.)
Public propertyNativeResolution
Native resolution of the display device.
(Inherited from DisplayDevice.)
Top
Methods
Fields
  NameDescription
Protected fielddpi
Serialized device DPI.
(Inherited from DisplayDevice.)
Protected fieldname
Serialized device name.
(Inherited from DisplayDevice.)
Protected fieldnativeDPI
Native device dpi.
(Inherited from DisplayDevice.)
Protected fieldnativeResolution
Native device resolution.
(Inherited from DisplayDevice.)
Top
See Also