|
@@ -1,5 +1,6 @@
|
|
|
import { EngineOptions } from 'babylonjs';
|
|
|
import { ICameraConfiguration, IDefaultRenderingPipelineConfiguration, IGroundConfiguration, ILightConfiguration, IModelConfiguration, IObserversConfiguration, ISceneConfiguration, ISceneOptimizerConfiguration, ISkyboxConfiguration, ITemplateConfiguration, IVRConfiguration } from './interfaces';
|
|
|
+import { IEnvironmentMapConfiguration } from './interfaces/environmentMapConfiguration';
|
|
|
|
|
|
export function getConfigurationKey(key: string, configObject: any) {
|
|
|
let splits = key.split('.');
|
|
@@ -80,6 +81,8 @@ export interface ViewerConfiguration {
|
|
|
[propName: string]: boolean | undefined;
|
|
|
};
|
|
|
|
|
|
+ environmentMap?: IEnvironmentMapConfiguration
|
|
|
+
|
|
|
vr?: IVRConfiguration;
|
|
|
|
|
|
// features that are being tested.
|
|
@@ -94,8 +97,10 @@ export interface ViewerConfiguration {
|
|
|
specular?: { r: number, g: number, b: number };
|
|
|
}
|
|
|
hideLoadingDelay?: number;
|
|
|
+ /** Deprecated */
|
|
|
assetsRootURL?: string;
|
|
|
environmentMainColor?: { r: number, g: number, b: number };
|
|
|
+ /** Deprecated */
|
|
|
environmentMap?: {
|
|
|
/**
|
|
|
* Environment map texture path in relative to the asset folder.
|