headsetbutton
Studio is being deprecated, please head over to the documentation page for Mattercraft, our most advanced 3D tool for the web, where you can find the most recent information and tutorials.
("headsetbutton", () => void): this;
Emitted when the user taps anywhere on the screen during headset mode with the exception of the “exit-headset” button.
Standard pointer events (i.e. pointerenter/leave/down/up) are not emitted during headset mode.
Returns
Section titled “Returns”this
Handler Function
Section titled “Handler Function”When the headsetbutton
event is fired, attached handler functions are called with no arguments.