Skip to main content

Interface: UIExitButtonOptions

Defined in: src/ui/components/UIExitButton.ts:10

Extends​

Properties​

ariaLabel?​

optional ariaLabel: string

Defined in: src/ui/components/UIExitButton.ts:13


children?​

optional children: Object3D<Object3DEventMap>[]

Defined in: src/ui/UIElement.ts:94

Inherited from​

UIElementOptions.children


disabled?​

optional disabled: boolean

Defined in: src/ui/components/UIButton.ts:11

Inherited from​

UIButtonOptions.disabled


icon?​

optional icon: string

Defined in: src/ui/components/UIButton.ts:9

Inherited from​

UIButtonOptions.icon


interactionEnabled?​

optional interactionEnabled: boolean

Defined in: src/ui/UIElement.ts:97

Inherited from​

UIElementOptions.interactionEnabled


label?​

optional label: string

Defined in: src/ui/components/UIExitButton.ts:12


onClick()?​

optional onClick: () => void

Defined in: src/ui/components/UIButton.ts:12

Returns​

void

Inherited from​

UIButtonOptions.onClick


onExit()?​

optional onExit: () => void | Promise<void>

Defined in: src/ui/components/UIExitButton.ts:15

Custom exit handler. If omitted, ends the active WebXR session via the injected WebXRSessionManager.

Returns​

void | Promise<void>


pointerEvents?​

optional pointerEvents: PointerEvents

Defined in: src/ui/UIElement.ts:96

Inherited from​

UIElementOptions.pointerEvents


reticleMode?​

optional reticleMode: ReticleMode

Defined in: src/ui/UIElement.ts:98

Inherited from​

UIElementOptions.reticleMode


sessionManager?​

optional sessionManager: WebXRSessionManager

Defined in: src/ui/components/UIExitButton.ts:17

Optional explicit session manager instance (useful for testing or manual injection).


style?​

optional style: UIStyle

Defined in: src/ui/UIElement.ts:93

Inherited from​

UIElementOptions.style


visible?​

optional visible: boolean

Defined in: src/ui/UIElement.ts:95

Inherited from​

UIElementOptions.visible