Skip to main content

Interface: DockRecipe

Defined in: webxr-uiextensions/src/core/dock-state.ts:33

Engine-agnostic description of what a dock mode requires.

Properties

PropertyTypeDescriptionDefined in
followerbooleanRequires an IWSDK Follower targeting the player's head.webxr-uiextensions/src/core/dock-state.ts:35
handAnchorbooleanPlaced from a hand pose each frame, and gated on the palm (a hand menu).webxr-uiextensions/src/core/dock-state.ts:39
screenSpacebooleanRequires an IWSDK ScreenSpace component (non-XR HUD lock).webxr-uiextensions/src/core/dock-state.ts:37
snapOnEnterbooleanWhen true the window should re-sync its follow position immediately on entering the mode (jump to the ideal spot instead of drifting there).webxr-uiextensions/src/core/dock-state.ts:44