Ver código fonte

Introducing viewer lab!
The configurtaiont.lab features are test features that might be integrated into the framework and ight now. The might work and might now. Their name might change and might not.
What 100% sure is - if they are integrated, they won't stay in lab.
lab features are usually NOT for production!

Raanan Weber 7 anos atrás
pai
commit
59e1b215da
1 arquivos alterados com 13 adições e 0 exclusões
  1. 13 0
      Viewer/src/configuration/configuration.ts

+ 13 - 0
Viewer/src/configuration/configuration.ts

@@ -173,6 +173,19 @@ export interface ViewerConfiguration {
             [key: string]: string;
         }
     }
+
+    // features that are being tested.
+    // those features' syntax will change and move out! 
+    // Don't use in production (or be ready to make the changes :) )
+    lab?: {
+        flashlight?: boolean | {
+            exponent?: number;
+            radius?: number;
+            diffuse?: { r: number, g: number, b: number };
+            specular?: { r: number, g: number, b: number };
+        }
+        hideLoadingDelay?: number;
+    }
 }
 
 export interface SceneOptimizerParameters {