Skip to content

Interface: GPUPickResult ​

Defined in: utils/GPUPicker.ts:9

Result of a GPU pick operation

Properties ​

surfaceId ​

ts
surfaceId: string | null;

Defined in: utils/GPUPicker.ts:11

ID of the picked surface (null if no hit)


vertexIndex ​

ts
vertexIndex: number | null;

Defined in: utils/GPUPicker.ts:13

Index of the picked vertex (null if no hit)


point ​

ts
point: Vector3 | null;

Defined in: utils/GPUPicker.ts:15

World-space position of the pick point (null if no hit)


faceIndex ​

ts
faceIndex: number | null;

Defined in: utils/GPUPicker.ts:17

Index of the picked face (null if no hit)

Released under the MIT License.