@babylonjs/viewer 5.0.0-rc.3 → 5.0.1
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/configuration.js.map +1 -1
- package/configuration/configurationCompatibility.d.ts +8 -8
- package/configuration/configurationCompatibility.js +65 -65
- package/configuration/configurationCompatibility.js.map +1 -1
- package/configuration/configurationContainer.d.ts +10 -10
- package/configuration/configurationContainer.js +9 -9
- package/configuration/configurationContainer.js.map +1 -1
- package/configuration/globals.d.ts +6 -6
- package/configuration/globals.js +17 -17
- package/configuration/globals.js.map +1 -1
- package/configuration/index.d.ts +2 -2
- package/configuration/index.js +3 -2
- package/configuration/index.js.map +1 -1
- package/configuration/interfaces/cameraConfiguration.d.ts +31 -31
- package/configuration/interfaces/cameraConfiguration.js +1 -1
- package/configuration/interfaces/cameraConfiguration.js.map +1 -1
- package/configuration/interfaces/colorGradingConfiguration.d.ts +81 -81
- package/configuration/interfaces/colorGradingConfiguration.js +1 -1
- package/configuration/interfaces/colorGradingConfiguration.js.map +1 -1
- package/configuration/interfaces/defaultRenderingPipelineConfiguration.d.ts +20 -20
- package/configuration/interfaces/defaultRenderingPipelineConfiguration.js +1 -1
- package/configuration/interfaces/defaultRenderingPipelineConfiguration.js.map +1 -1
- package/configuration/interfaces/environmentMapConfiguration.d.ts +22 -22
- package/configuration/interfaces/environmentMapConfiguration.js +1 -1
- package/configuration/interfaces/environmentMapConfiguration.js.map +1 -1
- package/configuration/interfaces/groundConfiguration.d.ts +24 -24
- package/configuration/interfaces/groundConfiguration.js +1 -1
- package/configuration/interfaces/groundConfiguration.js.map +1 -1
- package/configuration/interfaces/imageProcessingConfiguration.d.ts +43 -43
- package/configuration/interfaces/imageProcessingConfiguration.js +1 -1
- package/configuration/interfaces/imageProcessingConfiguration.js.map +1 -1
- package/configuration/interfaces/index.d.ts +15 -15
- package/configuration/interfaces/index.js +15 -15
- package/configuration/interfaces/index.js.map +1 -1
- package/configuration/interfaces/lightConfiguration.d.ts +60 -60
- package/configuration/interfaces/lightConfiguration.js +1 -1
- package/configuration/interfaces/lightConfiguration.js.map +1 -1
- package/configuration/interfaces/modelAnimationConfiguration.d.ts +26 -26
- package/configuration/interfaces/modelAnimationConfiguration.js +1 -1
- package/configuration/interfaces/modelAnimationConfiguration.js.map +1 -1
- package/configuration/interfaces/modelConfiguration.d.ts +65 -65
- package/configuration/interfaces/modelConfiguration.js +1 -1
- package/configuration/interfaces/modelConfiguration.js.map +1 -1
- package/configuration/interfaces/observersConfiguration.d.ts +5 -5
- package/configuration/interfaces/observersConfiguration.js +1 -1
- package/configuration/interfaces/observersConfiguration.js.map +1 -1
- package/configuration/interfaces/sceneConfiguration.d.ts +48 -48
- package/configuration/interfaces/sceneConfiguration.js +1 -1
- package/configuration/interfaces/sceneConfiguration.js.map +1 -1
- package/configuration/interfaces/sceneOptimizerConfiguration.d.ts +23 -23
- package/configuration/interfaces/sceneOptimizerConfiguration.js +1 -1
- package/configuration/interfaces/sceneOptimizerConfiguration.js.map +1 -1
- package/configuration/interfaces/skyboxConfiguration.d.ts +21 -21
- package/configuration/interfaces/skyboxConfiguration.js +1 -1
- package/configuration/interfaces/skyboxConfiguration.js.map +1 -1
- package/configuration/interfaces/templateConfiguration.d.ts +67 -67
- package/configuration/interfaces/templateConfiguration.js +1 -1
- package/configuration/interfaces/templateConfiguration.js.map +1 -1
- package/configuration/interfaces/vrConfiguration.d.ts +16 -16
- package/configuration/interfaces/vrConfiguration.js +1 -1
- package/configuration/interfaces/vrConfiguration.js.map +1 -1
- package/configuration/loader.d.ts +4 -4
- package/configuration/loader.js +16 -28
- package/configuration/loader.js.map +1 -1
- package/configuration/mappers.d.ts +42 -42
- package/configuration/mappers.js +190 -189
- package/configuration/mappers.js.map +1 -1
- package/configuration/renderOnlyLoader.d.ts +33 -33
- package/configuration/renderOnlyLoader.js +161 -158
- package/configuration/renderOnlyLoader.js.map +1 -1
- package/configuration/types/default.d.ts +6 -6
- package/configuration/types/default.js +120 -119
- package/configuration/types/default.js.map +1 -1
- package/configuration/types/environmentMap.d.ts +5 -5
- package/configuration/types/environmentMap.js +13 -13
- package/configuration/types/environmentMap.js.map +1 -1
- package/configuration/types/extended.d.ts +6 -6
- package/configuration/types/extended.js +316 -316
- package/configuration/types/extended.js.map +1 -1
- package/configuration/types/index.d.ts +13 -13
- package/configuration/types/index.js +49 -48
- package/configuration/types/index.js.map +1 -1
- package/configuration/types/minimal.d.ts +6 -6
- package/configuration/types/minimal.js +42 -42
- package/configuration/types/minimal.js.map +1 -1
- package/configuration/types/renderOnlyDefault.d.ts +30 -30
- package/configuration/types/renderOnlyDefault.js +30 -30
- package/configuration/types/renderOnlyDefault.js.map +1 -1
- package/configuration/types/shadowLight.d.ts +9 -9
- package/configuration/types/shadowLight.js +63 -63
- package/configuration/types/shadowLight.js.map +1 -1
- package/helper/index.d.ts +26 -26
- package/helper/index.js +62 -56
- package/helper/index.js.map +1 -1
- package/index.d.ts +30 -30
- package/index.js +45 -41
- package/index.js.map +1 -1
- package/initializer.d.ts +11 -11
- package/initializer.js +34 -33
- package/initializer.js.map +1 -1
- package/interfaces.d.ts +5 -5
- package/interfaces.js +1 -1
- package/interfaces.js.map +1 -1
- package/labs/environmentSerializer.d.ts +126 -126
- package/labs/environmentSerializer.js +190 -186
- package/labs/environmentSerializer.js.map +1 -1
- package/labs/texture.d.ts +183 -184
- package/labs/texture.js +300 -297
- package/labs/texture.js.map +1 -1
- package/labs/viewerLabs.d.ts +51 -51
- package/labs/viewerLabs.js +133 -131
- package/labs/viewerLabs.js.map +1 -1
- package/license.md +71 -0
- package/loader/modelLoader.d.ts +47 -44
- package/loader/modelLoader.js +189 -182
- package/loader/modelLoader.js.map +1 -1
- package/loader/plugins/applyMaterialConfig.d.ts +12 -12
- package/loader/plugins/applyMaterialConfig.js +15 -15
- package/loader/plugins/applyMaterialConfig.js.map +1 -1
- package/loader/plugins/extendedMaterialLoaderPlugin.d.ts +9 -9
- package/loader/plugins/extendedMaterialLoaderPlugin.js +15 -15
- package/loader/plugins/extendedMaterialLoaderPlugin.js.map +1 -1
- package/loader/plugins/index.d.ts +18 -17
- package/loader/plugins/index.js +42 -41
- package/loader/plugins/index.js.map +1 -1
- package/loader/plugins/loaderPlugin.d.ts +24 -24
- package/loader/plugins/loaderPlugin.js +1 -1
- package/loader/plugins/loaderPlugin.js.map +1 -1
- package/loader/plugins/msftLodLoaderPlugin.d.ts +12 -12
- package/loader/plugins/msftLodLoaderPlugin.js +20 -19
- package/loader/plugins/msftLodLoaderPlugin.js.map +1 -1
- package/loader/plugins/telemetryLoaderPlugin.d.ts +12 -12
- package/loader/plugins/telemetryLoaderPlugin.js +35 -35
- package/loader/plugins/telemetryLoaderPlugin.js.map +1 -1
- package/managers/observablesManager.d.ts +66 -66
- package/managers/observablesManager.js +34 -34
- package/managers/observablesManager.js.map +1 -1
- package/managers/sceneManager.d.ts +243 -245
- package/managers/sceneManager.js +1388 -1387
- package/managers/sceneManager.js.map +1 -1
- package/managers/telemetryManager.d.ts +57 -57
- package/managers/telemetryManager.js +113 -113
- package/managers/telemetryManager.js.map +1 -1
- package/model/modelAnimation.d.ts +215 -215
- package/model/modelAnimation.js +232 -232
- package/model/modelAnimation.js.map +1 -1
- package/model/viewerModel.d.ts +228 -236
- package/model/viewerModel.js +669 -664
- package/model/viewerModel.js.map +1 -1
- package/optimizer/custom/extended.d.ts +11 -13
- package/optimizer/custom/extended.js +98 -100
- package/optimizer/custom/extended.js.map +1 -1
- package/optimizer/custom/index.d.ts +8 -8
- package/optimizer/custom/index.js +24 -24
- package/optimizer/custom/index.js.map +1 -1
- package/package.json +41 -215
- package/readme.md +12 -8
- package/renderOnlyIndex.d.ts +11 -11
- package/renderOnlyIndex.js +17 -15
- package/renderOnlyIndex.js.map +1 -1
- package/templating/eventManager.d.ts +35 -35
- package/templating/eventManager.js +65 -63
- package/templating/eventManager.js.map +1 -1
- package/templating/plugins/hdButtonPlugin.d.ts +9 -9
- package/templating/plugins/hdButtonPlugin.js +21 -34
- package/templating/plugins/hdButtonPlugin.js.map +1 -1
- package/templating/plugins/printButton.d.ts +9 -10
- package/templating/plugins/printButton.js +40 -53
- package/templating/plugins/printButton.js.map +1 -1
- package/templating/templateManager.d.ts +190 -189
- package/templating/templateManager.js +553 -543
- package/templating/templateManager.js.map +1 -1
- package/templating/viewerTemplatePlugin.d.ts +21 -21
- package/templating/viewerTemplatePlugin.js +68 -68
- package/templating/viewerTemplatePlugin.js.map +1 -1
- package/viewer/defaultViewer.d.ts +122 -116
- package/viewer/defaultViewer.js +665 -670
- package/viewer/defaultViewer.js.map +1 -1
- package/viewer/renderOnlyViewer.d.ts +8 -8
- package/viewer/renderOnlyViewer.js +43 -50
- package/viewer/renderOnlyViewer.js.map +1 -1
- package/viewer/viewer.d.ts +254 -253
- package/viewer/viewer.js +777 -763
- package/viewer/viewer.js.map +1 -1
- package/viewer/viewerManager.d.ts +55 -55
- package/viewer/viewerManager.js +87 -86
- package/viewer/viewerManager.js.map +1 -1
- package/viewer/viewerWithTemplate.d.ts +9 -9
- package/viewer/viewerWithTemplate.js +19 -32
- package/viewer/viewerWithTemplate.js.map +1 -1
|
@@ -1,33 +1,20 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
* It is the basic implementation of the default viewer and is responsible of loading and showing the model and the templates
|
|
21
|
-
*/
|
|
22
|
-
var AbstractViewerWithTemplate = /** @class */ (function (_super) {
|
|
23
|
-
__extends(AbstractViewerWithTemplate, _super);
|
|
24
|
-
function AbstractViewerWithTemplate() {
|
|
25
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
26
|
-
}
|
|
27
|
-
AbstractViewerWithTemplate.prototype.getConfigurationLoader = function () {
|
|
28
|
-
return new ConfigurationLoader();
|
|
29
|
-
};
|
|
30
|
-
return AbstractViewerWithTemplate;
|
|
31
|
-
}(AbstractViewer));
|
|
32
|
-
export { AbstractViewerWithTemplate };
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { AbstractViewer } from "./viewer.js";
|
|
3
|
+
import { ConfigurationLoader } from "../configuration/loader.js";
|
|
4
|
+
/**
|
|
5
|
+
* The AbstractViewer is the center of Babylon's viewer.
|
|
6
|
+
* It is the basic implementation of the default viewer and is responsible of loading and showing the model and the templates
|
|
7
|
+
*/
|
|
8
|
+
var AbstractViewerWithTemplate = /** @class */ (function (_super) {
|
|
9
|
+
__extends(AbstractViewerWithTemplate, _super);
|
|
10
|
+
function AbstractViewerWithTemplate() {
|
|
11
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
12
|
+
}
|
|
13
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
14
|
+
AbstractViewerWithTemplate.prototype.getConfigurationLoader = function () {
|
|
15
|
+
return new ConfigurationLoader();
|
|
16
|
+
};
|
|
17
|
+
return AbstractViewerWithTemplate;
|
|
18
|
+
}(AbstractViewer));
|
|
19
|
+
export { AbstractViewerWithTemplate };
|
|
33
20
|
//# sourceMappingURL=viewerWithTemplate.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"viewerWithTemplate.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"viewerWithTemplate.js","sourceRoot":"","sources":["../../../../../tools/viewer/src/viewer/viewerWithTemplate.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAC1C,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAE9D;;;GAGG;AACH;IAAyD,8CAAc;IAAvE;;IAKA,CAAC;IAJG,gEAAgE;IACtD,2DAAsB,GAAhC;QACI,OAAO,IAAI,mBAAmB,EAAE,CAAC;IACrC,CAAC;IACL,iCAAC;AAAD,CAAC,AALD,CAAyD,cAAc,GAKtE","sourcesContent":["import { AbstractViewer } from \"./viewer\";\r\nimport { ConfigurationLoader } from \"../configuration/loader\";\r\n\r\n/**\r\n * The AbstractViewer is the center of Babylon's viewer.\r\n * It is the basic implementation of the default viewer and is responsible of loading and showing the model and the templates\r\n */\r\nexport abstract class AbstractViewerWithTemplate extends AbstractViewer {\r\n // eslint-disable-next-line @typescript-eslint/naming-convention\r\n protected getConfigurationLoader() {\r\n return new ConfigurationLoader();\r\n }\r\n}\r\n"]}
|