Browse Source

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 năm trước cách đây
mục cha
commit
59e1b215da
1 tập tin đã thay đổi với 13 bổ sung0 xóa
  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 {