You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<td>Whether or not to display UI related to entering VR.</td>
1073
1073
<td>true</td>
1074
1074
</tr>
1075
+
<tr>
1076
+
<td>enterVRButton</td>
1077
+
<td>Selector to a custom VR button. On click, the button will enter VR.</td>
1078
+
<td>‘’</td>
1079
+
</tr>
1075
1080
</tbody>
1076
1081
</table>
1082
+
<h3id="specifying-a-custom-enter-vr-button"><ahref="#specifying-a-custom-enter-vr-button" class="headerlink" title="Specifying a Custom Enter VR Button"></a>Specifying a Custom Enter VR Button</h3><figureclass="highlight html"><table><tr><tdclass="code"><pre><spanclass="line"><spanclass="tag"><<spanclass="name">a-scene</span><spanclass="attr">vr-mode-ui</span>=<spanclass="string">"enterVRButton: #myEnterVRButton"</span>></span></span><br><spanclass="line"><spanclass="comment"><!-- Style the button with images or whatever. --></span></span><br><spanclass="line"><spanclass="tag"><<spanclass="name">a</span><spanclass="attr">id</span>=<spanclass="string">"myEnterVRButton"</span><spanclass="attr">href</span>=<spanclass="string">"#"</span>></span><spanclass="tag"></<spanclass="name">a</span>></span></span><br><spanclass="line"><spanclass="tag"></<spanclass="name">a-scene</span>></span></span><br></pre></td></tr></table></figure>
0 commit comments