@babylonjs/viewer 7.22.3 → 7.22.4-alpha

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.
Files changed (198) hide show
  1. package/dist/babylon-viewer.esm.js +117012 -0
  2. package/dist/babylon-viewer.esm.js.map +1 -0
  3. package/dist/babylon-viewer.esm.min.js +56 -0
  4. package/dist/babylon-viewer.esm.min.js.map +1 -0
  5. package/lib/index.d.ts +237 -0
  6. package/lib/index.js +862 -0
  7. package/lib/index.js.map +1 -0
  8. package/package.json +17 -27
  9. package/readme.md +35 -21
  10. package/configuration/configuration.d.ts +0 -107
  11. package/configuration/configuration.js +0 -16
  12. package/configuration/configuration.js.map +0 -1
  13. package/configuration/configurationCompatibility.d.ts +0 -8
  14. package/configuration/configurationCompatibility.js +0 -66
  15. package/configuration/configurationCompatibility.js.map +0 -1
  16. package/configuration/configurationContainer.d.ts +0 -10
  17. package/configuration/configurationContainer.js +0 -10
  18. package/configuration/configurationContainer.js.map +0 -1
  19. package/configuration/globals.d.ts +0 -6
  20. package/configuration/globals.js +0 -18
  21. package/configuration/globals.js.map +0 -1
  22. package/configuration/index.d.ts +0 -2
  23. package/configuration/index.js +0 -4
  24. package/configuration/index.js.map +0 -1
  25. package/configuration/interfaces/cameraConfiguration.d.ts +0 -31
  26. package/configuration/interfaces/cameraConfiguration.js +0 -2
  27. package/configuration/interfaces/cameraConfiguration.js.map +0 -1
  28. package/configuration/interfaces/colorGradingConfiguration.d.ts +0 -81
  29. package/configuration/interfaces/colorGradingConfiguration.js +0 -2
  30. package/configuration/interfaces/colorGradingConfiguration.js.map +0 -1
  31. package/configuration/interfaces/defaultRenderingPipelineConfiguration.d.ts +0 -20
  32. package/configuration/interfaces/defaultRenderingPipelineConfiguration.js +0 -2
  33. package/configuration/interfaces/defaultRenderingPipelineConfiguration.js.map +0 -1
  34. package/configuration/interfaces/environmentMapConfiguration.d.ts +0 -22
  35. package/configuration/interfaces/environmentMapConfiguration.js +0 -2
  36. package/configuration/interfaces/environmentMapConfiguration.js.map +0 -1
  37. package/configuration/interfaces/groundConfiguration.d.ts +0 -24
  38. package/configuration/interfaces/groundConfiguration.js +0 -2
  39. package/configuration/interfaces/groundConfiguration.js.map +0 -1
  40. package/configuration/interfaces/imageProcessingConfiguration.d.ts +0 -45
  41. package/configuration/interfaces/imageProcessingConfiguration.js +0 -2
  42. package/configuration/interfaces/imageProcessingConfiguration.js.map +0 -1
  43. package/configuration/interfaces/index.d.ts +0 -15
  44. package/configuration/interfaces/index.js +0 -16
  45. package/configuration/interfaces/index.js.map +0 -1
  46. package/configuration/interfaces/lightConfiguration.d.ts +0 -60
  47. package/configuration/interfaces/lightConfiguration.js +0 -2
  48. package/configuration/interfaces/lightConfiguration.js.map +0 -1
  49. package/configuration/interfaces/modelAnimationConfiguration.d.ts +0 -26
  50. package/configuration/interfaces/modelAnimationConfiguration.js +0 -2
  51. package/configuration/interfaces/modelAnimationConfiguration.js.map +0 -1
  52. package/configuration/interfaces/modelConfiguration.d.ts +0 -65
  53. package/configuration/interfaces/modelConfiguration.js +0 -2
  54. package/configuration/interfaces/modelConfiguration.js.map +0 -1
  55. package/configuration/interfaces/observersConfiguration.d.ts +0 -5
  56. package/configuration/interfaces/observersConfiguration.js +0 -2
  57. package/configuration/interfaces/observersConfiguration.js.map +0 -1
  58. package/configuration/interfaces/sceneConfiguration.d.ts +0 -48
  59. package/configuration/interfaces/sceneConfiguration.js +0 -2
  60. package/configuration/interfaces/sceneConfiguration.js.map +0 -1
  61. package/configuration/interfaces/sceneOptimizerConfiguration.d.ts +0 -23
  62. package/configuration/interfaces/sceneOptimizerConfiguration.js +0 -2
  63. package/configuration/interfaces/sceneOptimizerConfiguration.js.map +0 -1
  64. package/configuration/interfaces/skyboxConfiguration.d.ts +0 -21
  65. package/configuration/interfaces/skyboxConfiguration.js +0 -2
  66. package/configuration/interfaces/skyboxConfiguration.js.map +0 -1
  67. package/configuration/interfaces/templateConfiguration.d.ts +0 -67
  68. package/configuration/interfaces/templateConfiguration.js +0 -2
  69. package/configuration/interfaces/templateConfiguration.js.map +0 -1
  70. package/configuration/interfaces/vrConfiguration.d.ts +0 -16
  71. package/configuration/interfaces/vrConfiguration.js +0 -2
  72. package/configuration/interfaces/vrConfiguration.js.map +0 -1
  73. package/configuration/loader.d.ts +0 -4
  74. package/configuration/loader.js +0 -17
  75. package/configuration/loader.js.map +0 -1
  76. package/configuration/mappers.d.ts +0 -43
  77. package/configuration/mappers.js +0 -192
  78. package/configuration/mappers.js.map +0 -1
  79. package/configuration/renderOnlyLoader.d.ts +0 -33
  80. package/configuration/renderOnlyLoader.js +0 -162
  81. package/configuration/renderOnlyLoader.js.map +0 -1
  82. package/configuration/types/default.d.ts +0 -6
  83. package/configuration/types/default.js +0 -121
  84. package/configuration/types/default.js.map +0 -1
  85. package/configuration/types/environmentMap.d.ts +0 -5
  86. package/configuration/types/environmentMap.js +0 -14
  87. package/configuration/types/environmentMap.js.map +0 -1
  88. package/configuration/types/extended.d.ts +0 -6
  89. package/configuration/types/extended.js +0 -317
  90. package/configuration/types/extended.js.map +0 -1
  91. package/configuration/types/index.d.ts +0 -14
  92. package/configuration/types/index.js +0 -51
  93. package/configuration/types/index.js.map +0 -1
  94. package/configuration/types/minimal.d.ts +0 -6
  95. package/configuration/types/minimal.js +0 -43
  96. package/configuration/types/minimal.js.map +0 -1
  97. package/configuration/types/renderOnlyDefault.d.ts +0 -30
  98. package/configuration/types/renderOnlyDefault.js +0 -31
  99. package/configuration/types/renderOnlyDefault.js.map +0 -1
  100. package/configuration/types/shadowLight.d.ts +0 -9
  101. package/configuration/types/shadowLight.js +0 -64
  102. package/configuration/types/shadowLight.js.map +0 -1
  103. package/helper/index.d.ts +0 -29
  104. package/helper/index.js +0 -66
  105. package/helper/index.js.map +0 -1
  106. package/index.d.ts +0 -30
  107. package/index.js +0 -46
  108. package/index.js.map +0 -1
  109. package/initializer.d.ts +0 -11
  110. package/initializer.js +0 -35
  111. package/initializer.js.map +0 -1
  112. package/interfaces.d.ts +0 -5
  113. package/interfaces.js +0 -7
  114. package/interfaces.js.map +0 -1
  115. package/labs/environmentSerializer.d.ts +0 -126
  116. package/labs/environmentSerializer.js +0 -191
  117. package/labs/environmentSerializer.js.map +0 -1
  118. package/labs/texture.d.ts +0 -183
  119. package/labs/texture.js +0 -351
  120. package/labs/texture.js.map +0 -1
  121. package/labs/viewerLabs.d.ts +0 -51
  122. package/labs/viewerLabs.js +0 -134
  123. package/labs/viewerLabs.js.map +0 -1
  124. package/loader/modelLoader.d.ts +0 -56
  125. package/loader/modelLoader.js +0 -199
  126. package/loader/modelLoader.js.map +0 -1
  127. package/loader/plugins/applyMaterialConfig.d.ts +0 -12
  128. package/loader/plugins/applyMaterialConfig.js +0 -16
  129. package/loader/plugins/applyMaterialConfig.js.map +0 -1
  130. package/loader/plugins/extendedMaterialLoaderPlugin.d.ts +0 -9
  131. package/loader/plugins/extendedMaterialLoaderPlugin.js +0 -16
  132. package/loader/plugins/extendedMaterialLoaderPlugin.js.map +0 -1
  133. package/loader/plugins/index.d.ts +0 -19
  134. package/loader/plugins/index.js +0 -44
  135. package/loader/plugins/index.js.map +0 -1
  136. package/loader/plugins/loaderPlugin.d.ts +0 -24
  137. package/loader/plugins/loaderPlugin.js +0 -2
  138. package/loader/plugins/loaderPlugin.js.map +0 -1
  139. package/loader/plugins/msftLodLoaderPlugin.d.ts +0 -12
  140. package/loader/plugins/msftLodLoaderPlugin.js +0 -21
  141. package/loader/plugins/msftLodLoaderPlugin.js.map +0 -1
  142. package/loader/plugins/telemetryLoaderPlugin.d.ts +0 -12
  143. package/loader/plugins/telemetryLoaderPlugin.js +0 -36
  144. package/loader/plugins/telemetryLoaderPlugin.js.map +0 -1
  145. package/managers/observablesManager.d.ts +0 -66
  146. package/managers/observablesManager.js +0 -35
  147. package/managers/observablesManager.js.map +0 -1
  148. package/managers/sceneManager.d.ts +0 -245
  149. package/managers/sceneManager.js +0 -1375
  150. package/managers/sceneManager.js.map +0 -1
  151. package/managers/telemetryManager.d.ts +0 -78
  152. package/managers/telemetryManager.js +0 -117
  153. package/managers/telemetryManager.js.map +0 -1
  154. package/model/modelAnimation.d.ts +0 -215
  155. package/model/modelAnimation.js +0 -237
  156. package/model/modelAnimation.js.map +0 -1
  157. package/model/viewerModel.d.ts +0 -233
  158. package/model/viewerModel.js +0 -673
  159. package/model/viewerModel.js.map +0 -1
  160. package/optimizer/custom/extended.d.ts +0 -13
  161. package/optimizer/custom/extended.js +0 -101
  162. package/optimizer/custom/extended.js.map +0 -1
  163. package/optimizer/custom/index.d.ts +0 -9
  164. package/optimizer/custom/index.js +0 -26
  165. package/optimizer/custom/index.js.map +0 -1
  166. package/renderOnlyIndex.d.ts +0 -11
  167. package/renderOnlyIndex.js +0 -18
  168. package/renderOnlyIndex.js.map +0 -1
  169. package/templating/eventManager.d.ts +0 -35
  170. package/templating/eventManager.js +0 -66
  171. package/templating/eventManager.js.map +0 -1
  172. package/templating/plugins/hdButtonPlugin.d.ts +0 -9
  173. package/templating/plugins/hdButtonPlugin.js +0 -21
  174. package/templating/plugins/hdButtonPlugin.js.map +0 -1
  175. package/templating/plugins/printButton.d.ts +0 -9
  176. package/templating/plugins/printButton.js +0 -40
  177. package/templating/plugins/printButton.js.map +0 -1
  178. package/templating/templateManager.d.ts +0 -197
  179. package/templating/templateManager.js +0 -561
  180. package/templating/templateManager.js.map +0 -1
  181. package/templating/viewerTemplatePlugin.d.ts +0 -21
  182. package/templating/viewerTemplatePlugin.js +0 -69
  183. package/templating/viewerTemplatePlugin.js.map +0 -1
  184. package/viewer/defaultViewer.d.ts +0 -130
  185. package/viewer/defaultViewer.js +0 -675
  186. package/viewer/defaultViewer.js.map +0 -1
  187. package/viewer/renderOnlyViewer.d.ts +0 -9
  188. package/viewer/renderOnlyViewer.js +0 -46
  189. package/viewer/renderOnlyViewer.js.map +0 -1
  190. package/viewer/viewer.d.ts +0 -258
  191. package/viewer/viewer.js +0 -783
  192. package/viewer/viewer.js.map +0 -1
  193. package/viewer/viewerManager.d.ts +0 -58
  194. package/viewer/viewerManager.js +0 -91
  195. package/viewer/viewerManager.js.map +0 -1
  196. package/viewer/viewerWithTemplate.d.ts +0 -9
  197. package/viewer/viewerWithTemplate.js +0 -20
  198. package/viewer/viewerWithTemplate.js.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"cameraConfiguration.js","sourceRoot":"","sources":["../../../../../tools/viewer/src/configuration/interfaces/cameraConfiguration.ts"],"names":[],"mappings":"","sourcesContent":["export interface ICameraConfiguration {\r\n position?: { x: number; y: number; z: number };\r\n rotation?: { x: number; y: number; z: number; w: number };\r\n fov?: number;\r\n fovMode?: number;\r\n minZ?: number;\r\n maxZ?: number;\r\n inertia?: number;\r\n exposure?: number;\r\n pinchPrecision?: number;\r\n behaviors?: {\r\n [name: string]: boolean | number | ICameraBehaviorConfiguration;\r\n };\r\n disableCameraControl?: boolean;\r\n disableCtrlForPanning?: boolean;\r\n disableAutoFocus?: boolean;\r\n\r\n [propName: string]: any;\r\n}\r\n\r\nexport interface ICameraBehaviorConfiguration {\r\n type: number;\r\n [propName: string]: any;\r\n}\r\n"]}
