@iwsdk/xr-input 1.0.0-rc.1 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/dist/index.d.ts +4 -0
  2. package/dist/index.d.ts.map +1 -1
  3. package/dist/index.js +3 -0
  4. package/dist/index.js.map +1 -1
  5. package/dist/pointer/filtered-eye-gaze.d.ts +48 -0
  6. package/dist/pointer/filtered-eye-gaze.d.ts.map +1 -0
  7. package/dist/pointer/filtered-eye-gaze.js +118 -0
  8. package/dist/pointer/filtered-eye-gaze.js.map +1 -0
  9. package/dist/pointer/gaze-candidate-provider.d.ts +58 -0
  10. package/dist/pointer/gaze-candidate-provider.d.ts.map +1 -0
  11. package/dist/pointer/gaze-conecaster.d.ts +130 -0
  12. package/dist/pointer/gaze-conecaster.d.ts.map +1 -0
  13. package/dist/pointer/gaze-conecaster.js +456 -0
  14. package/dist/pointer/gaze-conecaster.js.map +1 -0
  15. package/dist/pointer/gaze-pointer.d.ts +266 -0
  16. package/dist/pointer/gaze-pointer.d.ts.map +1 -0
  17. package/dist/pointer/gaze-pointer.js +865 -0
  18. package/dist/pointer/gaze-pointer.js.map +1 -0
  19. package/dist/pointer/multi-pointer.d.ts +21 -6
  20. package/dist/pointer/multi-pointer.d.ts.map +1 -1
  21. package/dist/pointer/multi-pointer.js +52 -12
  22. package/dist/pointer/multi-pointer.js.map +1 -1
  23. package/dist/rig/xr-origin.d.ts +26 -0
  24. package/dist/rig/xr-origin.d.ts.map +1 -1
  25. package/dist/rig/xr-origin.js +25 -1
  26. package/dist/rig/xr-origin.js.map +1 -1
  27. package/dist/version.d.ts +1 -1
  28. package/dist/version.d.ts.map +1 -1
  29. package/dist/visual/adapter/hand-visual-adapter.d.ts +9 -0
  30. package/dist/visual/adapter/hand-visual-adapter.d.ts.map +1 -1
  31. package/dist/visual/adapter/hand-visual-adapter.js +47 -9
  32. package/dist/visual/adapter/hand-visual-adapter.js.map +1 -1
  33. package/dist/xr-input-manager.d.ts +57 -1
  34. package/dist/xr-input-manager.d.ts.map +1 -1
  35. package/dist/xr-input-manager.js +285 -15
  36. package/dist/xr-input-manager.js.map +1 -1
  37. package/package.json +1 -1
