ドキュメント

Unity Engine

Unity Engine

PointerId

A static class that holds pointer ID values.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

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.