소스 검색

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 년 전
부모
커밋
59e1b215da
1개의 변경된 파일13개의 추가작업 그리고 0개의 파일을 삭제
  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 {