@@ -0,0 +1,266 @@
1
+ /**
2
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
3
+ *
4
+ * This source code is licensed under the MIT license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+ import { Pointer } from '@pmndrs/pointer-events';
8
+ import { CircleGeometry, Color, Mesh, MeshBasicMaterial, Object3D, PerspectiveCamera, Scene, Vector3 } from 'three';
9
+ import type { GazeOrigin, XROrigin } from '../rig/xr-origin.js';
10
+ import { FilteredEyeGaze, FilteredEyeGazeOptions } from './filtered-eye-gaze.js';
11
+ import type { GazeCandidateProvider } from './gaze-candidate-provider.js';
12
+ export type GazeHand = 'left' | 'right';
13
+ /** Metadata exposed as `PointerEvent.pointerState` for the gaze ray. */
14
+ export interface GazePointerState {
15
+ source: 'gaze';
16
+ handedness: GazeHand | null;
17
+ }
18
+ /**
19
+ * Per-frame input context passed into {@link GazePointer.update}.
20
+ */
21
+ export interface GazePointerInput {
22
+ /** Candidate Object3D roots (gaze-eligible interactables). */
23
+ candidates: ReadonlyArray<Object3D>;
24
+ /** Whether each hand's pinch went down this frame. */
25
+ pinchStart: {
26
+ left: boolean;
27
+ right: boolean;
28
+ };
29
+ /** Whether each hand's pinch was released this frame. */
30
+ pinchEnd: {
31
+ left: boolean;
32
+ right: boolean;
33
+ };
34
+ /** Whether each hand is currently pinching. */
35
+ pinchActive: {
36
+ left: boolean;
37
+ right: boolean;
38
+ };
39
+ /** Whether either hand has an active near touch/grab pointer. */
40
+ directPointerActive: {
41
+ left: boolean;
42
+ right: boolean;
43
+ };
44
+ }
45
+ /**
46
+ * The live WebXR state {@link GazePointer.sampleGazePose} needs to read the
47
+ * gaze target ray itself, rather than trusting another system to have
48
+ * refreshed the rig first.
49
+ */
50
+ export interface GazeFrameContext {
51
+ /** The frame currently being rendered. */
52
+ frame: XRFrame;
53
+ /**
54
+ * Reference space the pose is resolved against. Must be the same space
55
+ * {@link XROrigin.updateHead} used, since the result is written into
56
+ * {@link XROrigin.eyeSpace}, which lives in that space.
57
+ */
58
+ referenceSpace: XRReferenceSpace;
59
+ /** Session to scan for the gaze input source. */
60
+ session: XRSession;
61
+ }
62
+ export interface GazePointerOptions {
63
+ /** Suppress hover/select while a near touch/grab pointer is active. @default true */
64
+ suppressWhenDirectPointerActive?: boolean;
65
+ /**
66
+ * On select commit, move the effective pointer origin to the pinching
67
+ * hand's ray space so captured drags track the hand, not the eyes.
68
+ * @default true
69
+ */
70
+ pointerTransformFollowsHand?: boolean;
71
+ /** Reticle color while gaze is genuinely tracked. @default 0xffffff */
72
+ reticleColor?: Color | number;
73
+ /** Reticle radius in meters. @default 0.012 */
74
+ reticleRadius?: number;
75
+ /** Show the developer-only gaze hit reticle. @default false */
76
+ showDebugReticle?: boolean;
77
+ /** Keep gaze mode active briefly after tracking becomes invalid. @default 5 */
78
+ trackingLossGraceSeconds?: number;
79
+ /** OneEuro filter parameters applied to the gaze pose. */
80
+ filter?: FilteredEyeGazeOptions;
81
+ /**
82
+ * Emit `[iwsdk][gaze]` console diagnostics explaining why gaze is (or isn't)
83
+ * tracked, and whether the runtime's gaze ray actually separates from the
84
+ * head ray. Eye tracking has several silent failure modes that are otherwise
85
+ * indistinguishable from a missing source.
86
+ * @default true
87
+ */
88
+ diagnostics?: boolean;
89
+ }
90
+ /**
91
+ * Singleton gaze pointer. Peer of {@link MultiPointer} in
92
+ * {@link XRInputManager}.
93
+ *
94
+ * @remarks
95
+ * - One global instance — gaze has no handedness.
96
+ * - Samples the WebXR gaze target ray itself via
97
+ * {@link GazePointer.sampleGazePose}, publishing the result to
98
+ * {@link XROrigin.eyeSpace}. The hand/controller ray owns far targeting when
99
+ * a gaze source is unavailable. {@link GazePointerOptions.diagnostics}
100
+ * explains the silent failure modes.
101
+ * - Candidate selection is delegated to a {@link GazeCandidateProvider};
102
+ * the default {@link GazeConecaster} does OBB cone membership and
103
+ * time-weighted dwell consensus while this pointer resolves surfaces with
104
+ * the same pmndrs ray intersector used for event delivery.
105
+ * - Selector composes either hand's pinch; once selecting, the other hand
106
+ * is ignored until release (per-hand mutual exclusion, matching Meta
107
+ * Interaction SDK's `HandGazeInteractor` semantics).
108
+ * - Drives a real `@pmndrs/pointer-events` pointer so UIKit panels click
109
+ * naturally on gaze-pinch.
110
+ * - Keeps its optional debug reticle hidden by default. Production feedback
111
+ * belongs on the hovered target, matching Meta Interaction SDK.
112
+ *
113
+ * @category Pointer
114
+ */
115
+ export declare class GazePointer {
116
+ private readonly xrOrigin;
117
+ private readonly scene;
118
+ readonly reticle: Mesh<CircleGeometry, MeshBasicMaterial>;
119
+ provider: GazeCandidateProvider;
120
+ suppressWhenDirectPointerActive: boolean;
121
+ pointerTransformFollowsHand: boolean;
122
+ showDebugReticle: boolean;
123
+ private _trackingLossGraceSeconds;
124
+ get trackingLossGraceSeconds(): number;
125
+ set trackingLossGraceSeconds(value: number);
126
+ /** See {@link GazePointerOptions.diagnostics}. */
127
+ diagnosticsEnabled: boolean;
128
+ /**
129
+ * OneEuro smoother applied to the raw gaze pose. Public so hosts can retune
130
+ * `minCutoff`/`beta` from config without rebuilding the pointer.
131
+ */
132
+ readonly filter: FilteredEyeGaze;
133
+ /**
134
+ * Real `@pmndrs/pointer-events` Pointer driven by the filtered gaze ray.
135
+ * Each frame: pose-update + `pointer.move(scene)` raycasts from the gaze
136
+ * origin so UIKit and any other pointer-events listeners see enter/leave/
137
+ * move events from the gaze just like they do from the hand ray. On pinch
138
+ * we forward `down`/`up` with `button: 0` so `click` fires naturally.
139
+ */
140
+ readonly pointer: Pointer;
141
+ readonly pointerState: GazePointerState;
142
+ private readonly filteredOrigin;
143
+ private readonly filteredQuaternion;
144
+ private readonly rawOrigin;
145
+ private readonly rawQuaternion;
146
+ private readonly direction;
147
+ private readonly aimDirection;
148
+ private readonly reticleOffset;
149
+ private readonly rayTarget;
150
+ private readonly rayUp;
151
+ private readonly handOrigin;
152
+ private readonly handQuaternion;
153
+ private readonly worldRayQuaternion;
154
+ private readonly handRelativeRayQuaternion;
155
+ private readonly tmpQuat;
156
+ private readonly lookMatrix;
157
+ private readonly normalMatrix;
158
+ /** Reticle tint while gaze is genuinely tracked. */
159
+ private readonly reticleTrackedColor;
160
+ /**
161
+ * Synthetic `Object3D` whose world transform mirrors the *filtered* gaze
162
+ * pose. Lives under `xrOrigin` so it inherits rig motion; the @pmndrs ray
163
+ * intersector reads its position/quaternion to cast from.
164
+ */
165
+ private readonly gazeRaySpace;
166
+ private readonly conecasterCtx;
167
+ private readonly nativeEvent;
168
+ private readonly buttonEvent;
169
+ private currentHit;
170
+ private heldHit;
171
+ private heldByHand;
172
+ private wasSelecting;
173
+ private buttonDown;
174
+ private heldFollowsHand;
175
+ private hasAcquiredTrackedGaze;
176
+ private gazeSource;
177
+ private gazeSourcePresent;
178
+ private lastTrackedPoseTime;
179
+ private readonly diagnostics;
180
+ constructor(xrOrigin: XROrigin, scene: Scene, camera: PerspectiveCamera, options?: GazePointerOptions);
181
+ /**
182
+ * Add or remove the pointer's rig nodes (debug reticle and ray space).
183
+ *
184
+ * The pointer is constructed eagerly by {@link XRInputManager} so systems can
185
+ * hold a stable reference, but an app that never uses gaze shouldn't pay for
186
+ * gaze geometry in every rig matrix walk — so nothing is parented until gaze
187
+ * is actually switched on.
188
+ */
189
+ setAttached(attached: boolean): void;
190
+ /**
191
+ * Read the gaze target ray off the live frame and write it into
192
+ * {@link XROrigin.eyeSpace}.
193
+ *
194
+ * This mirrors the standalone WebXR eye-gaze diagnostic page's probe: find
195
+ * the input source whose `targetRayMode` is `'gaze'`, then pose its
196
+ * `targetRaySpace` against the frame's reference space, tolerating a throw.
197
+ * The source can exist while `getPose` returns null (uncalibrated headset,
198
+ * withheld permission), so source presence and pose validity are tracked
199
+ * separately. A missing or invalid pose clears the current gaze pose so stale
200
+ * tracking can never be used for targeting.
201
+ *
202
+ * Call once per frame before {@link GazePointer.update}.
203
+ */
204
+ sampleGazePose(time: number, context: GazeFrameContext): void;
205
+ /**
206
+ * Whether gaze mode should own far targeting this frame.
207
+ *
208
+ * This mirrors ISDK's mode/source distinction: a valid pose activates gaze;
209
+ * then a short grace period keeps the mode active when a frame's pose is
210
+ * invalid (for example, a blink), while targeting itself clears. WebXR does
211
+ * not expose a separate pose-validity signal, so source enumeration defines
212
+ * the lifetime of that grace period. Removing the source hands far targeting
213
+ * back to hands/controllers immediately; the grace period applies only to
214
+ * temporary pose invalidity (for example, a blink).
215
+ */
216
+ ownsFarTargeting(time: number): boolean;
217
+ /** Whether this frame has a pose that is safe to use for fresh targeting. */
218
+ canTarget(): boolean;
219
+ /**
220
+ * Swap the candidate provider at runtime (e.g. a multi-cone or dwell-only
221
+ * provider). The previous provider is reset and detached.
222
+ */
223
+ setCandidateProvider(provider: GazeCandidateProvider): void;
224
+ update(targetingAvailable: boolean, dt: number, time: number, input: GazePointerInput): void;
225
+ /** Resolve one candidate through the same intersector used for dispatch. */
226
+ private intersectCandidate;
227
+ /** Install the provider's authoritative intersection and emit one move. */
228
+ private commitHit;
229
+ /** Commit a void hit so the previous target receives out/leave events. */
230
+ private commitNoTarget;
231
+ private computeScopedIntersection;
232
+ private ensurePointerEnabled;
233
+ /** Pose the synthetic ray in world space while it remains parented to the rig. */
234
+ private setRayWorldPose;
235
+ /** Build a ray pose whose -Z axis follows `direction`. */
236
+ private setRayFromDirection;
237
+ /** Release event state before disabling or detaching the pointer. */
238
+ private releaseAndDisable;
239
+ private updateReticle;
240
+ private processSelector;
241
+ private driveHeldPointer;
242
+ private isHeldTargetAvailable;
243
+ private releaseSelect;
244
+ /** Current dwell winner's root Object3D (null if none/suppressed). */
245
+ getCurrentTarget(): Object3D | null;
246
+ /** Which hand initiated the active gaze-pinch select. */
247
+ getHeldByHand(): GazeHand | null;
248
+ /** True while a gaze-pinch select is held. */
249
+ isSelecting(): boolean;
250
+ /** World-space gaze origin (post-filter). */
251
+ getOrigin(): Vector3;
252
+ /** World-space gaze direction (post-filter, unit length). */
253
+ getDirection(): Vector3;
254
+ /**
255
+ * Whether a valid gaze pose is available this frame.
256
+ */
257
+ getGazeOrigin(): GazeOrigin;
258
+ /**
259
+ * Reset filter, provider, selector and diagnostic state. Call when gaze
260
+ * becomes invalid (session ended, eye tracking lost) so we don't carry stale
261
+ * samples, and so the next session re-reports its gaze verdict.
262
+ */
263
+ reset(): void;
264
+ dispose(): void;
265
+ }
266
+ //# sourceMappingURL=gaze-pointer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gaze-pointer.d.ts","sourceRoot":"","sources":["../../src/pointer/gaze-pointer.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EACL,OAAO,EAGR,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,cAAc,EACd,KAAK,EAGL,IAAI,EACJ,iBAAiB,EACjB,QAAQ,EACR,iBAAiB,EAEjB,KAAK,EACL,OAAO,EACR,MAAM,OAAO,CAAC;AACf,OAAO,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAChE,OAAO,EACL,eAAe,EACf,sBAAsB,EACvB,MAAM,wBAAwB,CAAC;AAChC,OAAO,KAAK,EAEV,qBAAqB,EAEtB,MAAM,8BAA8B,CAAC;AAItC,MAAM,MAAM,QAAQ,GAAG,MAAM,GAAG,OAAO,CAAC;AAExC,wEAAwE;AACxE,MAAM,WAAW,gBAAgB;IAC/B,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,QAAQ,GAAG,IAAI,CAAC;CAC7B;AAED;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B,8DAA8D;IAC9D,UAAU,EAAE,aAAa,CAAC,QAAQ,CAAC,CAAC;IACpC,sDAAsD;IACtD,UAAU,EAAE;QAAE,IAAI,EAAE,OAAO,CAAC;QAAC,KAAK,EAAE,OAAO,CAAA;KAA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