Interface: DockRecipe
Defined in: packages/webxr-uiextensions/src/core/dock-state.ts:33
Engine-agnostic description of what a dock mode requires.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
follower | boolean | Requires an IWSDK Follower targeting the player's head. | packages/webxr-uiextensions/src/core/dock-state.ts:35 |
handAnchor | boolean | Placed from a hand pose each frame, and gated on the palm (a hand menu). | packages/webxr-uiextensions/src/core/dock-state.ts:39 |
screenSpace | boolean | Requires an IWSDK ScreenSpace component (non-XR HUD lock). | packages/webxr-uiextensions/src/core/dock-state.ts:37 |
snapOnEnter | boolean | When true the window should re-sync its follow position immediately on entering the mode (jump to the ideal spot instead of drifting there). | packages/webxr-uiextensions/src/core/dock-state.ts:44 |