Explorar o código

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 %!s(int64=7) %!d(string=hai) anos
pai
achega
59e1b215da
Modificáronse 1 ficheiros con 13 adicións e 0 borrados
  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 {