@graphty/graphty-element / config / XRUIConfig
Interface: XRUIConfig
Defined in: src/config/XRConfig.ts:12
UI configuration for XR buttons
Properties
enabled
enabled:
boolean
Defined in: src/config/XRConfig.ts:17
Enable or disable the XR UI buttons
Default
ts
trueposition
position:
"top-right"|"top-left"|"bottom-left"|"bottom-right"
Defined in: src/config/XRConfig.ts:23
Position of the XR buttons on screen
Default
ts
"bottom-left"showAvailabilityWarning
showAvailabilityWarning:
boolean
Defined in: src/config/XRConfig.ts:37
Show "VR / AR NOT AVAILABLE" warning when XR is not available When false, no message is displayed if AR/VR aren't available
Default
ts
falseunavailableMessageDuration
unavailableMessageDuration:
number
Defined in: src/config/XRConfig.ts:30
Duration in milliseconds to show "not available" message Set to 0 to keep message visible permanently
Default
ts
5000