Interface: UIExitButtonOptions
Defined in: src/ui/components/UIExitButton.ts:10
Extends
Omit<UIButtonOptions,"label"|"ariaLabel">
Properties
ariaLabel?
optionalariaLabel:string
Defined in: src/ui/components/UIExitButton.ts:13
children?
optionalchildren:Object3D<Object3DEventMap>[]
Defined in: src/ui/UIElement.ts:94
Inherited from
disabled?
optionaldisabled:boolean
Defined in: src/ui/components/UIButton.ts:11
Inherited from
icon?
optionalicon:string
Defined in: src/ui/components/UIButton.ts:9
Inherited from
interactionEnabled?
optionalinteractionEnabled:boolean
Defined in: src/ui/UIElement.ts:97
Inherited from
UIElementOptions.interactionEnabled
label?
optionallabel:string
Defined in: src/ui/components/UIExitButton.ts:12
onClick()?
optionalonClick: () =>void
Defined in: src/ui/components/UIButton.ts:12
Returns
void
Inherited from
onExit()?
optionalonExit: () =>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?
optionalpointerEvents:PointerEvents
Defined in: src/ui/UIElement.ts:96
Inherited from
UIElementOptions.pointerEvents
reticleMode?
optionalreticleMode:ReticleMode
Defined in: src/ui/UIElement.ts:98
Inherited from
sessionManager?
optionalsessionManager:WebXRSessionManager
Defined in: src/ui/components/UIExitButton.ts:17
Optional explicit session manager instance (useful for testing or manual injection).
style?
optionalstyle:UIStyle
Defined in: src/ui/UIElement.ts:93
Inherited from
visible?
optionalvisible:boolean
Defined in: src/ui/UIElement.ts:95