Class PointerType
A static class that holds pointer type values.
Namespace: UnityEngine.UIElements
Syntax
public static class PointerType : object
Remarks
These values are used as the values for IPointerEvent.pointerType.
Fields
mouse
The pointer type for mouse events.
Declaration
public static readonly string mouse
Field Value
Type | Description |
---|---|
String |
pen
The pointer type for pen events.
Declaration
public static readonly string pen
Field Value
Type | Description |
---|---|
String |
touch
The pointer type for touch events.
Declaration
public static readonly string touch
Field Value
Type | Description |
---|---|
String |
unknown
The pointer type for events created by unknown devices.
Declaration
public static readonly string unknown
Field Value
Type | Description |
---|---|
String |