Skip to main content

ARButtonOptions

interface ARButtonOptions

Options for the ARButton

PARAMETERTYPEOPTIONALDEFAULTDESCRIPTION
availableTextstring✔️"View in AR"A text that will be shown on mouse hover when it's available to enter the AR session.
unavailableTextstring✔️"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.
buttonClassstring✔️"view3d-ar-button"A class that will be applied to the button element.
tooltipClassstring✔️"view3d-tooltip"A class that will be applied to the tooltip element.