Interface: TouchUpdate<T = unknown>
Defined in: packages/webxr-uiextensions/src/core/touch-press.ts:69
The transitions the adapter acts on this frame.
Type Parameters
| Type Parameter | Default type |
|---|---|
T | unknown |
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
phase | TouchPhase | - | packages/webxr-uiextensions/src/core/touch-press.ts:70 |
pressed | boolean | True on the exact update where a press started; pressTarget is set. | packages/webxr-uiextensions/src/core/touch-press.ts:72 |
pressTarget | T | undefined | The target under the finger when the press started; kept through the hold. | packages/webxr-uiextensions/src/core/touch-press.ts:76 |
released | boolean | True on the exact update where the hold ended. | packages/webxr-uiextensions/src/core/touch-press.ts:74 |
releaseTarget | T | undefined | The target under the finger at the release, which may differ from pressTarget. | packages/webxr-uiextensions/src/core/touch-press.ts:78 |
sameTarget | boolean | On a release, whether it happened over the same target the press did. | packages/webxr-uiextensions/src/core/touch-press.ts:80 |