Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


PointerId

A static class that holds pointer ID values.
Read time 1 minuteLast updated 8 hours 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.
trackedPointerCountThe number of tracked device pointers the implementation supports.
trackedPointerIdBaseThe base ID for tracked device pointers. See for example InputSystem's XRController.