Input System  v0.1
ISX.Touchscreen Class Reference

A multi-touch surface. More...

Inheritance diagram for ISX.Touchscreen:
ISX.Pointer ISX.InputDevice ISX.InputControl

Properties

ReadOnlyArray< TouchControltouches [get]
 Array of touches. More...
 
static new Touchscreen current [get, set]
 The touchscreen that was added or updated last or null if there is no touchscreen connected to the system. More...
 
- Properties inherited from ISX.Pointer
Vector2Control position [get]
 The current pointer coordinates in window space. More...
 
static Pointer current [get, set]
 The pointer that was added or updated last or null if there is no pointer connected to the system. More...
 
- Properties inherited from ISX.InputDevice
bool remote [get]
 Whether the device is mirrored from a remote input system and not actually present as a "real" device in the local system. More...
 
bool native [get]
 Whether the device comes from the native Unity runtime. More...
 
double lastUpdateTime [get]
 Timestamp of last state event used to update the device. More...
 

Additional Inherited Members

- Public Member Functions inherited from ISX.InputDevice
virtual void OnConfigurationChanged ()
 Called by the system when the configuration of the device has changed. More...
 

Detailed Description

A multi-touch surface.

REVIEW: does it *actually* make sense to base this on Pointer?

Property Documentation

◆ current

new Touchscreen ISX.Touchscreen.current
staticgetset

The touchscreen that was added or updated last or null if there is no touchscreen connected to the system.

◆ touches

ReadOnlyArray<TouchControl> ISX.Touchscreen.touches
get

Array of touches.

Will always contain TouchscreenState.kMaxTouches entries.