Skip to content

Interface: GazeHit ​

Defined in: packages/xr-input/src/pointer/gaze-candidate-provider.ts:38

Result of a candidate query. The provider is responsible for computing angular distance and choosing the hit point/normal/face.

Properties ​

angularDistance ​

angularDistance: number

Defined in: packages/xr-input/src/pointer/gaze-candidate-provider.ts:44

Angular distance (radians) between gaze direction and direction-to-target.


intersection ​

intersection: Intersection

Defined in: packages/xr-input/src/pointer/gaze-candidate-provider.ts:42

The authoritative pointer-events intersection on the actionable leaf.


object ​

object: Object3D

Defined in: packages/xr-input/src/pointer/gaze-candidate-provider.ts:40

The Object3D root that won this frame (typically the entity's root).

Privacy | Terms