ngokevin
ngokevin

Reputation: 13233

How do I hide the VR Mode / Goggles icon for A-Frame?

In the bottom right corner, by default, is a Goggles icon that when clicked, enters VR or fullscreen (if no headset). How do I hide this so I can add my own UI, or disable VR altogether?

Upvotes: 16

Views: 10033

Answers (2)

TLB
TLB

Reputation: 61

I know this is an old post, I just wanted to share this since I had the same issue: In the version 1.5.0 of A-frame, this attribute is not called vr-mode-ui anymore, but xr-mode-ui

So the code is

<a-scene xr-mode-ui="enabled: false">

Here's the newest documentation.

Upvotes: 4

ngokevin
ngokevin

Reputation: 13233

You can disable the vr-mode-ui component:

<a-scene vr-mode-ui="enabled: false">

Learn more about the vr-mode-ui component here.

Upvotes: 36

Related Questions