Przeglądaj źródła

A-Frame plugin: add 'crop' viewport style

customisations
alemart 2 miesięcy temu
rodzic
commit
e77c18686c
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1
    1
      plugins/aframe-with-encantar.js

+ 1
- 1
plugins/aframe-with-encantar.js Wyświetl plik

@@ -1048,7 +1048,7 @@ AFRAME.registerComponent('ar-viewport', ARComponent({
1048 1048
         /** viewport resolution */
1049 1049
         'resolution': { type: 'string', default: 'lg' },
1050 1050
 
1051
-        /** viewport style: "best-fit" | "stretch" | "inline" */
1051
+        /** viewport style: "best-fit" | "stretch" | "crop" | "inline" */
1052 1052
         'style': { type: 'string', default: 'best-fit' },
1053 1053
 
1054 1054
     },

Ładowanie…
Anuluj
Zapisz