Pārlūkot izejas kodu

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 gadi atpakaļ
vecāks
revīzija
59e1b215da
1 mainītis faili ar 13 papildinājumiem un 0 dzēšanām
  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 {