Parcourir la source

A-Frame: disable components xr-mode-ui and loading-screen

customisations
alemart il y a 7 mois
Parent
révision
e1d858b05c

+ 1
- 1
demos/hello-aframe/index.html Voir le fichier

@@ -14,7 +14,7 @@
14 14
     <body>
15 15
 
16 16
         <!-- The AR scene -->
17
-        <a-scene encantar="stats: true; gizmos: true">
17
+        <a-scene encantar="stats: true; gizmos: true" loading-screen="enabled: false">
18 18
 
19 19
             <!--
20 20
             +============================+

+ 1
- 1
demos/hello-aframe/video.html Voir le fichier

@@ -14,7 +14,7 @@
14 14
     <body>
15 15
 
16 16
         <!-- The AR scene -->
17
-        <a-scene encantar="stats: true; gizmos: true">
17
+        <a-scene encantar="stats: true; gizmos: true" loading-screen="enabled: false">
18 18
 
19 19
             <!--
20 20
             +============================+

+ 1
- 0
plugins/aframe-with-encantar.js Voir le fichier

@@ -488,6 +488,7 @@ AFRAME.registerComponent('encantar', ARComponent({
488 488
     init()
489 489
     {
490 490
         this._started = false;
491
+        this.el.setAttribute('xr-mode-ui', { enabled: false });
491 492
     },
492 493
 
493 494
     play()

Chargement…
Annuler
Enregistrer