@graphty/graphty-element / config / XRUIConfig
Interface: XRUIConfig ​
Defined in: graphty-element/src/config/XRConfig.ts:12
UI configuration for XR buttons
Properties ​
enabled ​
enabled:
boolean
Defined in: graphty-element/src/config/XRConfig.ts:17
Enable or disable the XR UI buttons
Default ​
trueposition ​
position:
"top-right"|"top-left"|"bottom-left"|"bottom-right"
Defined in: graphty-element/src/config/XRConfig.ts:23
Position of the XR buttons on screen
Default ​
"bottom-left"showAvailabilityWarning ​
showAvailabilityWarning:
boolean
Defined in: graphty-element/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 ​
falseunavailableMessageDuration ​
unavailableMessageDuration:
number
Defined in: graphty-element/src/config/XRConfig.ts:30
Duration in milliseconds to show "not available" message Set to 0 to keep message visible permanently
Default ​
5000