# Interface GesturePointer

单个触控点 / 鼠标指针的信息

interface GesturePointer {
altKey: boolean;
button: number;
buttons: number;
coords: Vector2;
ctrlKey: boolean;
delta: number;
metaKey: boolean;
raycaster: Raycaster;
shiftKey: boolean;
x: number;
y: number;
}

- Defined in lib/five/utils/event.ts:87

##### Index

### Properties

altKey
button
buttons
coords
ctrlKey
delta
metaKey
raycaster
shiftKey
x
y

## Properties

### altKey

altKey: boolean

- Defined in lib/five/utils/event.ts:100

### button

button: number

当前按下的鼠标键（单键编号）

- Defined in lib/five/utils/event.ts:95

### buttons

buttons: number

当前按下的所有鼠标键（位掩码）

- Defined in lib/five/utils/event.ts:97

### coords

coords: Vector2

归一化设备坐标（NDC）

- Defined in lib/five/utils/event.ts:103

### ctrlKey

ctrlKey: boolean

- Defined in lib/five/utils/event.ts:99

### delta

delta: number

相对上一帧的位移量

- Defined in lib/five/utils/event.ts:93

### metaKey

metaKey: boolean

- Defined in lib/five/utils/event.ts:101

### raycaster

raycaster: Raycaster

从该指针位置发出的射线

- Defined in lib/five/utils/event.ts:105

### shiftKey

shiftKey: boolean

- Defined in lib/five/utils/event.ts:98

### x

x: number

指针在屏幕上的 x 坐标（像素）

- Defined in lib/five/utils/event.ts:89

### y

y: number

指针在屏幕上的 y 坐标（像素）

- Defined in lib/five/utils/event.ts:91