@@ -1,81 +0,0 @@
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 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=colorGradingConfiguration.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"colorGradingConfiguration.js","sourceRoot":"","sources":["../../../../../tools/viewer/src/configuration/interfaces/colorGradingConfiguration.ts"],"names":[],"mappings":"","sourcesContent":["/**\r\n * The Color Grading Configuration groups the different settings used to define the color grading used in the viewer.\r\n */\r\nexport interface IColorGradingConfiguration {\r\n /**\r\n * Transform data string, encoded as determined by transformDataFormat.\r\n */\r\n transformData: string;\r\n\r\n /**\r\n * The encoding format of TransformData (currently only raw-base16 is supported).\r\n */\r\n transformDataFormat: string;\r\n\r\n /**\r\n * The weight of the transform\r\n */\r\n transformWeight: number;\r\n\r\n /**\r\n * Color curve colorFilterHueGlobal value\r\n */\r\n colorFilterHueGlobal: number;\r\n\r\n /**\r\n * Color curve colorFilterHueShadows value\r\n */\r\n colorFilterHueShadows: number;\r\n\r\n /**\r\n * Color curve colorFilterHueMidtones value\r\n */\r\n colorFilterHueMidtones: number;\r\n\r\n /**\r\n * Color curve colorFilterHueHighlights value\r\n */\r\n colorFilterHueHighlights: number;\r\n\r\n /**\r\n * Color curve colorFilterDensityGlobal value\r\n */\r\n colorFilterDensityGlobal: number;\r\n\r\n /**\r\n * Color curve colorFilterDensityShadows value\r\n */\r\n colorFilterDensityShadows: number;\r\n\r\n /**\r\n * Color curve colorFilterDensityMidtones value\r\n */\r\n colorFilterDensityMidtones: number;\r\n\r\n /**\r\n * Color curve colorFilterDensityHighlights value\r\n */\r\n colorFilterDensityHighlights: number;\r\n\r\n /**\r\n * Color curve saturationGlobal value\r\n */\r\n saturationGlobal: number;\r\n\r\n /**\r\n * Color curve saturationShadows value\r\n */\r\n saturationShadows: number;\r\n\r\n /**\r\n * Color curve saturationMidtones value\r\n */\r\n saturationMidtones: number;\r\n\r\n /**\r\n * Color curve saturationHighlights value\r\n */\r\n saturationHighlights: number;\r\n\r\n /**\r\n * Color curve exposureGlobal value\r\n */\r\n exposureGlobal: number;\r\n\r\n /**\r\n * Color curve exposureShadows value\r\n */\r\n exposureShadows: number;\r\n\r\n /**\r\n * Color curve exposureMidtones value\r\n */\r\n exposureMidtones: number;\r\n\r\n /**\r\n * Color curve exposureHighlights value\r\n */\r\n exposureHighlights: number;\r\n}\r\n"]}
@@ -1,20 +0,0 @@
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 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=defaultRenderingPipelineConfiguration.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"defaultRenderingPipelineConfiguration.js","sourceRoot":"","sources":["../../../../../tools/viewer/src/configuration/interfaces/defaultRenderingPipelineConfiguration.ts"],"names":[],"mappings":"","sourcesContent":["import type { DepthOfFieldEffectBlurLevel } from \"core/PostProcesses/depthOfFieldEffect\";\r\n\r\nexport interface IDefaultRenderingPipelineConfiguration {\r\n sharpenEnabled?: boolean;\r\n bloomEnabled?: boolean;\r\n bloomThreshold?: number;\r\n depthOfFieldEnabled?: boolean;\r\n depthOfFieldBlurLevel?: DepthOfFieldEffectBlurLevel;\r\n fxaaEnabled?: boolean;\r\n imageProcessingEnabled?: boolean;\r\n defaultPipelineTextureType?: number;\r\n bloomScale?: number;\r\n chromaticAberrationEnabled?: boolean;\r\n grainEnabled?: boolean;\r\n bloomKernel?: number;\r\n hardwareScaleLevel?: number;\r\n bloomWeight?: number;\r\n hdr?: boolean;\r\n samples?: number;\r\n glowLayerEnabled?: boolean;\r\n}\r\n"]}
@@ -1,22 +0,0 @@
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 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=environmentMapConfiguration.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"environmentMapConfiguration.js","sourceRoot":"","sources":["../../../../../tools/viewer/src/configuration/interfaces/environmentMapConfiguration.ts"],"names":[],"mappings":"","sourcesContent":["export interface IEnvironmentMapConfiguration {\r\n /**\r\n * Environment map texture path in relative to the asset folder.\r\n */\r\n texture: string;\r\n\r\n /**\r\n * Default rotation to apply to the environment map.\r\n */\r\n rotationY: number;\r\n\r\n /**\r\n * Tint level of the main color on the environment map.\r\n */\r\n tintLevel: number;\r\n\r\n /**\r\n * The environment's main color.\r\n */\r\n mainColor?: { r?: number; g?: number; b?: number };\r\n}\r\n"]}
@@ -1,24 +0,0 @@
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 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=groundConfiguration.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"groundConfiguration.js","sourceRoot":"","sources":["../../../../../tools/viewer/src/configuration/interfaces/groundConfiguration.ts"],"names":[],"mappings":"","sourcesContent":["export interface IGroundConfiguration {\r\n size?: number;\r\n receiveShadows?: boolean;\r\n shadowLevel?: number;\r\n /** @deprecated */ shadowOnly?: boolean;\r\n mirror?:\r\n | boolean\r\n | {\r\n sizeRatio?: number;\r\n blurKernel?: number;\r\n amount?: number;\r\n fresnelWeight?: number;\r\n fallOffDistance?: number;\r\n textureType?: number;\r\n };\r\n texture?: string;\r\n color?: { r: number; g: number; b: number };\r\n opacity?: number;\r\n material?: {\r\n [propName: string]: any;\r\n };\r\n}\r\n"]}
@@ -1,45 +0,0 @@
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
- vignetteCenterX?: number;
32
- vignetteCenterY?: number;
33
- vignetteWeight?: number;
34
- vignetteColor?: {
35
- r: number;
36
- g: number;
37
- b: number;
38
- a?: number;
39
- };
40
- vignetteCameraFov?: number;
41
- vignetteBlendMode?: number;
42
- vignetteM?: boolean;
43
- applyByPostProcess?: boolean;
44
- isEnabled?: boolean;
45
- }
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=imageProcessingConfiguration.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"imageProcessingConfiguration.js","sourceRoot":"","sources":["../../../../../tools/viewer/src/configuration/interfaces/imageProcessingConfiguration.ts"],"names":[],"mappings":"","sourcesContent":["export interface IImageProcessingConfiguration {\r\n colorGradingEnabled?: boolean;\r\n colorCurvesEnabled?: boolean;\r\n colorCurves?: {\r\n globalHue?: number;\r\n globalDensity?: number;\r\n globalSaturation?: number;\r\n globalExposure?: number;\r\n highlightsHue?: number;\r\n highlightsDensity?: number;\r\n highlightsSaturation?: number;\r\n highlightsExposure?: number;\r\n midtonesHue?: number;\r\n midtonesDensity?: number;\r\n midtonesSaturation?: number;\r\n midtonesExposure?: number;\r\n shadowsHue?: number;\r\n shadowsDensity?: number;\r\n shadowsSaturation?: number;\r\n shadowsExposure?: number;\r\n };\r\n colorGradingWithGreenDepth?: boolean;\r\n colorGradingBGR?: boolean;\r\n exposure?: number;\r\n toneMappingEnabled?: boolean;\r\n contrast?: number;\r\n vignetteEnabled?: boolean;\r\n vignetteStretch?: number;\r\n vignetteCentreX?: number;\r\n vignetteCentreY?: number;\r\n vignetteCenterX?: number;\r\n vignetteCenterY?: number;\r\n vignetteWeight?: number;\r\n vignetteColor?: { r: number; g: number; b: number; a?: number };\r\n vignetteCameraFov?: number;\r\n vignetteBlendMode?: number;\r\n vignetteM?: boolean;\r\n applyByPostProcess?: boolean;\r\n isEnabled?: boolean;\r\n}\r\n"]}
@@ -1,15 +0,0 @@
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 +0,0 @@
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
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../tools/viewer/src/configuration/interfaces/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC;AACtC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,yCAAyC,CAAC;AACxD,cAAc,uBAAuB,CAAC;AACtC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,sBAAsB,CAAC;AACrC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,CAAC;AACzC,cAAc,sBAAsB,CAAC;AACrC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,mBAAmB,CAAC;AAClC,cAAc,+BAA+B,CAAC","sourcesContent":["export * from \"./cameraConfiguration\";\r\nexport * from \"./colorGradingConfiguration\";\r\nexport * from \"./defaultRenderingPipelineConfiguration\";\r\nexport * from \"./groundConfiguration\";\r\nexport * from \"./imageProcessingConfiguration\";\r\nexport * from \"./lightConfiguration\";\r\nexport * from \"./modelAnimationConfiguration\";\r\nexport * from \"./modelConfiguration\";\r\nexport * from \"./observersConfiguration\";\r\nexport * from \"./sceneConfiguration\";\r\nexport * from \"./sceneOptimizerConfiguration\";\r\nexport * from \"./skyboxConfiguration\";\r\nexport * from \"./templateConfiguration\";\r\nexport * from \"./vrConfiguration\";\r\nexport * from \"./environmentMapConfiguration\";\r\n"]}
@@ -1,60 +0,0 @@
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 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=lightConfiguration.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"lightConfiguration.js","sourceRoot":"","sources":["../../../../../tools/viewer/src/configuration/interfaces/lightConfiguration.ts"],"names":[],"mappings":"","sourcesContent":["export interface ILightConfiguration {\r\n type: number;\r\n name?: string;\r\n disabled?: boolean;\r\n position?: { x: number; y: number; z: number };\r\n target?: { x: number; y: number; z: number };\r\n direction?: { x: number; y: number; z: number };\r\n diffuse?: { r: number; g: number; b: number };\r\n specular?: { r: number; g: number; b: number };\r\n intensity?: number;\r\n intensityMode?: number;\r\n radius?: number;\r\n shadownEnabled?: boolean; // only on specific lights!\r\n shadowConfig?: {\r\n useBlurExponentialShadowMap?: boolean;\r\n useBlurCloseExponentialShadowMap?: boolean;\r\n useKernelBlur?: boolean;\r\n blurKernel?: number;\r\n blurScale?: number;\r\n minZ?: number;\r\n maxZ?: number;\r\n frustumSize?: number;\r\n angleScale?: number;\r\n frustumEdgeFalloff?: number;\r\n [propName: string]: any;\r\n };\r\n spotAngle?: number;\r\n shadowFieldOfView?: number;\r\n shadowBufferSize?: number;\r\n shadowFrustumSize?: number;\r\n shadowMinZ?: number;\r\n shadowMaxZ?: number;\r\n [propName: string]: any;\r\n\r\n // no behaviors for light at the moment, but allowing configuration for future reference.\r\n behaviors?: {\r\n [name: string]:\r\n | number\r\n | {\r\n type: number;\r\n [propName: string]: any;\r\n };\r\n };\r\n}\r\n"]}
@@ -1,26 +0,0 @@
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 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=modelAnimationConfiguration.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"modelAnimationConfiguration.js","sourceRoot":"","sources":["../../../../../tools/viewer/src/configuration/interfaces/modelAnimationConfiguration.ts"],"names":[],"mappings":"","sourcesContent":["/**\r\n * Defines an animation to be applied to a model (translation, scale or rotation).\r\n */\r\nexport interface IModelAnimationConfiguration {\r\n /**\r\n * Time of animation, in seconds\r\n */\r\n time?: number;\r\n\r\n /**\r\n * Scale to apply\r\n */\r\n scaling?: {\r\n x: number;\r\n y: number;\r\n z: number;\r\n };\r\n\r\n /**\r\n * Easing function to apply\r\n */\r\n easingFunction?: number;\r\n\r\n /**\r\n * An Easing mode to apply to the easing function\r\n * See BABYLON.EasingFunction\r\n */\r\n easingMode?: number;\r\n}\r\n"]}
@@ -1,65 +0,0 @@
1
- import type { IModelAnimationConfiguration } from "./modelAnimationConfiguration";
2
- export interface IModelConfiguration {
3
- id?: string;
4
- url?: string;
5
- root?: string;
6
- file?: string | File;
7
- loader?: string;
8
- position?: {
9
- x: number;
10
- y: number;
11
- z: number;
12
- };
13
- rotation?: {
14
- x: number;
15
- y: number;
16
- z: number;
17
- w?: number;
18
- };
19
- scaling?: {
20
- x: number;
21
- y: number;
22
- z: number;
23
- };
24
- parentObjectIndex?: number;
25
- castShadow?: boolean;
26
- receiveShadows?: boolean;
27
- normalize?: boolean | {
28
- center?: boolean;
29
- unitSize?: boolean;
30
- parentIndex?: number;
31
- };
32
- title?: string;
33
- subtitle?: string;
34
- thumbnail?: string;
35
- animation?: {
36
- autoStart?: boolean | string;
37
- playOnce?: boolean;
38
- autoStartIndex?: number;
39
- };
40
- entryAnimation?: IModelAnimationConfiguration;
41
- exitAnimation?: IModelAnimationConfiguration;
42
- material?: {
43
- directEnabled?: boolean;
44
- directIntensity?: number;
45
- emissiveIntensity?: number;
46
- environmentIntensity?: number;
47
- [propName: string]: any;
48
- };
49
- /**
50
- * Rotation offset axis definition
51
- */
52
- rotationOffsetAxis?: {
53
- x: number;
54
- y: number;
55
- z: number;
56
- };
57
- /**
58
- * the offset angle
59
- */
60
- rotationOffsetAngle?: number;
61
- loaderConfiguration?: {
62
- maxLODsToLoad?: number;
63
- progressiveLoading?: boolean;
64
- };
65
- }
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=modelConfiguration.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"modelConfiguration.js","sourceRoot":"","sources":["../../../../../tools/viewer/src/configuration/interfaces/modelConfiguration.ts"],"names":[],"mappings":"","sourcesContent":["import type { IModelAnimationConfiguration } from \"./modelAnimationConfiguration\";\r\n\r\nexport interface IModelConfiguration {\r\n id?: string;\r\n url?: string;\r\n root?: string; //optional\r\n file?: string | File; // is a file being loaded? root and url ignored\r\n loader?: string; // obj, gltf?\r\n position?: { x: number; y: number; z: number };\r\n rotation?: { x: number; y: number; z: number; w?: number };\r\n scaling?: { x: number; y: number; z: number };\r\n parentObjectIndex?: number; // the index of the parent object of the model in the loaded meshes array.\r\n\r\n castShadow?: boolean;\r\n receiveShadows?: boolean;\r\n normalize?:\r\n | boolean\r\n | {\r\n center?: boolean;\r\n unitSize?: boolean;\r\n parentIndex?: number;\r\n }; // should the model be scaled to unit-size\r\n\r\n title?: string;\r\n subtitle?: string;\r\n thumbnail?: string; // URL or data-url\r\n\r\n animation?: {\r\n autoStart?: boolean | string;\r\n playOnce?: boolean;\r\n autoStartIndex?: number;\r\n };\r\n\r\n entryAnimation?: IModelAnimationConfiguration;\r\n exitAnimation?: IModelAnimationConfiguration;\r\n\r\n material?: {\r\n directEnabled?: boolean;\r\n directIntensity?: number;\r\n emissiveIntensity?: number;\r\n environmentIntensity?: number;\r\n [propName: string]: any;\r\n };\r\n\r\n /**\r\n * Rotation offset axis definition\r\n */\r\n rotationOffsetAxis?: {\r\n x: number;\r\n y: number;\r\n z: number;\r\n };\r\n\r\n /**\r\n * the offset angle\r\n */\r\n rotationOffsetAngle?: number;\r\n\r\n loaderConfiguration?: {\r\n maxLODsToLoad?: number;\r\n progressiveLoading?: boolean;\r\n };\r\n\r\n // [propName: string]: any; // further configuration, like title and creator\r\n}\r\n"]}
@@ -1,5 +0,0 @@
1
- export interface IObserversConfiguration {
2
- onEngineInit?: string;
3
- onSceneInit?: string;
4
- onModelLoaded?: string;
5
- }
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=observersConfiguration.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"observersConfiguration.js","sourceRoot":"","sources":["../../../../../tools/viewer/src/configuration/interfaces/observersConfiguration.ts"],"names":[],"mappings":"","sourcesContent":["export interface IObserversConfiguration {\r\n onEngineInit?: string;\r\n onSceneInit?: string;\r\n onModelLoaded?: string;\r\n}\r\n"]}
@@ -1,48 +0,0 @@
1
- import type { IImageProcessingConfiguration } from "./imageProcessingConfiguration";
2
- import type { IColorGradingConfiguration } from "./colorGradingConfiguration";
3
- import type { IGlowLayerOptions } from "@babylonjs/core/Layers/glowLayer.js";
4
- export interface ISceneConfiguration {
5
- debug?: boolean;
6
- clearColor?: {
7
- r: number;
8
- g: number;
9
- b: number;
10
- a: number;
11
- };
12
- /** @deprecated Please use environmentMap.mainColor instead. */
13
- mainColor?: {
14
- r?: number;
15
- g?: number;
16
- b?: number;
17
- };
18
- imageProcessingConfiguration?: IImageProcessingConfiguration;
19
- environmentTexture?: string;
20
- colorGrading?: IColorGradingConfiguration;
21
- environmentRotationY?: number;
22
- /** @deprecated Please use default rendering pipeline. */
23
- glow?: boolean | IGlowLayerOptions;
24
- disableHdr?: boolean;
25
- renderInBackground?: boolean;
26
- disableCameraControl?: boolean;
27
- animationPropertiesOverride?: {
28
- [propName: string]: any;
29
- };
30
- defaultMaterial?: {
31
- materialType: "standard" | "pbr";
32
- [propName: string]: any;
33
- };
34
- flags?: {
35
- shadowsEnabled?: boolean;
36
- particlesEnabled?: boolean;
37
- collisionsEnabled?: boolean;
38
- lightsEnabled?: boolean;
39
- texturesEnabled?: boolean;
40
- lensFlaresEnabled?: boolean;
41
- proceduralTexturesEnabled?: boolean;
42
- renderTargetsEnabled?: boolean;
43
- spritesEnabled?: boolean;
44
- skeletonsEnabled?: boolean;
45
- audioEnabled?: boolean;
46
- };
47
- assetsRootURL?: string;
48
- }
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=sceneConfiguration.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"sceneConfiguration.js","sourceRoot":"","sources":["../../../../../tools/viewer/src/configuration/interfaces/sceneConfiguration.ts"],"names":[],"mappings":"","sourcesContent":["import type { IImageProcessingConfiguration } from \"./imageProcessingConfiguration\";\r\nimport type { IColorGradingConfiguration } from \"./colorGradingConfiguration\";\r\nimport type { IGlowLayerOptions } from \"core/Layers/glowLayer\";\r\n\r\nexport interface ISceneConfiguration {\r\n debug?: boolean;\r\n clearColor?: { r: number; g: number; b: number; a: number };\r\n /** @deprecated Please use environmentMap.mainColor instead. */\r\n mainColor?: { r?: number; g?: number; b?: number };\r\n imageProcessingConfiguration?: IImageProcessingConfiguration;\r\n environmentTexture?: string;\r\n colorGrading?: IColorGradingConfiguration;\r\n environmentRotationY?: number;\r\n /** @deprecated Please use default rendering pipeline. */\r\n glow?: boolean | IGlowLayerOptions;\r\n disableHdr?: boolean;\r\n renderInBackground?: boolean;\r\n disableCameraControl?: boolean;\r\n animationPropertiesOverride?: {\r\n [propName: string]: any;\r\n };\r\n defaultMaterial?: {\r\n materialType: \"standard\" | \"pbr\";\r\n [propName: string]: any;\r\n };\r\n flags?: {\r\n shadowsEnabled?: boolean;\r\n particlesEnabled?: boolean;\r\n collisionsEnabled?: boolean;\r\n lightsEnabled?: boolean;\r\n texturesEnabled?: boolean;\r\n lensFlaresEnabled?: boolean;\r\n proceduralTexturesEnabled?: boolean;\r\n renderTargetsEnabled?: boolean;\r\n spritesEnabled?: boolean;\r\n skeletonsEnabled?: boolean;\r\n audioEnabled?: boolean;\r\n };\r\n assetsRootURL?: string;\r\n}\r\n"]}
@@ -1,23 +0,0 @@
1
- export interface ISceneOptimizerConfiguration {
2
- targetFrameRate?: number;
3
- trackerDuration?: number;
4
- autoGeneratePriorities?: boolean;
5
- improvementMode?: boolean;
6
- degradation?: string;
7
- types?: {
8
- texture?: ISceneOptimizerParameters;
9
- hardwareScaling?: ISceneOptimizerParameters;
10
- shadow?: ISceneOptimizerParameters;
11
- postProcess?: ISceneOptimizerParameters;
12
- lensFlare?: ISceneOptimizerParameters;
13
- particles?: ISceneOptimizerParameters;
14
- renderTarget?: ISceneOptimizerParameters;
15
- mergeMeshes?: ISceneOptimizerParameters;
16
- };
17
- custom?: string;
18
- }
19
- export interface ISceneOptimizerParameters {
20
- priority?: number;
21
- maximumSize?: number;
22
- step?: number;
23
- }
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=sceneOptimizerConfiguration.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"sceneOptimizerConfiguration.js","sourceRoot":"","sources":["../../../../../tools/viewer/src/configuration/interfaces/sceneOptimizerConfiguration.ts"],"names":[],"mappings":"","sourcesContent":["export interface ISceneOptimizerConfiguration {\r\n targetFrameRate?: number;\r\n trackerDuration?: number;\r\n autoGeneratePriorities?: boolean;\r\n improvementMode?: boolean;\r\n degradation?: string; // low, moderate, high\r\n types?: {\r\n texture?: ISceneOptimizerParameters;\r\n hardwareScaling?: ISceneOptimizerParameters;\r\n shadow?: ISceneOptimizerParameters;\r\n postProcess?: ISceneOptimizerParameters;\r\n lensFlare?: ISceneOptimizerParameters;\r\n particles?: ISceneOptimizerParameters;\r\n renderTarget?: ISceneOptimizerParameters;\r\n mergeMeshes?: ISceneOptimizerParameters;\r\n };\r\n custom?: string;\r\n}\r\n\r\nexport interface ISceneOptimizerParameters {\r\n priority?: number;\r\n maximumSize?: number;\r\n step?: number;\r\n}\r\n"]}
@@ -1,21 +0,0 @@
1
- import type { IImageProcessingConfiguration } from "./imageProcessingConfiguration";
2
- export interface ISkyboxConfiguration {
3
- cubeTexture?: {
4
- noMipMap?: boolean;
5
- gammaSpace?: boolean;
6
- url?: string | Array<string>;
7
- };
8
- color?: {
9
- r: number;
10
- g: number;
11
- b: number;
12
- };
13
- /** @deprecated */ pbr?: boolean;
14
- scale?: number;
15
- /** @deprecated */ blur?: number;
16
- material?: {
17
- imageProcessingConfiguration?: IImageProcessingConfiguration;
18
- [propName: string]: any;
19
- };
20
- infiniteDistance?: boolean;
21
- }
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=skyboxConfiguration.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"skyboxConfiguration.js","sourceRoot":"","sources":["../../../../../tools/viewer/src/configuration/interfaces/skyboxConfiguration.ts"],"names":[],"mappings":"","sourcesContent":["import type { IImageProcessingConfiguration } from \"./imageProcessingConfiguration\";\r\n\r\nexport interface ISkyboxConfiguration {\r\n cubeTexture?: {\r\n noMipMap?: boolean;\r\n gammaSpace?: boolean;\r\n url?: string | Array<string>;\r\n };\r\n color?: { r: number; g: number; b: number };\r\n /** @deprecated */ pbr?: boolean;\r\n scale?: number;\r\n /** @deprecated */ blur?: number;\r\n material?: {\r\n imageProcessingConfiguration?: IImageProcessingConfiguration;\r\n [propName: string]: any;\r\n };\r\n infiniteDistance?: boolean;\r\n}\r\n"]}