@babylonjs/viewer 5.0.0 → 5.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/configuration/configuration.d.ts +107 -107
- package/configuration/configuration.js +15 -15
- package/configuration/configurationCompatibility.d.ts +8 -8
- package/configuration/configurationCompatibility.js +65 -65
- package/configuration/configurationContainer.d.ts +10 -10
- package/configuration/configurationContainer.js +9 -9
- package/configuration/globals.d.ts +6 -6
- package/configuration/globals.js +17 -17
- package/configuration/index.d.ts +2 -2
- package/configuration/index.js +3 -3
- package/configuration/interfaces/cameraConfiguration.d.ts +31 -31
- package/configuration/interfaces/cameraConfiguration.js +1 -1
- package/configuration/interfaces/colorGradingConfiguration.d.ts +81 -81
- package/configuration/interfaces/colorGradingConfiguration.js +1 -1
- package/configuration/interfaces/defaultRenderingPipelineConfiguration.d.ts +20 -20
- package/configuration/interfaces/defaultRenderingPipelineConfiguration.js +1 -1
- package/configuration/interfaces/environmentMapConfiguration.d.ts +22 -22
- package/configuration/interfaces/environmentMapConfiguration.js +1 -1
- package/configuration/interfaces/groundConfiguration.d.ts +24 -24
- package/configuration/interfaces/groundConfiguration.js +1 -1
- package/configuration/interfaces/imageProcessingConfiguration.d.ts +43 -43
- package/configuration/interfaces/imageProcessingConfiguration.js +1 -1
- package/configuration/interfaces/index.d.ts +15 -15
- package/configuration/interfaces/index.js +15 -15
- package/configuration/interfaces/lightConfiguration.d.ts +60 -60
- package/configuration/interfaces/lightConfiguration.js +1 -1
- package/configuration/interfaces/modelAnimationConfiguration.d.ts +26 -26
- package/configuration/interfaces/modelAnimationConfiguration.js +1 -1
- package/configuration/interfaces/modelConfiguration.d.ts +65 -65
- package/configuration/interfaces/modelConfiguration.js +1 -1
- package/configuration/interfaces/observersConfiguration.d.ts +5 -5
- package/configuration/interfaces/observersConfiguration.js +1 -1
- package/configuration/interfaces/sceneConfiguration.d.ts +48 -48
- package/configuration/interfaces/sceneConfiguration.js +1 -1
- package/configuration/interfaces/sceneOptimizerConfiguration.d.ts +23 -23
- package/configuration/interfaces/sceneOptimizerConfiguration.js +1 -1
- package/configuration/interfaces/skyboxConfiguration.d.ts +21 -21
- package/configuration/interfaces/skyboxConfiguration.js +1 -1
- package/configuration/interfaces/templateConfiguration.d.ts +67 -67
- package/configuration/interfaces/templateConfiguration.js +1 -1
- package/configuration/interfaces/vrConfiguration.d.ts +16 -16
- package/configuration/interfaces/vrConfiguration.js +1 -1
- package/configuration/loader.d.ts +4 -4
- package/configuration/loader.js +16 -16
- package/configuration/mappers.d.ts +42 -42
- package/configuration/mappers.js +190 -190
- package/configuration/renderOnlyLoader.d.ts +33 -33
- package/configuration/renderOnlyLoader.js +161 -161
- package/configuration/types/default.d.ts +6 -6
- package/configuration/types/default.js +120 -120
- package/configuration/types/environmentMap.d.ts +5 -5
- package/configuration/types/environmentMap.js +13 -13
- package/configuration/types/extended.d.ts +6 -6
- package/configuration/types/extended.js +316 -316
- package/configuration/types/index.d.ts +13 -13
- package/configuration/types/index.js +49 -49
- package/configuration/types/minimal.d.ts +6 -6
- package/configuration/types/minimal.js +42 -42
- package/configuration/types/renderOnlyDefault.d.ts +30 -30
- package/configuration/types/renderOnlyDefault.js +30 -30
- package/configuration/types/shadowLight.d.ts +9 -9
- package/configuration/types/shadowLight.js +63 -63
- package/helper/index.d.ts +26 -26
- package/helper/index.js +62 -62
- package/index.d.ts +30 -30
- package/index.js +45 -45
- package/initializer.d.ts +11 -11
- package/initializer.js +34 -34
- package/interfaces.d.ts +5 -5
- package/interfaces.js +1 -1
- package/labs/environmentSerializer.d.ts +126 -126
- package/labs/environmentSerializer.js +190 -190
- package/labs/texture.d.ts +183 -183
- package/labs/texture.js +300 -300
- package/labs/viewerLabs.d.ts +51 -51
- package/labs/viewerLabs.js +133 -133
- package/loader/modelLoader.d.ts +47 -47
- package/loader/modelLoader.js +189 -189
- package/loader/plugins/applyMaterialConfig.d.ts +12 -12
- package/loader/plugins/applyMaterialConfig.js +15 -15
- package/loader/plugins/extendedMaterialLoaderPlugin.d.ts +9 -9
- package/loader/plugins/extendedMaterialLoaderPlugin.js +15 -15
- package/loader/plugins/index.d.ts +18 -18
- package/loader/plugins/index.js +42 -42
- package/loader/plugins/loaderPlugin.d.ts +24 -24
- package/loader/plugins/loaderPlugin.js +1 -1
- package/loader/plugins/msftLodLoaderPlugin.d.ts +12 -12
- package/loader/plugins/msftLodLoaderPlugin.js +20 -20
- package/loader/plugins/telemetryLoaderPlugin.d.ts +12 -12
- package/loader/plugins/telemetryLoaderPlugin.js +35 -35
- package/managers/observablesManager.d.ts +66 -66
- package/managers/observablesManager.js +34 -34
- package/managers/sceneManager.d.ts +243 -243
- package/managers/sceneManager.js +1388 -1388
- package/managers/telemetryManager.d.ts +57 -57
- package/managers/telemetryManager.js +113 -113
- package/model/modelAnimation.d.ts +215 -215
- package/model/modelAnimation.js +232 -232
- package/model/viewerModel.d.ts +228 -228
- package/model/viewerModel.js +669 -669
- package/optimizer/custom/extended.d.ts +11 -11
- package/optimizer/custom/extended.js +98 -98
- package/optimizer/custom/index.d.ts +8 -8
- package/optimizer/custom/index.js +24 -24
- package/package.json +5 -5
- package/renderOnlyIndex.d.ts +11 -11
- package/renderOnlyIndex.js +17 -17
- package/templating/eventManager.d.ts +35 -35
- package/templating/eventManager.js +65 -65
- package/templating/plugins/hdButtonPlugin.d.ts +9 -9
- package/templating/plugins/hdButtonPlugin.js +21 -21
- package/templating/plugins/printButton.d.ts +9 -9
- package/templating/plugins/printButton.js +40 -40
- package/templating/templateManager.d.ts +190 -190
- package/templating/templateManager.js +553 -553
- package/templating/viewerTemplatePlugin.d.ts +21 -21
- package/templating/viewerTemplatePlugin.js +68 -68
- package/viewer/defaultViewer.d.ts +122 -122
- package/viewer/defaultViewer.js +665 -665
- package/viewer/renderOnlyViewer.d.ts +8 -8
- package/viewer/renderOnlyViewer.js +43 -43
- package/viewer/viewer.d.ts +254 -254
- package/viewer/viewer.js +777 -777
- package/viewer/viewerManager.d.ts +55 -55
- package/viewer/viewerManager.js +87 -87
- package/viewer/viewerWithTemplate.d.ts +9 -9
- package/viewer/viewerWithTemplate.js +19 -19
|
@@ -1,81 +1,81 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The Color Grading Configuration groups the different settings used to define the color grading used in the viewer.
|
|
3
|
-
*/
|
|
4
|
-
export interface IColorGradingConfiguration {
|
|
5
|
-
/**
|
|
6
|
-
* Transform data string, encoded as determined by transformDataFormat.
|
|
7
|
-
*/
|
|
8
|
-
transformData: string;
|
|
9
|
-
/**
|
|
10
|
-
* The encoding format of TransformData (currently only raw-base16 is supported).
|
|
11
|
-
*/
|
|
12
|
-
transformDataFormat: string;
|
|
13
|
-
/**
|
|
14
|
-
* The weight of the transform
|
|
15
|
-
*/
|
|
16
|
-
transformWeight: number;
|
|
17
|
-
/**
|
|
18
|
-
* Color curve colorFilterHueGlobal value
|
|
19
|
-
*/
|
|
20
|
-
colorFilterHueGlobal: number;
|
|
21
|
-
/**
|
|
22
|
-
* Color curve colorFilterHueShadows value
|
|
23
|
-
*/
|
|
24
|
-
colorFilterHueShadows: number;
|
|
25
|
-
/**
|
|
26
|
-
* Color curve colorFilterHueMidtones value
|
|
27
|
-
*/
|
|
28
|
-
colorFilterHueMidtones: number;
|
|
29
|
-
/**
|
|
30
|
-
* Color curve colorFilterHueHighlights value
|
|
31
|
-
*/
|
|
32
|
-
colorFilterHueHighlights: number;
|
|
33
|
-
/**
|
|
34
|
-
* Color curve colorFilterDensityGlobal value
|
|
35
|
-
*/
|
|
36
|
-
colorFilterDensityGlobal: number;
|
|
37
|
-
/**
|
|
38
|
-
* Color curve colorFilterDensityShadows value
|
|
39
|
-
*/
|
|
40
|
-
colorFilterDensityShadows: number;
|
|
41
|
-
/**
|
|
42
|
-
* Color curve colorFilterDensityMidtones value
|
|
43
|
-
*/
|
|
44
|
-
colorFilterDensityMidtones: number;
|
|
45
|
-
/**
|
|
46
|
-
* Color curve colorFilterDensityHighlights value
|
|
47
|
-
*/
|
|
48
|
-
colorFilterDensityHighlights: number;
|
|
49
|
-
/**
|
|
50
|
-
* Color curve saturationGlobal value
|
|
51
|
-
*/
|
|
52
|
-
saturationGlobal: number;
|
|
53
|
-
/**
|
|
54
|
-
* Color curve saturationShadows value
|
|
55
|
-
*/
|
|
56
|
-
saturationShadows: number;
|
|
57
|
-
/**
|
|
58
|
-
* Color curve saturationMidtones value
|
|
59
|
-
*/
|
|
60
|
-
saturationMidtones: number;
|
|
61
|
-
/**
|
|
62
|
-
* Color curve saturationHighlights value
|
|
63
|
-
*/
|
|
64
|
-
saturationHighlights: number;
|
|
65
|
-
/**
|
|
66
|
-
* Color curve exposureGlobal value
|
|
67
|
-
*/
|
|
68
|
-
exposureGlobal: number;
|
|
69
|
-
/**
|
|
70
|
-
* Color curve exposureShadows value
|
|
71
|
-
*/
|
|
72
|
-
exposureShadows: number;
|
|
73
|
-
/**
|
|
74
|
-
* Color curve exposureMidtones value
|
|
75
|
-
*/
|
|
76
|
-
exposureMidtones: number;
|
|
77
|
-
/**
|
|
78
|
-
* Color curve exposureHighlights value
|
|
79
|
-
*/
|
|
80
|
-
exposureHighlights: number;
|
|
81
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* The Color Grading Configuration groups the different settings used to define the color grading used in the viewer.
|
|
3
|
+
*/
|
|
4
|
+
export interface IColorGradingConfiguration {
|
|
5
|
+
/**
|
|
6
|
+
* Transform data string, encoded as determined by transformDataFormat.
|
|
7
|
+
*/
|
|
8
|
+
transformData: string;
|
|
9
|
+
/**
|
|
10
|
+
* The encoding format of TransformData (currently only raw-base16 is supported).
|
|
11
|
+
*/
|
|
12
|
+
transformDataFormat: string;
|
|
13
|
+
/**
|
|
14
|
+
* The weight of the transform
|
|
15
|
+
*/
|
|
16
|
+
transformWeight: number;
|
|
17
|
+
/**
|
|
18
|
+
* Color curve colorFilterHueGlobal value
|
|
19
|
+
*/
|
|
20
|
+
colorFilterHueGlobal: number;
|
|
21
|
+
/**
|
|
22
|
+
* Color curve colorFilterHueShadows value
|
|
23
|
+
*/
|
|
24
|
+
colorFilterHueShadows: number;
|
|
25
|
+
/**
|
|
26
|
+
* Color curve colorFilterHueMidtones value
|
|
27
|
+
*/
|
|
28
|
+
colorFilterHueMidtones: number;
|
|
29
|
+
/**
|
|
30
|
+
* Color curve colorFilterHueHighlights value
|
|
31
|
+
*/
|
|
32
|
+
colorFilterHueHighlights: number;
|
|
33
|
+
/**
|
|
34
|
+
* Color curve colorFilterDensityGlobal value
|
|
35
|
+
*/
|
|
36
|
+
colorFilterDensityGlobal: number;
|
|
37
|
+
/**
|
|
38
|
+
* Color curve colorFilterDensityShadows value
|
|
39
|
+
*/
|
|
40
|
+
colorFilterDensityShadows: number;
|
|
41
|
+
/**
|
|
42
|
+
* Color curve colorFilterDensityMidtones value
|
|
43
|
+
*/
|
|
44
|
+
colorFilterDensityMidtones: number;
|
|
45
|
+
/**
|
|
46
|
+
* Color curve colorFilterDensityHighlights value
|
|
47
|
+
*/
|
|
48
|
+
colorFilterDensityHighlights: number;
|
|
49
|
+
/**
|
|
50
|
+
* Color curve saturationGlobal value
|
|
51
|
+
*/
|
|
52
|
+
saturationGlobal: number;
|
|
53
|
+
/**
|
|
54
|
+
* Color curve saturationShadows value
|
|
55
|
+
*/
|
|
56
|
+
saturationShadows: number;
|
|
57
|
+
/**
|
|
58
|
+
* Color curve saturationMidtones value
|
|
59
|
+
*/
|
|
60
|
+
saturationMidtones: number;
|
|
61
|
+
/**
|
|
62
|
+
* Color curve saturationHighlights value
|
|
63
|
+
*/
|
|
64
|
+
saturationHighlights: number;
|
|
65
|
+
/**
|
|
66
|
+
* Color curve exposureGlobal value
|
|
67
|
+
*/
|
|
68
|
+
exposureGlobal: number;
|
|
69
|
+
/**
|
|
70
|
+
* Color curve exposureShadows value
|
|
71
|
+
*/
|
|
72
|
+
exposureShadows: number;
|
|
73
|
+
/**
|
|
74
|
+
* Color curve exposureMidtones value
|
|
75
|
+
*/
|
|
76
|
+
exposureMidtones: number;
|
|
77
|
+
/**
|
|
78
|
+
* Color curve exposureHighlights value
|
|
79
|
+
*/
|
|
80
|
+
exposureHighlights: number;
|
|
81
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
2
2
|
//# sourceMappingURL=colorGradingConfiguration.js.map
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import type { DepthOfFieldEffectBlurLevel } from "@babylonjs/core/PostProcesses/depthOfFieldEffect.js";
|
|
2
|
-
export interface IDefaultRenderingPipelineConfiguration {
|
|
3
|
-
sharpenEnabled?: boolean;
|
|
4
|
-
bloomEnabled?: boolean;
|
|
5
|
-
bloomThreshold?: number;
|
|
6
|
-
depthOfFieldEnabled?: boolean;
|
|
7
|
-
depthOfFieldBlurLevel?: DepthOfFieldEffectBlurLevel;
|
|
8
|
-
fxaaEnabled?: boolean;
|
|
9
|
-
imageProcessingEnabled?: boolean;
|
|
10
|
-
defaultPipelineTextureType?: number;
|
|
11
|
-
bloomScale?: number;
|
|
12
|
-
chromaticAberrationEnabled?: boolean;
|
|
13
|
-
grainEnabled?: boolean;
|
|
14
|
-
bloomKernel?: number;
|
|
15
|
-
hardwareScaleLevel?: number;
|
|
16
|
-
bloomWeight?: number;
|
|
17
|
-
hdr?: boolean;
|
|
18
|
-
samples?: number;
|
|
19
|
-
glowLayerEnabled?: boolean;
|
|
20
|
-
}
|
|
1
|
+
import type { DepthOfFieldEffectBlurLevel } from "@babylonjs/core/PostProcesses/depthOfFieldEffect.js";
|
|
2
|
+
export interface IDefaultRenderingPipelineConfiguration {
|
|
3
|
+
sharpenEnabled?: boolean;
|
|
4
|
+
bloomEnabled?: boolean;
|
|
5
|
+
bloomThreshold?: number;
|
|
6
|
+
depthOfFieldEnabled?: boolean;
|
|
7
|
+
depthOfFieldBlurLevel?: DepthOfFieldEffectBlurLevel;
|
|
8
|
+
fxaaEnabled?: boolean;
|
|
9
|
+
imageProcessingEnabled?: boolean;
|
|
10
|
+
defaultPipelineTextureType?: number;
|
|
11
|
+
bloomScale?: number;
|
|
12
|
+
chromaticAberrationEnabled?: boolean;
|
|
13
|
+
grainEnabled?: boolean;
|
|
14
|
+
bloomKernel?: number;
|
|
15
|
+
hardwareScaleLevel?: number;
|
|
16
|
+
bloomWeight?: number;
|
|
17
|
+
hdr?: boolean;
|
|
18
|
+
samples?: number;
|
|
19
|
+
glowLayerEnabled?: boolean;
|
|
20
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
2
2
|
//# sourceMappingURL=defaultRenderingPipelineConfiguration.js.map
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
export interface IEnvironmentMapConfiguration {
|
|
2
|
-
/**
|
|
3
|
-
* Environment map texture path in relative to the asset folder.
|
|
4
|
-
*/
|
|
5
|
-
texture: string;
|
|
6
|
-
/**
|
|
7
|
-
* Default rotation to apply to the environment map.
|
|
8
|
-
*/
|
|
9
|
-
rotationY: number;
|
|
10
|
-
/**
|
|
11
|
-
* Tint level of the main color on the environment map.
|
|
12
|
-
*/
|
|
13
|
-
tintLevel: number;
|
|
14
|
-
/**
|
|
15
|
-
* The environment's main color.
|
|
16
|
-
*/
|
|
17
|
-
mainColor?: {
|
|
18
|
-
r?: number;
|
|
19
|
-
g?: number;
|
|
20
|
-
b?: number;
|
|
21
|
-
};
|
|
22
|
-
}
|
|
1
|
+
export interface IEnvironmentMapConfiguration {
|
|
2
|
+
/**
|
|
3
|
+
* Environment map texture path in relative to the asset folder.
|
|
4
|
+
*/
|
|
5
|
+
texture: string;
|
|
6
|
+
/**
|
|
7
|
+
* Default rotation to apply to the environment map.
|
|
8
|
+
*/
|
|
9
|
+
rotationY: number;
|
|
10
|
+
/**
|
|
11
|
+
* Tint level of the main color on the environment map.
|
|
12
|
+
*/
|
|
13
|
+
tintLevel: number;
|
|
14
|
+
/**
|
|
15
|
+
* The environment's main color.
|
|
16
|
+
*/
|
|
17
|
+
mainColor?: {
|
|
18
|
+
r?: number;
|
|
19
|
+
g?: number;
|
|
20
|
+
b?: number;
|
|
21
|
+
};
|
|
22
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
2
2
|
//# sourceMappingURL=environmentMapConfiguration.js.map
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
export interface IGroundConfiguration {
|
|
2
|
-
size?: number;
|
|
3
|
-
receiveShadows?: boolean;
|
|
4
|
-
shadowLevel?: number;
|
|
5
|
-
/** @deprecated */ shadowOnly?: boolean;
|
|
6
|
-
mirror?: boolean | {
|
|
7
|
-
sizeRatio?: number;
|
|
8
|
-
blurKernel?: number;
|
|
9
|
-
amount?: number;
|
|
10
|
-
fresnelWeight?: number;
|
|
11
|
-
fallOffDistance?: number;
|
|
12
|
-
textureType?: number;
|
|
13
|
-
};
|
|
14
|
-
texture?: string;
|
|
15
|
-
color?: {
|
|
16
|
-
r: number;
|
|
17
|
-
g: number;
|
|
18
|
-
b: number;
|
|
19
|
-
};
|
|
20
|
-
opacity?: number;
|
|
21
|
-
material?: {
|
|
22
|
-
[propName: string]: any;
|
|
23
|
-
};
|
|
24
|
-
}
|
|
1
|
+
export interface IGroundConfiguration {
|
|
2
|
+
size?: number;
|
|
3
|
+
receiveShadows?: boolean;
|
|
4
|
+
shadowLevel?: number;
|
|
5
|
+
/** @deprecated */ shadowOnly?: boolean;
|
|
6
|
+
mirror?: boolean | {
|
|
7
|
+
sizeRatio?: number;
|
|
8
|
+
blurKernel?: number;
|
|
9
|
+
amount?: number;
|
|
10
|
+
fresnelWeight?: number;
|
|
11
|
+
fallOffDistance?: number;
|
|
12
|
+
textureType?: number;
|
|
13
|
+
};
|
|
14
|
+
texture?: string;
|
|
15
|
+
color?: {
|
|
16
|
+
r: number;
|
|
17
|
+
g: number;
|
|
18
|
+
b: number;
|
|
19
|
+
};
|
|
20
|
+
opacity?: number;
|
|
21
|
+
material?: {
|
|
22
|
+
[propName: string]: any;
|
|
23
|
+
};
|
|
24
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
2
2
|
//# sourceMappingURL=groundConfiguration.js.map
|
|
@@ -1,43 +1,43 @@
|
|
|
1
|
-
export interface IImageProcessingConfiguration {
|
|
2
|
-
colorGradingEnabled?: boolean;
|
|
3
|
-
colorCurvesEnabled?: boolean;
|
|
4
|
-
colorCurves?: {
|
|
5
|
-
globalHue?: number;
|
|
6
|
-
globalDensity?: number;
|
|
7
|
-
globalSaturation?: number;
|
|
8
|
-
globalExposure?: number;
|
|
9
|
-
highlightsHue?: number;
|
|
10
|
-
highlightsDensity?: number;
|
|
11
|
-
highlightsSaturation?: number;
|
|
12
|
-
highlightsExposure?: number;
|
|
13
|
-
midtonesHue?: number;
|
|
14
|
-
midtonesDensity?: number;
|
|
15
|
-
midtonesSaturation?: number;
|
|
16
|
-
midtonesExposure?: number;
|
|
17
|
-
shadowsHue?: number;
|
|
18
|
-
shadowsDensity?: number;
|
|
19
|
-
shadowsSaturation?: number;
|
|
20
|
-
shadowsExposure?: number;
|
|
21
|
-
};
|
|
22
|
-
colorGradingWithGreenDepth?: boolean;
|
|
23
|
-
colorGradingBGR?: boolean;
|
|
24
|
-
exposure?: number;
|
|
25
|
-
toneMappingEnabled?: boolean;
|
|
26
|
-
contrast?: number;
|
|
27
|
-
vignetteEnabled?: boolean;
|
|
28
|
-
vignetteStretch?: number;
|
|
29
|
-
vignetteCentreX?: number;
|
|
30
|
-
vignetteCentreY?: number;
|
|
31
|
-
vignetteWeight?: number;
|
|
32
|
-
vignetteColor?: {
|
|
33
|
-
r: number;
|
|
34
|
-
g: number;
|
|
35
|
-
b: number;
|
|
36
|
-
a?: number;
|
|
37
|
-
};
|
|
38
|
-
vignetteCameraFov?: number;
|
|
39
|
-
vignetteBlendMode?: number;
|
|
40
|
-
vignetteM?: boolean;
|
|
41
|
-
applyByPostProcess?: boolean;
|
|
42
|
-
isEnabled?: boolean;
|
|
43
|
-
}
|
|
1
|
+
export interface IImageProcessingConfiguration {
|
|
2
|
+
colorGradingEnabled?: boolean;
|
|
3
|
+
colorCurvesEnabled?: boolean;
|
|
4
|
+
colorCurves?: {
|
|
5
|
+
globalHue?: number;
|
|
6
|
+
globalDensity?: number;
|
|
7
|
+
globalSaturation?: number;
|
|
8
|
+
globalExposure?: number;
|
|
9
|
+
highlightsHue?: number;
|
|
10
|
+
highlightsDensity?: number;
|
|
11
|
+
highlightsSaturation?: number;
|
|
12
|
+
highlightsExposure?: number;
|
|
13
|
+
midtonesHue?: number;
|
|
14
|
+
midtonesDensity?: number;
|
|
15
|
+
midtonesSaturation?: number;
|
|
16
|
+
midtonesExposure?: number;
|
|
17
|
+
shadowsHue?: number;
|
|
18
|
+
shadowsDensity?: number;
|
|
19
|
+
shadowsSaturation?: number;
|
|
20
|
+
shadowsExposure?: number;
|
|
21
|
+
};
|
|
22
|
+
colorGradingWithGreenDepth?: boolean;
|
|
23
|
+
colorGradingBGR?: boolean;
|
|
24
|
+
exposure?: number;
|
|
25
|
+
toneMappingEnabled?: boolean;
|
|
26
|
+
contrast?: number;
|
|
27
|
+
vignetteEnabled?: boolean;
|
|
28
|
+
vignetteStretch?: number;
|
|
29
|
+
vignetteCentreX?: number;
|
|
30
|
+
vignetteCentreY?: number;
|
|
31
|
+
vignetteWeight?: number;
|
|
32
|
+
vignetteColor?: {
|
|
33
|
+
r: number;
|
|
34
|
+
g: number;
|
|
35
|
+
b: number;
|
|
36
|
+
a?: number;
|
|
37
|
+
};
|
|
38
|
+
vignetteCameraFov?: number;
|
|
39
|
+
vignetteBlendMode?: number;
|
|
40
|
+
vignetteM?: boolean;
|
|
41
|
+
applyByPostProcess?: boolean;
|
|
42
|
+
isEnabled?: boolean;
|
|
43
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
2
2
|
//# sourceMappingURL=imageProcessingConfiguration.js.map
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
export * from "./cameraConfiguration";
|
|
2
|
-
export * from "./colorGradingConfiguration";
|
|
3
|
-
export * from "./defaultRenderingPipelineConfiguration";
|
|
4
|
-
export * from "./groundConfiguration";
|
|
5
|
-
export * from "./imageProcessingConfiguration";
|
|
6
|
-
export * from "./lightConfiguration";
|
|
7
|
-
export * from "./modelAnimationConfiguration";
|
|
8
|
-
export * from "./modelConfiguration";
|
|
9
|
-
export * from "./observersConfiguration";
|
|
10
|
-
export * from "./sceneConfiguration";
|
|
11
|
-
export * from "./sceneOptimizerConfiguration";
|
|
12
|
-
export * from "./skyboxConfiguration";
|
|
13
|
-
export * from "./templateConfiguration";
|
|
14
|
-
export * from "./vrConfiguration";
|
|
15
|
-
export * from "./environmentMapConfiguration";
|
|
1
|
+
export * from "./cameraConfiguration";
|
|
2
|
+
export * from "./colorGradingConfiguration";
|
|
3
|
+
export * from "./defaultRenderingPipelineConfiguration";
|
|
4
|
+
export * from "./groundConfiguration";
|
|
5
|
+
export * from "./imageProcessingConfiguration";
|
|
6
|
+
export * from "./lightConfiguration";
|
|
7
|
+
export * from "./modelAnimationConfiguration";
|
|
8
|
+
export * from "./modelConfiguration";
|
|
9
|
+
export * from "./observersConfiguration";
|
|
10
|
+
export * from "./sceneConfiguration";
|
|
11
|
+
export * from "./sceneOptimizerConfiguration";
|
|
12
|
+
export * from "./skyboxConfiguration";
|
|
13
|
+
export * from "./templateConfiguration";
|
|
14
|
+
export * from "./vrConfiguration";
|
|
15
|
+
export * from "./environmentMapConfiguration";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
export * from "./cameraConfiguration.js";
|
|
2
|
-
export * from "./colorGradingConfiguration.js";
|
|
3
|
-
export * from "./defaultRenderingPipelineConfiguration.js";
|
|
4
|
-
export * from "./groundConfiguration.js";
|
|
5
|
-
export * from "./imageProcessingConfiguration.js";
|
|
6
|
-
export * from "./lightConfiguration.js";
|
|
7
|
-
export * from "./modelAnimationConfiguration.js";
|
|
8
|
-
export * from "./modelConfiguration.js";
|
|
9
|
-
export * from "./observersConfiguration.js";
|
|
10
|
-
export * from "./sceneConfiguration.js";
|
|
11
|
-
export * from "./sceneOptimizerConfiguration.js";
|
|
12
|
-
export * from "./skyboxConfiguration.js";
|
|
13
|
-
export * from "./templateConfiguration.js";
|
|
14
|
-
export * from "./vrConfiguration.js";
|
|
15
|
-
export * from "./environmentMapConfiguration.js";
|
|
1
|
+
export * from "./cameraConfiguration.js";
|
|
2
|
+
export * from "./colorGradingConfiguration.js";
|
|
3
|
+
export * from "./defaultRenderingPipelineConfiguration.js";
|
|
4
|
+
export * from "./groundConfiguration.js";
|
|
5
|
+
export * from "./imageProcessingConfiguration.js";
|
|
6
|
+
export * from "./lightConfiguration.js";
|
|
7
|
+
export * from "./modelAnimationConfiguration.js";
|
|
8
|
+
export * from "./modelConfiguration.js";
|
|
9
|
+
export * from "./observersConfiguration.js";
|
|
10
|
+
export * from "./sceneConfiguration.js";
|
|
11
|
+
export * from "./sceneOptimizerConfiguration.js";
|
|
12
|
+
export * from "./skyboxConfiguration.js";
|
|
13
|
+
export * from "./templateConfiguration.js";
|
|
14
|
+
export * from "./vrConfiguration.js";
|
|
15
|
+
export * from "./environmentMapConfiguration.js";
|
|
16
16
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,60 +1,60 @@
|
|
|
1
|
-
export interface ILightConfiguration {
|
|
2
|
-
type: number;
|
|
3
|
-
name?: string;
|
|
4
|
-
disabled?: boolean;
|
|
5
|
-
position?: {
|
|
6
|
-
x: number;
|
|
7
|
-
y: number;
|
|
8
|
-
z: number;
|
|
9
|
-
};
|
|
10
|
-
target?: {
|
|
11
|
-
x: number;
|
|
12
|
-
y: number;
|
|
13
|
-
z: number;
|
|
14
|
-
};
|
|
15
|
-
direction?: {
|
|
16
|
-
x: number;
|
|
17
|
-
y: number;
|
|
18
|
-
z: number;
|
|
19
|
-
};
|
|
20
|
-
diffuse?: {
|
|
21
|
-
r: number;
|
|
22
|
-
g: number;
|
|
23
|
-
b: number;
|
|
24
|
-
};
|
|
25
|
-
specular?: {
|
|
26
|
-
r: number;
|
|
27
|
-
g: number;
|
|
28
|
-
b: number;
|
|
29
|
-
};
|
|
30
|
-
intensity?: number;
|
|
31
|
-
intensityMode?: number;
|
|
32
|
-
radius?: number;
|
|
33
|
-
shadownEnabled?: boolean;
|
|
34
|
-
shadowConfig?: {
|
|
35
|
-
useBlurExponentialShadowMap?: boolean;
|
|
36
|
-
useBlurCloseExponentialShadowMap?: boolean;
|
|
37
|
-
useKernelBlur?: boolean;
|
|
38
|
-
blurKernel?: number;
|
|
39
|
-
blurScale?: number;
|
|
40
|
-
minZ?: number;
|
|
41
|
-
maxZ?: number;
|
|
42
|
-
frustumSize?: number;
|
|
43
|
-
angleScale?: number;
|
|
44
|
-
frustumEdgeFalloff?: number;
|
|
45
|
-
[propName: string]: any;
|
|
46
|
-
};
|
|
47
|
-
spotAngle?: number;
|
|
48
|
-
shadowFieldOfView?: number;
|
|
49
|
-
shadowBufferSize?: number;
|
|
50
|
-
shadowFrustumSize?: number;
|
|
51
|
-
shadowMinZ?: number;
|
|
52
|
-
shadowMaxZ?: number;
|
|
53
|
-
[propName: string]: any;
|
|
54
|
-
behaviors?: {
|
|
55
|
-
[name: string]: number | {
|
|
56
|
-
type: number;
|
|
57
|
-
[propName: string]: any;
|
|
58
|
-
};
|
|
59
|
-
};
|
|
60
|
-
}
|
|
1
|
+
export interface ILightConfiguration {
|
|
2
|
+
type: number;
|
|
3
|
+
name?: string;
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
position?: {
|
|
6
|
+
x: number;
|
|
7
|
+
y: number;
|
|
8
|
+
z: number;
|
|
9
|
+
};
|
|
10
|
+
target?: {
|
|
11
|
+
x: number;
|
|
12
|
+
y: number;
|
|
13
|
+
z: number;
|
|
14
|
+
};
|
|
15
|
+
direction?: {
|
|
16
|
+
x: number;
|
|
17
|
+
y: number;
|
|
18
|
+
z: number;
|
|
19
|
+
};
|
|
20
|
+
diffuse?: {
|
|
21
|
+
r: number;
|
|
22
|
+
g: number;
|
|
23
|
+
b: number;
|
|
24
|
+
};
|
|
25
|
+
specular?: {
|
|
26
|
+
r: number;
|
|
27
|
+
g: number;
|
|
28
|
+
b: number;
|
|
29
|
+
};
|
|
30
|
+
intensity?: number;
|
|
31
|
+
intensityMode?: number;
|
|
32
|
+
radius?: number;
|
|
33
|
+
shadownEnabled?: boolean;
|
|
34
|
+
shadowConfig?: {
|
|
35
|
+
useBlurExponentialShadowMap?: boolean;
|
|
36
|
+
useBlurCloseExponentialShadowMap?: boolean;
|
|
37
|
+
useKernelBlur?: boolean;
|
|
38
|
+
blurKernel?: number;
|
|
39
|
+
blurScale?: number;
|
|
40
|
+
minZ?: number;
|
|
41
|
+
maxZ?: number;
|
|
42
|
+
frustumSize?: number;
|
|
43
|
+
angleScale?: number;
|
|
44
|
+
frustumEdgeFalloff?: number;
|
|
45
|
+
[propName: string]: any;
|
|
46
|
+
};
|
|
47
|
+
spotAngle?: number;
|
|
48
|
+
shadowFieldOfView?: number;
|
|
49
|
+
shadowBufferSize?: number;
|
|
50
|
+
shadowFrustumSize?: number;
|
|
51
|
+
shadowMinZ?: number;
|
|
52
|
+
shadowMaxZ?: number;
|
|
53
|
+
[propName: string]: any;
|
|
54
|
+
behaviors?: {
|
|
55
|
+
[name: string]: number | {
|
|
56
|
+
type: number;
|
|
57
|
+
[propName: string]: any;
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
2
2
|
//# sourceMappingURL=lightConfiguration.js.map
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Defines an animation to be applied to a model (translation, scale or rotation).
|
|
3
|
-
*/
|
|
4
|
-
export interface IModelAnimationConfiguration {
|
|
5
|
-
/**
|
|
6
|
-
* Time of animation, in seconds
|
|
7
|
-
*/
|
|
8
|
-
time?: number;
|
|
9
|
-
/**
|
|
10
|
-
* Scale to apply
|
|
11
|
-
*/
|
|
12
|
-
scaling?: {
|
|
13
|
-
x: number;
|
|
14
|
-
y: number;
|
|
15
|
-
z: number;
|
|
16
|
-
};
|
|
17
|
-
/**
|
|
18
|
-
* Easing function to apply
|
|
19
|
-
*/
|
|
20
|
-
easingFunction?: number;
|
|
21
|
-
/**
|
|
22
|
-
* An Easing mode to apply to the easing function
|
|
23
|
-
* See BABYLON.EasingFunction
|
|
24
|
-
*/
|
|
25
|
-
easingMode?: number;
|
|
26
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* Defines an animation to be applied to a model (translation, scale or rotation).
|
|
3
|
+
*/
|
|
4
|
+
export interface IModelAnimationConfiguration {
|
|
5
|
+
/**
|
|
6
|
+
* Time of animation, in seconds
|
|
7
|
+
*/
|
|
8
|
+
time?: number;
|
|
9
|
+
/**
|
|
10
|
+
* Scale to apply
|
|
11
|
+
*/
|
|
12
|
+
scaling?: {
|
|
13
|
+
x: number;
|
|
14
|
+
y: number;
|
|
15
|
+
z: number;
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* Easing function to apply
|
|
19
|
+
*/
|
|
20
|
+
easingFunction?: number;
|
|
21
|
+
/**
|
|
22
|
+
* An Easing mode to apply to the easing function
|
|
23
|
+
* See BABYLON.EasingFunction
|
|
24
|
+
*/
|
|
25
|
+
easingMode?: number;
|
|
26
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
2
2
|
//# sourceMappingURL=modelAnimationConfiguration.js.map
|