ARButtonOptions
interface ARButtonOptions
Options for the ARButton
PARAMETER | TYPE | OPTIONAL | DEFAULT | DESCRIPTION |
---|---|---|---|---|
availableText | string | ✔️ | "View in AR" | A text that will be shown on mouse hover when it's available to enter the AR session. |
unavailableText | string | ✔️ | "AR is not available in this browser" | A text that will be shown on mouse hover when it's not available to enter the AR session. |
buttonClass | string | ✔️ | "view3d-ar-button" | A class that will be applied to the button element. |
tooltipClass | string | ✔️ | "view3d-tooltip" | A class that will be applied to the tooltip element. |