Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


PointerId

A static class that holds pointer ID values.
Read time 1 minuteLast updated 4 days ago

Definition

public static class PointerId

Remarks

These values are used as the values for IPointerEvent.pointerId.

Static Fields

Value

Description

invalidPointerIdRepresents an invalid pointer ID value.
maxPointersThe maximum number of pointers the implementation supports.
mousePointerIdThe mouse pointer ID.
penPointerCountThe number of pen pointers the implementation supports.
penPointerIdBaseThe base ID for pen pointers.
touchPointerCountThe number of touch pointers the implementation supports.
touchPointerIdBaseThe base ID for touch pointers.