@babylonjs/viewer 7.41.0-alpha → 7.41.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 -0
- package/configuration/configuration.js +16 -0
- package/configuration/configuration.js.map +1 -0
- package/configuration/configurationCompatibility.d.ts +8 -0
- package/configuration/configurationCompatibility.js +66 -0
- package/configuration/configurationCompatibility.js.map +1 -0
- package/configuration/configurationContainer.d.ts +10 -0
- package/configuration/configurationContainer.js +10 -0
- package/configuration/configurationContainer.js.map +1 -0
- package/configuration/globals.d.ts +6 -0
- package/configuration/globals.js +18 -0
- package/configuration/globals.js.map +1 -0
- package/configuration/index.d.ts +2 -0
- package/configuration/index.js +4 -0
- package/configuration/index.js.map +1 -0
- package/configuration/interfaces/cameraConfiguration.d.ts +31 -0
- package/configuration/interfaces/cameraConfiguration.js +2 -0
- package/configuration/interfaces/cameraConfiguration.js.map +1 -0
- package/configuration/interfaces/colorGradingConfiguration.d.ts +81 -0
- package/configuration/interfaces/colorGradingConfiguration.js +2 -0
- package/configuration/interfaces/colorGradingConfiguration.js.map +1 -0
- package/configuration/interfaces/defaultRenderingPipelineConfiguration.d.ts +20 -0
- package/configuration/interfaces/defaultRenderingPipelineConfiguration.js +2 -0
- package/configuration/interfaces/defaultRenderingPipelineConfiguration.js.map +1 -0
- package/configuration/interfaces/environmentMapConfiguration.d.ts +22 -0
- package/configuration/interfaces/environmentMapConfiguration.js +2 -0
- package/configuration/interfaces/environmentMapConfiguration.js.map +1 -0
- package/configuration/interfaces/groundConfiguration.d.ts +24 -0
- package/configuration/interfaces/groundConfiguration.js +2 -0
- package/configuration/interfaces/groundConfiguration.js.map +1 -0
- package/configuration/interfaces/imageProcessingConfiguration.d.ts +45 -0
- package/configuration/interfaces/imageProcessingConfiguration.js +2 -0
- package/configuration/interfaces/imageProcessingConfiguration.js.map +1 -0
- package/configuration/interfaces/index.d.ts +15 -0
- package/configuration/interfaces/index.js +16 -0
- package/configuration/interfaces/index.js.map +1 -0
- package/configuration/interfaces/lightConfiguration.d.ts +60 -0
- package/configuration/interfaces/lightConfiguration.js +2 -0
- package/configuration/interfaces/lightConfiguration.js.map +1 -0
- package/configuration/interfaces/modelAnimationConfiguration.d.ts +26 -0
- package/configuration/interfaces/modelAnimationConfiguration.js +2 -0
- package/configuration/interfaces/modelAnimationConfiguration.js.map +1 -0
- package/configuration/interfaces/modelConfiguration.d.ts +65 -0
- package/configuration/interfaces/modelConfiguration.js +2 -0
- package/configuration/interfaces/modelConfiguration.js.map +1 -0
- package/configuration/interfaces/observersConfiguration.d.ts +5 -0
- package/configuration/interfaces/observersConfiguration.js +2 -0
- package/configuration/interfaces/observersConfiguration.js.map +1 -0
- package/configuration/interfaces/sceneConfiguration.d.ts +48 -0
- package/configuration/interfaces/sceneConfiguration.js +2 -0
- package/configuration/interfaces/sceneConfiguration.js.map +1 -0
- package/configuration/interfaces/sceneOptimizerConfiguration.d.ts +23 -0
- package/configuration/interfaces/sceneOptimizerConfiguration.js +2 -0
- package/configuration/interfaces/sceneOptimizerConfiguration.js.map +1 -0
- package/configuration/interfaces/skyboxConfiguration.d.ts +21 -0
- package/configuration/interfaces/skyboxConfiguration.js +2 -0
- package/configuration/interfaces/skyboxConfiguration.js.map +1 -0
- package/configuration/interfaces/templateConfiguration.d.ts +67 -0
- package/configuration/interfaces/templateConfiguration.js +2 -0
- package/configuration/interfaces/templateConfiguration.js.map +1 -0
- package/configuration/interfaces/vrConfiguration.d.ts +16 -0
- package/configuration/interfaces/vrConfiguration.js +2 -0
- package/configuration/interfaces/vrConfiguration.js.map +1 -0
- package/configuration/loader.d.ts +4 -0
- package/configuration/loader.js +17 -0
- package/configuration/loader.js.map +1 -0
- package/configuration/mappers.d.ts +43 -0
- package/configuration/mappers.js +193 -0
- package/configuration/mappers.js.map +1 -0
- package/configuration/renderOnlyLoader.d.ts +33 -0
- package/configuration/renderOnlyLoader.js +162 -0
- package/configuration/renderOnlyLoader.js.map +1 -0
- package/configuration/types/default.d.ts +6 -0
- package/configuration/types/default.js +121 -0
- package/configuration/types/default.js.map +1 -0
- package/configuration/types/environmentMap.d.ts +5 -0
- package/configuration/types/environmentMap.js +14 -0
- package/configuration/types/environmentMap.js.map +1 -0
- package/configuration/types/extended.d.ts +6 -0
- package/configuration/types/extended.js +317 -0
- package/configuration/types/extended.js.map +1 -0
- package/configuration/types/index.d.ts +14 -0
- package/configuration/types/index.js +51 -0
- package/configuration/types/index.js.map +1 -0
- package/configuration/types/minimal.d.ts +6 -0
- package/configuration/types/minimal.js +43 -0
- package/configuration/types/minimal.js.map +1 -0
- package/configuration/types/renderOnlyDefault.d.ts +30 -0
- package/configuration/types/renderOnlyDefault.js +31 -0
- package/configuration/types/renderOnlyDefault.js.map +1 -0
- package/configuration/types/shadowLight.d.ts +9 -0
- package/configuration/types/shadowLight.js +64 -0
- package/configuration/types/shadowLight.js.map +1 -0
- package/helper/index.d.ts +29 -0
- package/helper/index.js +66 -0
- package/helper/index.js.map +1 -0
- package/index.d.ts +30 -0
- package/index.js +46 -0
- package/index.js.map +1 -0
- package/initializer.d.ts +11 -0
- package/initializer.js +35 -0
- package/initializer.js.map +1 -0
- package/interfaces.d.ts +5 -0
- package/interfaces.js +7 -0
- package/interfaces.js.map +1 -0
- package/labs/environmentSerializer.d.ts +126 -0
- package/labs/environmentSerializer.js +191 -0
- package/labs/environmentSerializer.js.map +1 -0
- package/labs/texture.d.ts +183 -0
- package/labs/texture.js +351 -0
- package/labs/texture.js.map +1 -0
- package/labs/viewerLabs.d.ts +51 -0
- package/labs/viewerLabs.js +134 -0
- package/labs/viewerLabs.js.map +1 -0
- package/loader/modelLoader.d.ts +56 -0
- package/loader/modelLoader.js +202 -0
- package/loader/modelLoader.js.map +1 -0
- package/loader/plugins/applyMaterialConfig.d.ts +12 -0
- package/loader/plugins/applyMaterialConfig.js +16 -0
- package/loader/plugins/applyMaterialConfig.js.map +1 -0
- package/loader/plugins/extendedMaterialLoaderPlugin.d.ts +9 -0
- package/loader/plugins/extendedMaterialLoaderPlugin.js +16 -0
- package/loader/plugins/extendedMaterialLoaderPlugin.js.map +1 -0
- package/loader/plugins/index.d.ts +19 -0
- package/loader/plugins/index.js +44 -0
- package/loader/plugins/index.js.map +1 -0
- package/loader/plugins/loaderPlugin.d.ts +24 -0
- package/loader/plugins/loaderPlugin.js +2 -0
- package/loader/plugins/loaderPlugin.js.map +1 -0
- package/loader/plugins/msftLodLoaderPlugin.d.ts +12 -0
- package/loader/plugins/msftLodLoaderPlugin.js +21 -0
- package/loader/plugins/msftLodLoaderPlugin.js.map +1 -0
- package/loader/plugins/telemetryLoaderPlugin.d.ts +12 -0
- package/loader/plugins/telemetryLoaderPlugin.js +36 -0
- package/loader/plugins/telemetryLoaderPlugin.js.map +1 -0
- package/managers/observablesManager.d.ts +66 -0
- package/managers/observablesManager.js +35 -0
- package/managers/observablesManager.js.map +1 -0
- package/managers/sceneManager.d.ts +245 -0
- package/managers/sceneManager.js +1375 -0
- package/managers/sceneManager.js.map +1 -0
- package/managers/telemetryManager.d.ts +78 -0
- package/managers/telemetryManager.js +117 -0
- package/managers/telemetryManager.js.map +1 -0
- package/model/modelAnimation.d.ts +215 -0
- package/model/modelAnimation.js +237 -0
- package/model/modelAnimation.js.map +1 -0
- package/model/viewerModel.d.ts +233 -0
- package/model/viewerModel.js +673 -0
- package/model/viewerModel.js.map +1 -0
- package/optimizer/custom/extended.d.ts +13 -0
- package/optimizer/custom/extended.js +101 -0
- package/optimizer/custom/extended.js.map +1 -0
- package/optimizer/custom/index.d.ts +9 -0
- package/optimizer/custom/index.js +26 -0
- package/optimizer/custom/index.js.map +1 -0
- package/package.json +28 -19
- package/readme.md +28 -28
- package/renderOnlyIndex.d.ts +11 -0
- package/renderOnlyIndex.js +18 -0
- package/renderOnlyIndex.js.map +1 -0
- package/templating/eventManager.d.ts +35 -0
- package/templating/eventManager.js +66 -0
- package/templating/eventManager.js.map +1 -0
- package/templating/plugins/hdButtonPlugin.d.ts +9 -0
- package/templating/plugins/hdButtonPlugin.js +22 -0
- package/templating/plugins/hdButtonPlugin.js.map +1 -0
- package/templating/plugins/printButton.d.ts +9 -0
- package/templating/plugins/printButton.js +41 -0
- package/templating/plugins/printButton.js.map +1 -0
- package/templating/templateManager.d.ts +197 -0
- package/templating/templateManager.js +561 -0
- package/templating/templateManager.js.map +1 -0
- package/templating/viewerTemplatePlugin.d.ts +21 -0
- package/templating/viewerTemplatePlugin.js +69 -0
- package/templating/viewerTemplatePlugin.js.map +1 -0
- package/viewer/defaultViewer.d.ts +130 -0
- package/viewer/defaultViewer.js +672 -0
- package/viewer/defaultViewer.js.map +1 -0
- package/viewer/renderOnlyViewer.d.ts +9 -0
- package/viewer/renderOnlyViewer.js +46 -0
- package/viewer/renderOnlyViewer.js.map +1 -0
- package/viewer/viewer.d.ts +258 -0
- package/viewer/viewer.js +783 -0
- package/viewer/viewer.js.map +1 -0
- package/viewer/viewerManager.d.ts +58 -0
- package/viewer/viewerManager.js +91 -0
- package/viewer/viewerManager.js.map +1 -0
- package/viewer/viewerWithTemplate.d.ts +9 -0
- package/viewer/viewerWithTemplate.js +20 -0
- package/viewer/viewerWithTemplate.js.map +1 -0
- package/assets/photoStudio.env +0 -0
- package/dist/babylon-viewer.esm.js +0 -2
- package/dist/babylon-viewer.esm.js.map +0 -1
- package/dist/babylon-viewer.esm.min.js +0 -2
- package/dist/babylon-viewer.esm.min.js.map +0 -1
- package/dist/chunks/EXT_lights_ies-CFzvmxxg.esm.min.js +0 -2
- package/dist/chunks/EXT_lights_ies-CFzvmxxg.esm.min.js.map +0 -1
- package/dist/chunks/EXT_lights_ies-cyFdY7yl.esm.js +0 -84
- package/dist/chunks/EXT_lights_ies-cyFdY7yl.esm.js.map +0 -1
- package/dist/chunks/EXT_lights_image_based-BNmSqx40.esm.min.js +0 -2
- package/dist/chunks/EXT_lights_image_based-BNmSqx40.esm.min.js.map +0 -1
- package/dist/chunks/EXT_lights_image_based-CC48JVU0.esm.js +0 -171
- package/dist/chunks/EXT_lights_image_based-CC48JVU0.esm.js.map +0 -1
- package/dist/chunks/EXT_mesh_gpu_instancing-B2qj3kQu.esm.js +0 -86
- package/dist/chunks/EXT_mesh_gpu_instancing-B2qj3kQu.esm.js.map +0 -1
- package/dist/chunks/EXT_mesh_gpu_instancing-lanrAAoi.esm.min.js +0 -2
- package/dist/chunks/EXT_mesh_gpu_instancing-lanrAAoi.esm.min.js.map +0 -1
- package/dist/chunks/EXT_meshopt_compression-DjvHx7gJ.esm.js +0 -134
- package/dist/chunks/EXT_meshopt_compression-DjvHx7gJ.esm.js.map +0 -1
- package/dist/chunks/EXT_meshopt_compression-oH6HzGir.esm.min.js +0 -2
- package/dist/chunks/EXT_meshopt_compression-oH6HzGir.esm.min.js.map +0 -1
- package/dist/chunks/EXT_texture_avif-BYWETW7-.esm.min.js +0 -2
- package/dist/chunks/EXT_texture_avif-BYWETW7-.esm.min.js.map +0 -1
- package/dist/chunks/EXT_texture_avif-CKXEq29h.esm.js +0 -44
- package/dist/chunks/EXT_texture_avif-CKXEq29h.esm.js.map +0 -1
- package/dist/chunks/EXT_texture_webp-Dl4GPoEU.esm.min.js +0 -2
- package/dist/chunks/EXT_texture_webp-Dl4GPoEU.esm.min.js.map +0 -1
- package/dist/chunks/EXT_texture_webp-fAiSgaNl.esm.js +0 -43
- package/dist/chunks/EXT_texture_webp-fAiSgaNl.esm.js.map +0 -1
- package/dist/chunks/ExtrasAsMetadata-BUQ3X3M6.esm.js +0 -64
- package/dist/chunks/ExtrasAsMetadata-BUQ3X3M6.esm.js.map +0 -1
- package/dist/chunks/ExtrasAsMetadata-C_M9nxb4.esm.min.js +0 -2
- package/dist/chunks/ExtrasAsMetadata-C_M9nxb4.esm.min.js.map +0 -1
- package/dist/chunks/KHR_animation_pointer-BdFZyLUq.esm.js +0 -352
- package/dist/chunks/KHR_animation_pointer-BdFZyLUq.esm.js.map +0 -1
- package/dist/chunks/KHR_animation_pointer-CBqZcURZ.esm.min.js +0 -2
- package/dist/chunks/KHR_animation_pointer-CBqZcURZ.esm.min.js.map +0 -1
- package/dist/chunks/KHR_draco_mesh_compression-DU2Rk2nj.esm.min.js +0 -2
- package/dist/chunks/KHR_draco_mesh_compression-DU2Rk2nj.esm.min.js.map +0 -1
- package/dist/chunks/KHR_draco_mesh_compression-hVF9XuFz.esm.js +0 -610
- package/dist/chunks/KHR_draco_mesh_compression-hVF9XuFz.esm.js.map +0 -1
- package/dist/chunks/KHR_interactivity-COE1p684.esm.min.js +0 -2
- package/dist/chunks/KHR_interactivity-COE1p684.esm.min.js.map +0 -1
- package/dist/chunks/KHR_interactivity-Cv1s_pea.esm.js +0 -4033
- package/dist/chunks/KHR_interactivity-Cv1s_pea.esm.js.map +0 -1
- package/dist/chunks/KHR_lights_punctual-CHf5kbKi.esm.js +0 -581
- package/dist/chunks/KHR_lights_punctual-CHf5kbKi.esm.js.map +0 -1
- package/dist/chunks/KHR_lights_punctual-DIEAP5SG.esm.min.js +0 -2
- package/dist/chunks/KHR_lights_punctual-DIEAP5SG.esm.min.js.map +0 -1
- package/dist/chunks/KHR_materials_anisotropy-CU-xxV6y.esm.js +0 -65
- package/dist/chunks/KHR_materials_anisotropy-CU-xxV6y.esm.js.map +0 -1
- package/dist/chunks/KHR_materials_anisotropy-Cq6CU4qW.esm.min.js +0 -2
- package/dist/chunks/KHR_materials_anisotropy-Cq6CU4qW.esm.min.js.map +0 -1
- package/dist/chunks/KHR_materials_clearcoat-BSjcmIju.esm.js +0 -96
- package/dist/chunks/KHR_materials_clearcoat-BSjcmIju.esm.js.map +0 -1
- package/dist/chunks/KHR_materials_clearcoat-CVNNhJRE.esm.min.js +0 -2
- package/dist/chunks/KHR_materials_clearcoat-CVNNhJRE.esm.min.js.map +0 -1
- package/dist/chunks/KHR_materials_diffuse_transmission-BDuGIkOh.esm.min.js +0 -2
- package/dist/chunks/KHR_materials_diffuse_transmission-BDuGIkOh.esm.min.js.map +0 -1
- package/dist/chunks/KHR_materials_diffuse_transmission-BZ-9rJUf.esm.js +0 -97
- package/dist/chunks/KHR_materials_diffuse_transmission-BZ-9rJUf.esm.js.map +0 -1
- package/dist/chunks/KHR_materials_dispersion-BxiGElVU.esm.min.js +0 -2
- package/dist/chunks/KHR_materials_dispersion-BxiGElVU.esm.min.js.map +0 -1
- package/dist/chunks/KHR_materials_dispersion-UI4zH1V_.esm.js +0 -62
- package/dist/chunks/KHR_materials_dispersion-UI4zH1V_.esm.js.map +0 -1
- package/dist/chunks/KHR_materials_emissive_strength-BT-Nu60T.esm.js +0 -55
- package/dist/chunks/KHR_materials_emissive_strength-BT-Nu60T.esm.js.map +0 -1
- package/dist/chunks/KHR_materials_emissive_strength-CwkVNmN7.esm.min.js +0 -2
- package/dist/chunks/KHR_materials_emissive_strength-CwkVNmN7.esm.min.js.map +0 -1
- package/dist/chunks/KHR_materials_ior-BGUUe5AW.esm.min.js +0 -2
- package/dist/chunks/KHR_materials_ior-BGUUe5AW.esm.min.js.map +0 -1
- package/dist/chunks/KHR_materials_ior-BbBQF-yw.esm.js +0 -64
- package/dist/chunks/KHR_materials_ior-BbBQF-yw.esm.js.map +0 -1
- package/dist/chunks/KHR_materials_iridescence-IFN2ewvr.esm.min.js +0 -2
- package/dist/chunks/KHR_materials_iridescence-IFN2ewvr.esm.min.js.map +0 -1
- package/dist/chunks/KHR_materials_iridescence-nLZDN7sc.esm.js +0 -72
- package/dist/chunks/KHR_materials_iridescence-nLZDN7sc.esm.js.map +0 -1
- package/dist/chunks/KHR_materials_pbrSpecularGlossiness-CyNVQC-W.esm.js +0 -81
- package/dist/chunks/KHR_materials_pbrSpecularGlossiness-CyNVQC-W.esm.js.map +0 -1
- package/dist/chunks/KHR_materials_pbrSpecularGlossiness-zxcydJdp.esm.min.js +0 -2
- package/dist/chunks/KHR_materials_pbrSpecularGlossiness-zxcydJdp.esm.min.js.map +0 -1
- package/dist/chunks/KHR_materials_sheen-BWL9yo8Z.esm.min.js +0 -2
- package/dist/chunks/KHR_materials_sheen-BWL9yo8Z.esm.min.js.map +0 -1
- package/dist/chunks/KHR_materials_sheen-DSThWwq2.esm.js +0 -85
- package/dist/chunks/KHR_materials_sheen-DSThWwq2.esm.js.map +0 -1
- package/dist/chunks/KHR_materials_specular-B96NRFEV.esm.js +0 -75
- package/dist/chunks/KHR_materials_specular-B96NRFEV.esm.js.map +0 -1
- package/dist/chunks/KHR_materials_specular-D2JwOdxw.esm.min.js +0 -2
- package/dist/chunks/KHR_materials_specular-D2JwOdxw.esm.min.js.map +0 -1
- package/dist/chunks/KHR_materials_transmission-BvqtJXfD.esm.js +0 -307
- package/dist/chunks/KHR_materials_transmission-BvqtJXfD.esm.js.map +0 -1
- package/dist/chunks/KHR_materials_transmission-ljXN4y_0.esm.min.js +0 -2
- package/dist/chunks/KHR_materials_transmission-ljXN4y_0.esm.min.js.map +0 -1
- package/dist/chunks/KHR_materials_unlit-CjGTXU3z.esm.min.js +0 -2
- package/dist/chunks/KHR_materials_unlit-CjGTXU3z.esm.min.js.map +0 -1
- package/dist/chunks/KHR_materials_unlit-ww00IloC.esm.js +0 -74
- package/dist/chunks/KHR_materials_unlit-ww00IloC.esm.js.map +0 -1
- package/dist/chunks/KHR_materials_variants-D0pVU1lm.esm.min.js +0 -2
- package/dist/chunks/KHR_materials_variants-D0pVU1lm.esm.min.js.map +0 -1
- package/dist/chunks/KHR_materials_variants-D3IDOJfB.esm.js +0 -262
- package/dist/chunks/KHR_materials_variants-D3IDOJfB.esm.js.map +0 -1
- package/dist/chunks/KHR_materials_volume-BfZR8rbr.esm.min.js +0 -2
- package/dist/chunks/KHR_materials_volume-BfZR8rbr.esm.min.js.map +0 -1
- package/dist/chunks/KHR_materials_volume-CLkC_Bvi.esm.js +0 -87
- package/dist/chunks/KHR_materials_volume-CLkC_Bvi.esm.js.map +0 -1
- package/dist/chunks/KHR_mesh_quantization-BJv1P2Wt.esm.js +0 -26
- package/dist/chunks/KHR_mesh_quantization-BJv1P2Wt.esm.js.map +0 -1
- package/dist/chunks/KHR_mesh_quantization-D69X_5bR.esm.min.js +0 -2
- package/dist/chunks/KHR_mesh_quantization-D69X_5bR.esm.min.js.map +0 -1
- package/dist/chunks/KHR_node_hoverability-CG6s7hhs.esm.min.js +0 -2
- package/dist/chunks/KHR_node_hoverability-CG6s7hhs.esm.min.js.map +0 -1
- package/dist/chunks/KHR_node_hoverability-xgvyZ_r-.esm.js +0 -39
- package/dist/chunks/KHR_node_hoverability-xgvyZ_r-.esm.js.map +0 -1
- package/dist/chunks/KHR_node_visibility-DUozjXRR.esm.min.js +0 -2
- package/dist/chunks/KHR_node_visibility-DUozjXRR.esm.min.js.map +0 -1
- package/dist/chunks/KHR_node_visibility-aAs5Kkey.esm.js +0 -46
- package/dist/chunks/KHR_node_visibility-aAs5Kkey.esm.js.map +0 -1
- package/dist/chunks/KHR_texture_basisu-Bjw0jG1d.esm.js +0 -43
- package/dist/chunks/KHR_texture_basisu-Bjw0jG1d.esm.js.map +0 -1
- package/dist/chunks/KHR_texture_basisu-FWm46QOj.esm.min.js +0 -2
- package/dist/chunks/KHR_texture_basisu-FWm46QOj.esm.min.js.map +0 -1
- package/dist/chunks/KHR_texture_transform-BZYr2brj.esm.min.js +0 -2
- package/dist/chunks/KHR_texture_transform-BZYr2brj.esm.min.js.map +0 -1
- package/dist/chunks/KHR_texture_transform-DdsN6SA_.esm.js +0 -63
- package/dist/chunks/KHR_texture_transform-DdsN6SA_.esm.js.map +0 -1
- package/dist/chunks/KHR_xmp_json_ld-DhFD64vh.esm.min.js +0 -2
- package/dist/chunks/KHR_xmp_json_ld-DhFD64vh.esm.min.js.map +0 -1
- package/dist/chunks/KHR_xmp_json_ld-sTn6N13E.esm.js +0 -51
- package/dist/chunks/KHR_xmp_json_ld-sTn6N13E.esm.js.map +0 -1
- package/dist/chunks/MSFT_audio_emitter-5lrNj8-c.esm.min.js +0 -2
- package/dist/chunks/MSFT_audio_emitter-5lrNj8-c.esm.min.js.map +0 -1
- package/dist/chunks/MSFT_audio_emitter-B7RJSCaF.esm.js +0 -2201
- package/dist/chunks/MSFT_audio_emitter-B7RJSCaF.esm.js.map +0 -1
- package/dist/chunks/MSFT_lod-BJBjM7Gp.esm.js +0 -337
- package/dist/chunks/MSFT_lod-BJBjM7Gp.esm.js.map +0 -1
- package/dist/chunks/MSFT_lod-DpEZMnoU.esm.min.js +0 -2
- package/dist/chunks/MSFT_lod-DpEZMnoU.esm.min.js.map +0 -1
- package/dist/chunks/MSFT_minecraftMesh-CXHPdyar.esm.min.js +0 -2
- package/dist/chunks/MSFT_minecraftMesh-CXHPdyar.esm.min.js.map +0 -1
- package/dist/chunks/MSFT_minecraftMesh-DRC2tMvY.esm.js +0 -46
- package/dist/chunks/MSFT_minecraftMesh-DRC2tMvY.esm.js.map +0 -1
- package/dist/chunks/MSFT_sRGBFactors-Db1asZRk.esm.js +0 -47
- package/dist/chunks/MSFT_sRGBFactors-Db1asZRk.esm.js.map +0 -1
- package/dist/chunks/MSFT_sRGBFactors-RhAtY3q7.esm.min.js +0 -2
- package/dist/chunks/MSFT_sRGBFactors-RhAtY3q7.esm.min.js.map +0 -1
- package/dist/chunks/animationGroup-CjaFhT87.esm.min.js +0 -2
- package/dist/chunks/animationGroup-CjaFhT87.esm.min.js.map +0 -1
- package/dist/chunks/animationGroup-Ctc6BUYh.esm.js +0 -2482
- package/dist/chunks/animationGroup-Ctc6BUYh.esm.js.map +0 -1
- package/dist/chunks/assetContainer-DDEska5G.esm.min.js +0 -2
- package/dist/chunks/assetContainer-DDEska5G.esm.min.js.map +0 -1
- package/dist/chunks/assetContainer-QD3gUzyx.esm.js +0 -1720
- package/dist/chunks/assetContainer-QD3gUzyx.esm.js.map +0 -1
- package/dist/chunks/audioEngine-C6R2Ow6e.esm.js +0 -305
- package/dist/chunks/audioEngine-C6R2Ow6e.esm.js.map +0 -1
- package/dist/chunks/audioEngine-FKYFzzDb.esm.min.js +0 -2
- package/dist/chunks/audioEngine-FKYFzzDb.esm.min.js.map +0 -1
- package/dist/chunks/bakedVertexAnimation-DKR6lpIg.esm.min.js +0 -2
- package/dist/chunks/bakedVertexAnimation-DKR6lpIg.esm.min.js.map +0 -1
- package/dist/chunks/bakedVertexAnimation-Hxn22qoJ.esm.js +0 -114
- package/dist/chunks/bakedVertexAnimation-Hxn22qoJ.esm.js.map +0 -1
- package/dist/chunks/basisTextureLoader-BcNAHqjw.esm.min.js +0 -2
- package/dist/chunks/basisTextureLoader-BcNAHqjw.esm.min.js.map +0 -1
- package/dist/chunks/basisTextureLoader-Dr2d0ez5.esm.js +0 -600
- package/dist/chunks/basisTextureLoader-Dr2d0ez5.esm.js.map +0 -1
- package/dist/chunks/dds-CFrq_XFM.esm.js +0 -540
- package/dist/chunks/dds-CFrq_XFM.esm.js.map +0 -1
- package/dist/chunks/dds-D1NTXLIL.esm.min.js +0 -2
- package/dist/chunks/dds-D1NTXLIL.esm.min.js.map +0 -1
- package/dist/chunks/ddsTextureLoader-DbvffCUa.esm.min.js +0 -2
- package/dist/chunks/ddsTextureLoader-DbvffCUa.esm.min.js.map +0 -1
- package/dist/chunks/ddsTextureLoader-wyjUdBoO.esm.js +0 -88
- package/dist/chunks/ddsTextureLoader-wyjUdBoO.esm.js.map +0 -1
- package/dist/chunks/decalFragment-CGto5zyq.esm.js +0 -18
- package/dist/chunks/decalFragment-CGto5zyq.esm.js.map +0 -1
- package/dist/chunks/decalFragment-CU64C8uG.esm.min.js +0 -2
- package/dist/chunks/decalFragment-CU64C8uG.esm.min.js.map +0 -1
- package/dist/chunks/default.fragment-B2bhCC4E.esm.js +0 -446
- package/dist/chunks/default.fragment-B2bhCC4E.esm.js.map +0 -1
- package/dist/chunks/default.fragment-Boq79lom.esm.min.js +0 -2
- package/dist/chunks/default.fragment-Boq79lom.esm.min.js.map +0 -1
- package/dist/chunks/default.fragment-CluFtXFp.esm.min.js +0 -2
- package/dist/chunks/default.fragment-CluFtXFp.esm.min.js.map +0 -1
- package/dist/chunks/default.fragment-Dshl5Uqc.esm.js +0 -515
- package/dist/chunks/default.fragment-Dshl5Uqc.esm.js.map +0 -1
- package/dist/chunks/default.vertex-BAAgCiYo.esm.min.js +0 -2
- package/dist/chunks/default.vertex-BAAgCiYo.esm.min.js.map +0 -1
- package/dist/chunks/default.vertex-BhOIicZW.esm.min.js +0 -2
- package/dist/chunks/default.vertex-BhOIicZW.esm.min.js.map +0 -1
- package/dist/chunks/default.vertex-DL7IogGB.esm.js +0 -211
- package/dist/chunks/default.vertex-DL7IogGB.esm.js.map +0 -1
- package/dist/chunks/default.vertex-DOXcZEQ0.esm.js +0 -190
- package/dist/chunks/default.vertex-DOXcZEQ0.esm.js.map +0 -1
- package/dist/chunks/defaultUboDeclaration-1qBz6EuF.esm.js +0 -15
- package/dist/chunks/defaultUboDeclaration-1qBz6EuF.esm.js.map +0 -1
- package/dist/chunks/defaultUboDeclaration-B9LzMzlw.esm.min.js +0 -2
- package/dist/chunks/defaultUboDeclaration-B9LzMzlw.esm.min.js.map +0 -1
- package/dist/chunks/defaultUboDeclaration-CXdodf7i.esm.js +0 -13
- package/dist/chunks/defaultUboDeclaration-CXdodf7i.esm.js.map +0 -1
- package/dist/chunks/defaultUboDeclaration-CZlCaxgu.esm.min.js +0 -2
- package/dist/chunks/defaultUboDeclaration-CZlCaxgu.esm.min.js.map +0 -1
- package/dist/chunks/drawWrapper.functions-CKg3_9x4.esm.js +0 -11
- package/dist/chunks/drawWrapper.functions-CKg3_9x4.esm.js.map +0 -1
- package/dist/chunks/drawWrapper.functions-ng7lvueZ.esm.min.js +0 -2
- package/dist/chunks/drawWrapper.functions-ng7lvueZ.esm.min.js.map +0 -1
- package/dist/chunks/dumpTools-C3vcqEdz.esm.js +0 -200
- package/dist/chunks/dumpTools-C3vcqEdz.esm.js.map +0 -1
- package/dist/chunks/dumpTools-C8ZzlWEh.esm.min.js +0 -2
- package/dist/chunks/dumpTools-C8ZzlWEh.esm.min.js.map +0 -1
- package/dist/chunks/engine-_wVL12I1.esm.js +0 -2213
- package/dist/chunks/engine-_wVL12I1.esm.js.map +0 -1
- package/dist/chunks/engine-nCWszV_w.esm.min.js +0 -2
- package/dist/chunks/engine-nCWszV_w.esm.min.js.map +0 -1
- package/dist/chunks/engine.common-BuPfo1Wj.esm.min.js +0 -2
- package/dist/chunks/engine.common-BuPfo1Wj.esm.min.js.map +0 -1
- package/dist/chunks/engine.common-CT5iq3ZT.esm.js +0 -1162
- package/dist/chunks/engine.common-CT5iq3ZT.esm.js.map +0 -1
- package/dist/chunks/envTextureLoader-D7L0fVXR.esm.min.js +0 -2
- package/dist/chunks/envTextureLoader-D7L0fVXR.esm.min.js.map +0 -1
- package/dist/chunks/envTextureLoader-PtuRNDrr.esm.js +0 -64
- package/dist/chunks/envTextureLoader-PtuRNDrr.esm.js.map +0 -1
- package/dist/chunks/environmentTextureTools-BjmCbfSf.esm.min.js +0 -2
- package/dist/chunks/environmentTextureTools-BjmCbfSf.esm.min.js.map +0 -1
- package/dist/chunks/environmentTextureTools-DYbFmR95.esm.js +0 -382
- package/dist/chunks/environmentTextureTools-DYbFmR95.esm.js.map +0 -1
- package/dist/chunks/exrTextureLoader-BIPK0bPG.esm.min.js +0 -2
- package/dist/chunks/exrTextureLoader-BIPK0bPG.esm.min.js.map +0 -1
- package/dist/chunks/exrTextureLoader-CEhv_7O9.esm.js +0 -1683
- package/dist/chunks/exrTextureLoader-CEhv_7O9.esm.js.map +0 -1
- package/dist/chunks/fogFragment-B7_evZbY.esm.js +0 -102
- package/dist/chunks/fogFragment-B7_evZbY.esm.js.map +0 -1
- package/dist/chunks/fogFragment-CoZPb7oI.esm.min.js +0 -2
- package/dist/chunks/fogFragment-CoZPb7oI.esm.min.js.map +0 -1
- package/dist/chunks/fogFragment-DSO97-dc.esm.min.js +0 -2
- package/dist/chunks/fogFragment-DSO97-dc.esm.min.js.map +0 -1
- package/dist/chunks/fogFragment-wY2jQ7fb.esm.js +0 -101
- package/dist/chunks/fogFragment-wY2jQ7fb.esm.js.map +0 -1
- package/dist/chunks/fresnelFunction-BSEp5SCT.esm.js +0 -12
- package/dist/chunks/fresnelFunction-BSEp5SCT.esm.js.map +0 -1
- package/dist/chunks/fresnelFunction-Cg-NNSrz.esm.min.js +0 -2
- package/dist/chunks/fresnelFunction-Cg-NNSrz.esm.min.js.map +0 -1
- package/dist/chunks/glTFLoader-3ZUBWawQ.esm.min.js +0 -2
- package/dist/chunks/glTFLoader-3ZUBWawQ.esm.min.js.map +0 -1
- package/dist/chunks/glTFLoader-DVoAJl_A.esm.js +0 -7658
- package/dist/chunks/glTFLoader-DVoAJl_A.esm.js.map +0 -1
- package/dist/chunks/glTFLoaderAnimation-By7yP8sQ.esm.js +0 -77
- package/dist/chunks/glTFLoaderAnimation-By7yP8sQ.esm.js.map +0 -1
- package/dist/chunks/glTFLoaderAnimation-C9g-SHaJ.esm.min.js +0 -2
- package/dist/chunks/glTFLoaderAnimation-C9g-SHaJ.esm.min.js.map +0 -1
- package/dist/chunks/gltfPathToObjectConverter-Dyt_Y9jE.esm.min.js +0 -2
- package/dist/chunks/gltfPathToObjectConverter-Dyt_Y9jE.esm.min.js.map +0 -1
- package/dist/chunks/gltfPathToObjectConverter-GcUmfOyo.esm.js +0 -67
- package/dist/chunks/gltfPathToObjectConverter-GcUmfOyo.esm.js.map +0 -1
- package/dist/chunks/harmonicsFunctions-B8pgRSdd.esm.min.js +0 -2
- package/dist/chunks/harmonicsFunctions-B8pgRSdd.esm.min.js.map +0 -1
- package/dist/chunks/harmonicsFunctions-BcfkM4gb.esm.js +0 -35
- package/dist/chunks/harmonicsFunctions-BcfkM4gb.esm.js.map +0 -1
- package/dist/chunks/harmonicsFunctions-DF1x585z.esm.min.js +0 -2
- package/dist/chunks/harmonicsFunctions-DF1x585z.esm.min.js.map +0 -1
- package/dist/chunks/harmonicsFunctions-a48Ki58F.esm.js +0 -34
- package/dist/chunks/harmonicsFunctions-a48Ki58F.esm.js.map +0 -1
- package/dist/chunks/hdrTextureLoader-BWnO8u1r.esm.js +0 -253
- package/dist/chunks/hdrTextureLoader-BWnO8u1r.esm.js.map +0 -1
- package/dist/chunks/hdrTextureLoader-Bii9QpYI.esm.min.js +0 -2
- package/dist/chunks/hdrTextureLoader-Bii9QpYI.esm.min.js.map +0 -1
- package/dist/chunks/helperFunctions-BinFB44e.esm.js +0 -110
- package/dist/chunks/helperFunctions-BinFB44e.esm.js.map +0 -1
- package/dist/chunks/helperFunctions-CZAyJNTJ.esm.min.js +0 -2
- package/dist/chunks/helperFunctions-CZAyJNTJ.esm.min.js.map +0 -1
- package/dist/chunks/helperFunctions-DjoUVhI2.esm.min.js +0 -2
- package/dist/chunks/helperFunctions-DjoUVhI2.esm.min.js.map +0 -1
- package/dist/chunks/helperFunctions-Ds3-3-tu.esm.js +0 -83
- package/dist/chunks/helperFunctions-Ds3-3-tu.esm.js.map +0 -1
- package/dist/chunks/iesTextureLoader-CsnjIN7M.esm.js +0 -189
- package/dist/chunks/iesTextureLoader-CsnjIN7M.esm.js.map +0 -1
- package/dist/chunks/iesTextureLoader-DkmTomCD.esm.min.js +0 -2
- package/dist/chunks/iesTextureLoader-DkmTomCD.esm.min.js.map +0 -1
- package/dist/chunks/index-Cw2FZpYY.esm.js +0 -74870
- package/dist/chunks/index-Cw2FZpYY.esm.js.map +0 -1
- package/dist/chunks/index-DRbhrB0j.esm.min.js +0 -57
- package/dist/chunks/index-DRbhrB0j.esm.min.js.map +0 -1
- package/dist/chunks/ktxTextureLoader-B4pmAFQl.esm.js +0 -814
- package/dist/chunks/ktxTextureLoader-B4pmAFQl.esm.js.map +0 -1
- package/dist/chunks/ktxTextureLoader-B8Rlj2T0.esm.min.js +0 -2
- package/dist/chunks/ktxTextureLoader-B8Rlj2T0.esm.min.js.map +0 -1
- package/dist/chunks/logDepthDeclaration-CGz2sG_K.esm.js +0 -11
- package/dist/chunks/logDepthDeclaration-CGz2sG_K.esm.js.map +0 -1
- package/dist/chunks/logDepthDeclaration-CfVFs2QC.esm.min.js +0 -2
- package/dist/chunks/logDepthDeclaration-CfVFs2QC.esm.min.js.map +0 -1
- package/dist/chunks/logDepthDeclaration-CzVshpad.esm.min.js +0 -2
- package/dist/chunks/logDepthDeclaration-CzVshpad.esm.min.js.map +0 -1
- package/dist/chunks/logDepthDeclaration-xOwnAKtd.esm.js +0 -35
- package/dist/chunks/logDepthDeclaration-xOwnAKtd.esm.js.map +0 -1
- package/dist/chunks/logDepthVertex-BRgUZAsw.esm.js +0 -81
- package/dist/chunks/logDepthVertex-BRgUZAsw.esm.js.map +0 -1
- package/dist/chunks/logDepthVertex-CWfPfN9-.esm.min.js +0 -2
- package/dist/chunks/logDepthVertex-CWfPfN9-.esm.min.js.map +0 -1
- package/dist/chunks/logDepthVertex-HDlt7vTP.esm.min.js +0 -2
- package/dist/chunks/logDepthVertex-HDlt7vTP.esm.min.js.map +0 -1
- package/dist/chunks/logDepthVertex-l0uEG89p.esm.js +0 -77
- package/dist/chunks/logDepthVertex-l0uEG89p.esm.js.map +0 -1
- package/dist/chunks/mainUVVaryingDeclaration-B72zV2P9.esm.min.js +0 -2
- package/dist/chunks/mainUVVaryingDeclaration-B72zV2P9.esm.min.js.map +0 -1
- package/dist/chunks/mainUVVaryingDeclaration-BDogjZrz.esm.js +0 -11
- package/dist/chunks/mainUVVaryingDeclaration-BDogjZrz.esm.js.map +0 -1
- package/dist/chunks/mainUVVaryingDeclaration-DO5HJKyl.esm.min.js +0 -2
- package/dist/chunks/mainUVVaryingDeclaration-DO5HJKyl.esm.min.js.map +0 -1
- package/dist/chunks/mainUVVaryingDeclaration-DqzNajlu.esm.js +0 -11
- package/dist/chunks/mainUVVaryingDeclaration-DqzNajlu.esm.js.map +0 -1
- package/dist/chunks/mesh.vertexData.functions-B_pMCAzZ.esm.js +0 -119
- package/dist/chunks/mesh.vertexData.functions-B_pMCAzZ.esm.js.map +0 -1
- package/dist/chunks/mesh.vertexData.functions-Bo7e6Of9.esm.min.js +0 -2
- package/dist/chunks/mesh.vertexData.functions-Bo7e6Of9.esm.min.js.map +0 -1
- package/dist/chunks/meshUboDeclaration-BCO87lfZ.esm.js +0 -26
- package/dist/chunks/meshUboDeclaration-BCO87lfZ.esm.js.map +0 -1
- package/dist/chunks/meshUboDeclaration-o4Xf2fwW.esm.min.js +0 -2
- package/dist/chunks/meshUboDeclaration-o4Xf2fwW.esm.min.js.map +0 -1
- package/dist/chunks/objFileLoader-BfPYM2Sh.esm.min.js +0 -2
- package/dist/chunks/objFileLoader-BfPYM2Sh.esm.min.js.map +0 -1
- package/dist/chunks/objFileLoader-D1emf4Qh.esm.js +0 -1338
- package/dist/chunks/objFileLoader-D1emf4Qh.esm.js.map +0 -1
- package/dist/chunks/oitFragment-B92YpEfj.esm.min.js +0 -2
- package/dist/chunks/oitFragment-B92YpEfj.esm.min.js.map +0 -1
- package/dist/chunks/oitFragment-BoFKkDNv.esm.js +0 -1078
- package/dist/chunks/oitFragment-BoFKkDNv.esm.js.map +0 -1
- package/dist/chunks/oitFragment-Cfx3g0iX.esm.js +0 -1240
- package/dist/chunks/oitFragment-Cfx3g0iX.esm.js.map +0 -1
- package/dist/chunks/oitFragment-CiA7gld-.esm.min.js +0 -2
- package/dist/chunks/oitFragment-CiA7gld-.esm.min.js.map +0 -1
- package/dist/chunks/pass.fragment-BLbIViJ7.esm.js +0 -15
- package/dist/chunks/pass.fragment-BLbIViJ7.esm.js.map +0 -1
- package/dist/chunks/pass.fragment-BqMk9ouF.esm.min.js +0 -2
- package/dist/chunks/pass.fragment-BqMk9ouF.esm.min.js.map +0 -1
- package/dist/chunks/pass.fragment-BuVDFNSR.esm.js +0 -15
- package/dist/chunks/pass.fragment-BuVDFNSR.esm.js.map +0 -1
- package/dist/chunks/pass.fragment-cM5FBHLm.esm.min.js +0 -2
- package/dist/chunks/pass.fragment-cM5FBHLm.esm.min.js.map +0 -1
- package/dist/chunks/pbr.fragment-5L_F7nGn.esm.js +0 -3222
- package/dist/chunks/pbr.fragment-5L_F7nGn.esm.js.map +0 -1
- package/dist/chunks/pbr.fragment-BJNPHSa-.esm.min.js +0 -2
- package/dist/chunks/pbr.fragment-BJNPHSa-.esm.min.js.map +0 -1
- package/dist/chunks/pbr.fragment-CTLrOzV2.esm.js +0 -3269
- package/dist/chunks/pbr.fragment-CTLrOzV2.esm.js.map +0 -1
- package/dist/chunks/pbr.fragment-D9MJFOr2.esm.min.js +0 -2
- package/dist/chunks/pbr.fragment-D9MJFOr2.esm.min.js.map +0 -1
- package/dist/chunks/pbr.vertex-BJyjq_fb.esm.js +0 -223
- package/dist/chunks/pbr.vertex-BJyjq_fb.esm.js.map +0 -1
- package/dist/chunks/pbr.vertex-Bm8Ng4Sx.esm.min.js +0 -2
- package/dist/chunks/pbr.vertex-Bm8Ng4Sx.esm.min.js.map +0 -1
- package/dist/chunks/pbr.vertex-CAKPUhfb.esm.min.js +0 -2
- package/dist/chunks/pbr.vertex-CAKPUhfb.esm.min.js.map +0 -1
- package/dist/chunks/pbr.vertex-DJd_-MvE.esm.js +0 -348
- package/dist/chunks/pbr.vertex-DJd_-MvE.esm.js.map +0 -1
- package/dist/chunks/postprocess.vertex-BjRX5eGi.esm.min.js +0 -2
- package/dist/chunks/postprocess.vertex-BjRX5eGi.esm.min.js.map +0 -1
- package/dist/chunks/postprocess.vertex-CFaKNIU-.esm.js +0 -20
- package/dist/chunks/postprocess.vertex-CFaKNIU-.esm.js.map +0 -1
- package/dist/chunks/rawTexture-ByD8l28R.esm.min.js +0 -2
- package/dist/chunks/rawTexture-ByD8l28R.esm.min.js.map +0 -1
- package/dist/chunks/rawTexture-DGz22uaX.esm.js +0 -191
- package/dist/chunks/rawTexture-DGz22uaX.esm.js.map +0 -1
- package/dist/chunks/ray-ByafiITx.esm.js +0 -946
- package/dist/chunks/ray-ByafiITx.esm.js.map +0 -1
- package/dist/chunks/ray-ChSTYrPm.esm.min.js +0 -2
- package/dist/chunks/ray-ChSTYrPm.esm.min.js.map +0 -1
- package/dist/chunks/rgbdDecode.fragment-CJ7PpH1N.esm.js +0 -13
- package/dist/chunks/rgbdDecode.fragment-CJ7PpH1N.esm.js.map +0 -1
- package/dist/chunks/rgbdDecode.fragment-DJ9crbPP.esm.js +0 -13
- package/dist/chunks/rgbdDecode.fragment-DJ9crbPP.esm.js.map +0 -1
- package/dist/chunks/rgbdDecode.fragment-DLpb3z18.esm.min.js +0 -2
- package/dist/chunks/rgbdDecode.fragment-DLpb3z18.esm.min.js.map +0 -1
- package/dist/chunks/rgbdDecode.fragment-ygeOUzIi.esm.min.js +0 -2
- package/dist/chunks/rgbdDecode.fragment-ygeOUzIi.esm.min.js.map +0 -1
- package/dist/chunks/rgbdEncode.fragment-BTG_wbck.esm.min.js +0 -2
- package/dist/chunks/rgbdEncode.fragment-BTG_wbck.esm.min.js.map +0 -1
- package/dist/chunks/rgbdEncode.fragment-C2s4AQaM.esm.js +0 -13
- package/dist/chunks/rgbdEncode.fragment-C2s4AQaM.esm.js.map +0 -1
- package/dist/chunks/rgbdEncode.fragment-C6LKySQH.esm.js +0 -13
- package/dist/chunks/rgbdEncode.fragment-C6LKySQH.esm.js.map +0 -1
- package/dist/chunks/rgbdEncode.fragment-CKB2lpgL.esm.min.js +0 -2
- package/dist/chunks/rgbdEncode.fragment-CKB2lpgL.esm.min.js.map +0 -1
- package/dist/chunks/splatFileLoader-BtSUlfZs.esm.min.js +0 -2
- package/dist/chunks/splatFileLoader-BtSUlfZs.esm.min.js.map +0 -1
- package/dist/chunks/splatFileLoader-Wn5sDtLq.esm.js +0 -3379
- package/dist/chunks/splatFileLoader-Wn5sDtLq.esm.js.map +0 -1
- package/dist/chunks/spotLight-CmDQEB8V.esm.js +0 -701
- package/dist/chunks/spotLight-CmDQEB8V.esm.js.map +0 -1
- package/dist/chunks/spotLight-hg94aMJD.esm.min.js +0 -2
- package/dist/chunks/spotLight-hg94aMJD.esm.min.js.map +0 -1
- package/dist/chunks/standardMaterial-BhIiLn1_.esm.js +0 -1806
- package/dist/chunks/standardMaterial-BhIiLn1_.esm.js.map +0 -1
- package/dist/chunks/standardMaterial-DQii8fRL.esm.min.js +0 -2
- package/dist/chunks/standardMaterial-DQii8fRL.esm.min.js.map +0 -1
- package/dist/chunks/stlFileLoader-D83u9BOr.esm.js +0 -238
- package/dist/chunks/stlFileLoader-D83u9BOr.esm.js.map +0 -1
- package/dist/chunks/stlFileLoader-DkXWqjZo.esm.min.js +0 -2
- package/dist/chunks/stlFileLoader-DkXWqjZo.esm.min.js.map +0 -1
- package/dist/chunks/tgaTextureLoader-C9xl6cvE.esm.js +0 -349
- package/dist/chunks/tgaTextureLoader-C9xl6cvE.esm.js.map +0 -1
- package/dist/chunks/tgaTextureLoader-DfzjGulW.esm.min.js +0 -2
- package/dist/chunks/tgaTextureLoader-DfzjGulW.esm.min.js.map +0 -1
- package/dist/chunks/thinEngine-Cu21aOSC.esm.min.js +0 -2
- package/dist/chunks/thinEngine-Cu21aOSC.esm.min.js.map +0 -1
- package/dist/chunks/thinEngine-IzS60pqU.esm.js +0 -3853
- package/dist/chunks/thinEngine-IzS60pqU.esm.js.map +0 -1
- package/dist/chunks/thinInstanceMesh-BN8Ev-h8.esm.js +0 -314
- package/dist/chunks/thinInstanceMesh-BN8Ev-h8.esm.js.map +0 -1
- package/dist/chunks/thinInstanceMesh-Bm9vmKU4.esm.min.js +0 -2
- package/dist/chunks/thinInstanceMesh-Bm9vmKU4.esm.min.js.map +0 -1
- package/dist/chunks/vertexColorMixing-Cazf4vEl.esm.min.js +0 -2
- package/dist/chunks/vertexColorMixing-Cazf4vEl.esm.min.js.map +0 -1
- package/dist/chunks/vertexColorMixing-DGvq3Fju.esm.js +0 -421
- package/dist/chunks/vertexColorMixing-DGvq3Fju.esm.js.map +0 -1
- package/dist/chunks/vertexColorMixing-D_6ZvivZ.esm.min.js +0 -2
- package/dist/chunks/vertexColorMixing-D_6ZvivZ.esm.min.js.map +0 -1
- package/dist/chunks/vertexColorMixing-DuYHnuUm.esm.js +0 -531
- package/dist/chunks/vertexColorMixing-DuYHnuUm.esm.js.map +0 -1
- package/dist/chunks/webgpuEngine-DHaXinU4.esm.min.js +0 -2
- package/dist/chunks/webgpuEngine-DHaXinU4.esm.min.js.map +0 -1
- package/dist/chunks/webgpuEngine-Dxev7pbz.esm.js +0 -11538
- package/dist/chunks/webgpuEngine-Dxev7pbz.esm.js.map +0 -1
- package/dist/chunks/workerPool-BUOov2K1.esm.js +0 -122
- package/dist/chunks/workerPool-BUOov2K1.esm.js.map +0 -1
- package/dist/chunks/workerPool-BWHiDmEZ.esm.min.js +0 -2
- package/dist/chunks/workerPool-BWHiDmEZ.esm.min.js.map +0 -1
- package/lib/index.d.ts +0 -591
- package/lib/index.js +0 -2165
- package/lib/index.js.map +0 -1
package/lib/index.d.ts
DELETED
|
@@ -1,591 +0,0 @@
|
|
|
1
|
-
import { LoadAssetContainerOptions, Nullable, AssetContainer, IDisposable, PickingInfo, HotSpotQuery, AbstractEngine, AbstractEngineOptions, EngineOptions, WebGPUEngineOptions } from '@babylonjs/core/index.js';
|
|
2
|
-
import { ArcRotateCamera } from '@babylonjs/core/Cameras/arcRotateCamera.js';
|
|
3
|
-
import { Observable } from '@babylonjs/core/Misc/observable.js';
|
|
4
|
-
import { Scene } from '@babylonjs/core/scene.js';
|
|
5
|
-
import * as lit from 'lit';
|
|
6
|
-
import { LitElement, PropertyValues, TemplateResult } from 'lit';
|
|
7
|
-
import { Color4 } from '@babylonjs/core/Maths/math.color.js';
|
|
8
|
-
import * as lit_html from 'lit-html';
|
|
9
|
-
|
|
10
|
-
declare const toneMappingOptions: readonly ["none", "standard", "aces", "neutral"];
|
|
11
|
-
type ToneMapping = (typeof toneMappingOptions)[number];
|
|
12
|
-
type LoadModelOptions = LoadAssetContainerOptions & {
|
|
13
|
-
/**
|
|
14
|
-
* The default animation index.
|
|
15
|
-
*/
|
|
16
|
-
defaultAnimation?: number;
|
|
17
|
-
};
|
|
18
|
-
type CameraAutoOrbit = {
|
|
19
|
-
/**
|
|
20
|
-
* Whether the camera should automatically orbit around the model when idle.
|
|
21
|
-
*/
|
|
22
|
-
enabled: boolean;
|
|
23
|
-
/**
|
|
24
|
-
* The speed at which the camera orbits around the model when idle.
|
|
25
|
-
*/
|
|
26
|
-
speed: number;
|
|
27
|
-
/**
|
|
28
|
-
* The delay in milliseconds before the camera starts orbiting around the model when idle.
|
|
29
|
-
*/
|
|
30
|
-
delay: number;
|
|
31
|
-
};
|
|
32
|
-
type PostProcessing = {
|
|
33
|
-
/**
|
|
34
|
-
* The tone mapping to use for rendering the scene.
|
|
35
|
-
*/
|
|
36
|
-
toneMapping: ToneMapping;
|
|
37
|
-
/**
|
|
38
|
-
* The contrast applied to the scene.
|
|
39
|
-
*/
|
|
40
|
-
contrast: number;
|
|
41
|
-
/**
|
|
42
|
-
* The exposure applied to the scene.
|
|
43
|
-
*/
|
|
44
|
-
exposure: number;
|
|
45
|
-
};
|
|
46
|
-
type ViewerDetails = {
|
|
47
|
-
/**
|
|
48
|
-
* Gets the Viewer instance.
|
|
49
|
-
*/
|
|
50
|
-
viewer: Viewer;
|
|
51
|
-
/**
|
|
52
|
-
* Provides access to the Scene managed by the Viewer.
|
|
53
|
-
*/
|
|
54
|
-
scene: Scene;
|
|
55
|
-
/**
|
|
56
|
-
* Provides access to the Camera managed by the Viewer.
|
|
57
|
-
*/
|
|
58
|
-
camera: ArcRotateCamera;
|
|
59
|
-
/**
|
|
60
|
-
* Provides access to the currently loaded model.
|
|
61
|
-
*/
|
|
62
|
-
model: Nullable<AssetContainer>;
|
|
63
|
-
/**
|
|
64
|
-
* Suspends the render loop.
|
|
65
|
-
* @returns A token that should be disposed when the request for suspending rendering is no longer needed.
|
|
66
|
-
*/
|
|
67
|
-
suspendRendering(): IDisposable;
|
|
68
|
-
/**
|
|
69
|
-
* Picks the object at the given screen coordinates.
|
|
70
|
-
* @remarks This function ensures skeletal and morph target animations are up to date before picking, and typically should not be called at high frequency (e.g. every frame, on pointer move, etc.).
|
|
71
|
-
* @param screenX The x coordinate in screen space.
|
|
72
|
-
* @param screenY The y coordinate in screen space.
|
|
73
|
-
* @returns A PickingInfo if an object was picked, otherwise null.
|
|
74
|
-
*/
|
|
75
|
-
pick(screenX: number, screenY: number): Promise<Nullable<PickingInfo>>;
|
|
76
|
-
};
|
|
77
|
-
type ViewerOptions = Partial<Readonly<{
|
|
78
|
-
/**
|
|
79
|
-
* Called once when the viewer is initialized and provides viewer details that can be used for advanced customization.
|
|
80
|
-
*/
|
|
81
|
-
onInitialized: (details: Readonly<ViewerDetails>) => void;
|
|
82
|
-
}>>;
|
|
83
|
-
type EnvironmentOptions = Partial<Readonly<{
|
|
84
|
-
/**
|
|
85
|
-
* Whether to use the environment for lighting (e.g. IBL).
|
|
86
|
-
*/
|
|
87
|
-
lighting: boolean;
|
|
88
|
-
/**
|
|
89
|
-
* Whether to use the environment for the skybox.
|
|
90
|
-
*/
|
|
91
|
-
skybox: boolean;
|
|
92
|
-
}>>;
|
|
93
|
-
type ViewerHotSpotQuery = ({
|
|
94
|
-
/**
|
|
95
|
-
* The type of the hot spot.
|
|
96
|
-
*/
|
|
97
|
-
type: "surface";
|
|
98
|
-
/**
|
|
99
|
-
* The index of the mesh within the loaded model.
|
|
100
|
-
*/
|
|
101
|
-
meshIndex: number;
|
|
102
|
-
} & HotSpotQuery) | {
|
|
103
|
-
/**
|
|
104
|
-
* The type of the hot spot.
|
|
105
|
-
*/
|
|
106
|
-
type: "world";
|
|
107
|
-
/**
|
|
108
|
-
* The fixed world space position of the hot spot.
|
|
109
|
-
*/
|
|
110
|
-
position: [x: number, y: number, z: number];
|
|
111
|
-
/**
|
|
112
|
-
* The fixed world space normal of the hot spot.
|
|
113
|
-
*/
|
|
114
|
-
normal: [x: number, y: number, z: number];
|
|
115
|
-
};
|
|
116
|
-
/**
|
|
117
|
-
* Provides the result of a hot spot query.
|
|
118
|
-
*/
|
|
119
|
-
declare class ViewerHotSpotResult {
|
|
120
|
-
/**
|
|
121
|
-
* 2D canvas position in pixels
|
|
122
|
-
*/
|
|
123
|
-
readonly screenPosition: [x: number, y: number];
|
|
124
|
-
/**
|
|
125
|
-
* 3D world coordinates
|
|
126
|
-
*/
|
|
127
|
-
readonly worldPosition: [x: number, y: number, z: number];
|
|
128
|
-
/**
|
|
129
|
-
* visibility range is [-1..1]. A value of 0 means camera eye is on the plane.
|
|
130
|
-
*/
|
|
131
|
-
visibility: number;
|
|
132
|
-
}
|
|
133
|
-
/**
|
|
134
|
-
* @experimental
|
|
135
|
-
* Provides an experience for viewing a single 3D model.
|
|
136
|
-
* @remarks
|
|
137
|
-
* The Viewer is not tied to a specific UI framework and can be used with Babylon.js in a browser or with Babylon Native.
|
|
138
|
-
*/
|
|
139
|
-
declare class Viewer implements IDisposable {
|
|
140
|
-
private readonly _engine;
|
|
141
|
-
/**
|
|
142
|
-
* Fired when the environment has changed.
|
|
143
|
-
*/
|
|
144
|
-
readonly onEnvironmentChanged: Observable<void>;
|
|
145
|
-
/**
|
|
146
|
-
* Fired when an error occurs while loading the environment.
|
|
147
|
-
*/
|
|
148
|
-
readonly onEnvironmentError: Observable<unknown>;
|
|
149
|
-
/**
|
|
150
|
-
* Fired when the skybox blur changes.
|
|
151
|
-
*/
|
|
152
|
-
readonly onSkyboxBlurChanged: Observable<void>;
|
|
153
|
-
/**
|
|
154
|
-
* Fired when the post processing state changes.
|
|
155
|
-
*/
|
|
156
|
-
readonly onPostProcessingChanged: Observable<void>;
|
|
157
|
-
/**
|
|
158
|
-
* Fired when a model is loaded into the viewer (or unloaded from the viewer).
|
|
159
|
-
*/
|
|
160
|
-
readonly onModelChanged: Observable<void>;
|
|
161
|
-
/**
|
|
162
|
-
* Fired when an error occurs while loading a model.
|
|
163
|
-
*/
|
|
164
|
-
readonly onModelError: Observable<unknown>;
|
|
165
|
-
/**
|
|
166
|
-
* Fired when progress changes on loading activity.
|
|
167
|
-
*/
|
|
168
|
-
readonly onLoadingProgressChanged: Observable<void>;
|
|
169
|
-
/**
|
|
170
|
-
* Fired when the camera auto orbit state changes.
|
|
171
|
-
*/
|
|
172
|
-
readonly onCameraAutoOrbitChanged: Observable<void>;
|
|
173
|
-
/**
|
|
174
|
-
* Fired when the selected animation changes.
|
|
175
|
-
*/
|
|
176
|
-
readonly onSelectedAnimationChanged: Observable<void>;
|
|
177
|
-
/**
|
|
178
|
-
* Fired when the animation speed changes.
|
|
179
|
-
*/
|
|
180
|
-
readonly onAnimationSpeedChanged: Observable<void>;
|
|
181
|
-
/**
|
|
182
|
-
* Fired when the selected animation is playing or paused.
|
|
183
|
-
*/
|
|
184
|
-
readonly onIsAnimationPlayingChanged: Observable<void>;
|
|
185
|
-
/**
|
|
186
|
-
* Fired when the current point on the selected animation timeline changes.
|
|
187
|
-
*/
|
|
188
|
-
readonly onAnimationProgressChanged: Observable<void>;
|
|
189
|
-
/**
|
|
190
|
-
* Fired when the selected material variant changes.
|
|
191
|
-
*/
|
|
192
|
-
readonly onSelectedMaterialVariantChanged: Observable<void>;
|
|
193
|
-
private readonly _tempVectors;
|
|
194
|
-
private readonly _details;
|
|
195
|
-
private readonly _meshDataCache;
|
|
196
|
-
private readonly _snapshotHelper;
|
|
197
|
-
private readonly _autoRotationBehavior;
|
|
198
|
-
private readonly _imageProcessingConfigurationObserver;
|
|
199
|
-
private _renderLoopController;
|
|
200
|
-
private _materialVariantsController;
|
|
201
|
-
private _skybox;
|
|
202
|
-
private _skyboxBlur;
|
|
203
|
-
private _light;
|
|
204
|
-
private _toneMappingEnabled;
|
|
205
|
-
private _toneMappingType;
|
|
206
|
-
private _contrast;
|
|
207
|
-
private _exposure;
|
|
208
|
-
private _suspendRenderCount;
|
|
209
|
-
private _isDisposed;
|
|
210
|
-
private readonly _loadModelLock;
|
|
211
|
-
private _loadModelAbortController;
|
|
212
|
-
private readonly _loadEnvironmentLock;
|
|
213
|
-
private _loadEnvironmentAbortController;
|
|
214
|
-
private readonly _loadSkyboxLock;
|
|
215
|
-
private _loadSkyboxAbortController;
|
|
216
|
-
private _isLoadingModel;
|
|
217
|
-
private _modelLoadingProgress;
|
|
218
|
-
private _selectedAnimation;
|
|
219
|
-
private _activeAnimationObservers;
|
|
220
|
-
private _animationSpeed;
|
|
221
|
-
constructor(_engine: AbstractEngine, options?: ViewerOptions);
|
|
222
|
-
/**
|
|
223
|
-
* The camera auto orbit configuration.
|
|
224
|
-
*/
|
|
225
|
-
get cameraAutoOrbit(): Readonly<CameraAutoOrbit>;
|
|
226
|
-
set cameraAutoOrbit(value: Partial<Readonly<CameraAutoOrbit>>);
|
|
227
|
-
/**
|
|
228
|
-
* A value between 0 and 1 that specifies how much to blur the skybox.
|
|
229
|
-
*/
|
|
230
|
-
get skyboxBlur(): number;
|
|
231
|
-
set skyboxBlur(value: number);
|
|
232
|
-
/**
|
|
233
|
-
* The post processing configuration.
|
|
234
|
-
*/
|
|
235
|
-
get postProcessing(): PostProcessing;
|
|
236
|
-
set postProcessing(value: Partial<Readonly<PostProcessing>>);
|
|
237
|
-
/**
|
|
238
|
-
* Gets information about loading activity.
|
|
239
|
-
* @remarks
|
|
240
|
-
* false indicates no loading activity.
|
|
241
|
-
* true indicates loading activity with no progress information.
|
|
242
|
-
* A number between 0 and 1 indicates loading activity with progress information.
|
|
243
|
-
*/
|
|
244
|
-
get loadingProgress(): boolean | number;
|
|
245
|
-
/**
|
|
246
|
-
* The list of animation names for the currently loaded model.
|
|
247
|
-
*/
|
|
248
|
-
get animations(): readonly string[];
|
|
249
|
-
/**
|
|
250
|
-
* The currently selected animation index.
|
|
251
|
-
*/
|
|
252
|
-
get selectedAnimation(): number;
|
|
253
|
-
set selectedAnimation(value: number);
|
|
254
|
-
/**
|
|
255
|
-
* True if an animation is currently playing.
|
|
256
|
-
*/
|
|
257
|
-
get isAnimationPlaying(): boolean;
|
|
258
|
-
/**
|
|
259
|
-
* The speed scale at which animations are played.
|
|
260
|
-
*/
|
|
261
|
-
get animationSpeed(): number;
|
|
262
|
-
set animationSpeed(value: number);
|
|
263
|
-
/**
|
|
264
|
-
* The current point on the selected animation timeline, normalized between 0 and 1.
|
|
265
|
-
*/
|
|
266
|
-
get animationProgress(): number;
|
|
267
|
-
set animationProgress(value: number);
|
|
268
|
-
private get _activeAnimation();
|
|
269
|
-
/**
|
|
270
|
-
* The list of material variant names for the currently loaded model.
|
|
271
|
-
*/
|
|
272
|
-
get materialVariants(): readonly string[];
|
|
273
|
-
/**
|
|
274
|
-
* The currently selected material variant.
|
|
275
|
-
*/
|
|
276
|
-
get selectedMaterialVariant(): Nullable<string>;
|
|
277
|
-
set selectedMaterialVariant(value: string);
|
|
278
|
-
/**
|
|
279
|
-
* Loads a 3D model from the specified URL.
|
|
280
|
-
* @remarks
|
|
281
|
-
* If a model is already loaded, it will be unloaded before loading the new model.
|
|
282
|
-
* @param source A url or File or ArrayBufferView that points to the model to load.
|
|
283
|
-
* @param options The options to use when loading the model.
|
|
284
|
-
* @param abortSignal An optional signal that can be used to abort the loading process.
|
|
285
|
-
*/
|
|
286
|
-
loadModel(source: string | File | ArrayBufferView, options?: LoadModelOptions, abortSignal?: AbortSignal): Promise<void>;
|
|
287
|
-
/**
|
|
288
|
-
* Unloads the current 3D model if one is loaded.
|
|
289
|
-
* @param abortSignal An optional signal that can be used to abort the reset.
|
|
290
|
-
*/
|
|
291
|
-
resetModel(abortSignal?: AbortSignal): Promise<void>;
|
|
292
|
-
private _updateModel;
|
|
293
|
-
/**
|
|
294
|
-
* Loads an environment texture from the specified url and sets up a corresponding skybox.
|
|
295
|
-
* @remarks
|
|
296
|
-
* If an environment is already loaded, it will be unloaded before loading the new environment.
|
|
297
|
-
* @param url The url of the environment texture to load.
|
|
298
|
-
* @param options The options to use when loading the environment.
|
|
299
|
-
* @param abortSignal An optional signal that can be used to abort the loading process.
|
|
300
|
-
*/
|
|
301
|
-
loadEnvironment(url: string, options?: EnvironmentOptions, abortSignal?: AbortSignal): Promise<void>;
|
|
302
|
-
/**
|
|
303
|
-
* Unloads the current environment if one is loaded.
|
|
304
|
-
* @param options The options to use when resetting the environment.
|
|
305
|
-
* @param abortSignal An optional signal that can be used to abort the reset.
|
|
306
|
-
*/
|
|
307
|
-
resetEnvironment(options?: EnvironmentOptions, abortSignal?: AbortSignal): Promise<void>;
|
|
308
|
-
private _updateEnvironment;
|
|
309
|
-
/**
|
|
310
|
-
* Toggles the play/pause animation state if there is a selected animation.
|
|
311
|
-
*/
|
|
312
|
-
toggleAnimation(): void;
|
|
313
|
-
/**
|
|
314
|
-
* Plays the selected animation if there is one.
|
|
315
|
-
*/
|
|
316
|
-
playAnimation(): void;
|
|
317
|
-
/**
|
|
318
|
-
* Pauses the selected animation if there is one.
|
|
319
|
-
*/
|
|
320
|
-
pauseAnimation(): Promise<void>;
|
|
321
|
-
/**
|
|
322
|
-
* Resets the camera to its initial pose.
|
|
323
|
-
*/
|
|
324
|
-
resetCamera(): void;
|
|
325
|
-
/**
|
|
326
|
-
* Disposes of the resources held by the Viewer.
|
|
327
|
-
*/
|
|
328
|
-
dispose(): void;
|
|
329
|
-
/**
|
|
330
|
-
* retrun world and canvas coordinates of an hot spot
|
|
331
|
-
* @param query mesh index and surface information to query the hot spot positions
|
|
332
|
-
* @param result Query a Hot Spot and does the conversion for Babylon Hot spot to a more generic HotSpotPositions, without Vector types
|
|
333
|
-
* @returns true if hotspot found
|
|
334
|
-
*/
|
|
335
|
-
getHotSpotToRef(query: Readonly<ViewerHotSpotQuery>, result: ViewerHotSpotResult): boolean;
|
|
336
|
-
private _suspendRendering;
|
|
337
|
-
private _beginRendering;
|
|
338
|
-
private _updateCamera;
|
|
339
|
-
private _updateLight;
|
|
340
|
-
private _applyAnimationSpeed;
|
|
341
|
-
private _pick;
|
|
342
|
-
/**
|
|
343
|
-
* Check for disposed or aborted state (basically everything that can interrupt an async operation).
|
|
344
|
-
* @param abortSignals A set of optional AbortSignals to also check.
|
|
345
|
-
*/
|
|
346
|
-
private _throwIfDisposedOrAborted;
|
|
347
|
-
}
|
|
348
|
-
|
|
349
|
-
/**
|
|
350
|
-
* Options for creating a Viewer instance that is bound to an HTML canvas.
|
|
351
|
-
*/
|
|
352
|
-
type CanvasViewerOptions = ViewerOptions & (({
|
|
353
|
-
engine?: undefined;
|
|
354
|
-
} & AbstractEngineOptions) | ({
|
|
355
|
-
engine: "WebGL";
|
|
356
|
-
} & EngineOptions) | ({
|
|
357
|
-
engine: "WebGPU";
|
|
358
|
-
} & WebGPUEngineOptions));
|
|
359
|
-
/**
|
|
360
|
-
* @experimental
|
|
361
|
-
* Creates a Viewer instance that is bound to an HTML canvas.
|
|
362
|
-
* @remarks
|
|
363
|
-
* This function can be shared across multiple UI integrations (e.g. Web Components, React, etc.).
|
|
364
|
-
* @param canvas The canvas element to bind the Viewer to.
|
|
365
|
-
* @param options The options to use when creating the Viewer and binding it to the specified canvas.
|
|
366
|
-
* @returns A Viewer instance that is bound to the specified canvas.
|
|
367
|
-
*/
|
|
368
|
-
declare function createViewerForCanvas(canvas: HTMLCanvasElement, options?: CanvasViewerOptions): Promise<Viewer>;
|
|
369
|
-
|
|
370
|
-
type HotSpot = ViewerHotSpotQuery & {
|
|
371
|
-
cameraOrbit?: [alpha: number, beta: number, radius: number];
|
|
372
|
-
};
|
|
373
|
-
interface HTML3DElementEventMap extends HTMLElementEventMap {
|
|
374
|
-
viewerready: Event;
|
|
375
|
-
viewerrender: Event;
|
|
376
|
-
environmentchange: Event;
|
|
377
|
-
environmenterror: ErrorEvent;
|
|
378
|
-
modelchange: Event;
|
|
379
|
-
modelerror: ErrorEvent;
|
|
380
|
-
loadingprogresschange: Event;
|
|
381
|
-
selectedanimationchange: Event;
|
|
382
|
-
animationspeedchange: Event;
|
|
383
|
-
animationplayingchange: Event;
|
|
384
|
-
animationprogresschange: Event;
|
|
385
|
-
selectedmaterialvariantchange: Event;
|
|
386
|
-
}
|
|
387
|
-
/**
|
|
388
|
-
* Displays a 3D model using the Babylon.js Viewer.
|
|
389
|
-
*/
|
|
390
|
-
declare class HTML3DElement extends LitElement {
|
|
391
|
-
private readonly _viewerLock;
|
|
392
|
-
private _viewerDetails?;
|
|
393
|
-
private readonly _propertyBindings;
|
|
394
|
-
/** @internal */
|
|
395
|
-
static styles: lit.CSSResult;
|
|
396
|
-
/**
|
|
397
|
-
* Gets the underlying viewer details (when the underlying viewer is in a loaded state).
|
|
398
|
-
* This is useful for advanced scenarios where direct access to the viewer or Babylon scene is needed.
|
|
399
|
-
*/
|
|
400
|
-
get viewerDetails(): Readonly<ViewerDetails> | undefined;
|
|
401
|
-
/**
|
|
402
|
-
* Get hotspot world and screen values from a named hotspot
|
|
403
|
-
* @param name slot of the hot spot
|
|
404
|
-
* @param result resulting world and screen positions
|
|
405
|
-
* @returns world position, world normal and screen space coordinates
|
|
406
|
-
*/
|
|
407
|
-
queryHotSpot(name: string, result: ViewerHotSpotResult): boolean;
|
|
408
|
-
private _queryHotSpot;
|
|
409
|
-
/**
|
|
410
|
-
* Updates the camera to focus on a named hotspot.
|
|
411
|
-
* @param name The name of the hotspot to focus on.
|
|
412
|
-
* @returns true if the hotspot was found and the camera was updated, false otherwise.
|
|
413
|
-
*/
|
|
414
|
-
focusHotSpot(name: string): boolean;
|
|
415
|
-
/**
|
|
416
|
-
* The engine to use for rendering.
|
|
417
|
-
*/
|
|
418
|
-
engine: NonNullable<CanvasViewerOptions["engine"]>;
|
|
419
|
-
/**
|
|
420
|
-
* The model URL.
|
|
421
|
-
*/
|
|
422
|
-
source: Nullable<string>;
|
|
423
|
-
/**
|
|
424
|
-
* Forces the model to be loaded with the specified extension.
|
|
425
|
-
* @remarks
|
|
426
|
-
* If this property is not set, the extension will be inferred from the model URL when possible.
|
|
427
|
-
*/
|
|
428
|
-
extension: Nullable<string>;
|
|
429
|
-
/**
|
|
430
|
-
* The texture URLs used for lighting and skybox. Setting this property will set both environmentLighting and environmentSkybox.
|
|
431
|
-
*/
|
|
432
|
-
get environment(): {
|
|
433
|
-
lighting: Nullable<string>;
|
|
434
|
-
skybox: Nullable<string>;
|
|
435
|
-
};
|
|
436
|
-
set environment(url: string);
|
|
437
|
-
/**
|
|
438
|
-
* The texture URL for lighting.
|
|
439
|
-
*/
|
|
440
|
-
environmentLighting: Nullable<string>;
|
|
441
|
-
/**
|
|
442
|
-
* The texture URL for the skybox.
|
|
443
|
-
*/
|
|
444
|
-
environmentSkybox: Nullable<string>;
|
|
445
|
-
private _loadingProgress;
|
|
446
|
-
/**
|
|
447
|
-
* Gets information about loading activity.
|
|
448
|
-
* @remarks
|
|
449
|
-
* false indicates no loading activity.
|
|
450
|
-
* true indicates loading activity with no progress information.
|
|
451
|
-
* A number between 0 and 1 indicates loading activity with progress information.
|
|
452
|
-
*/
|
|
453
|
-
get loadingProgress(): boolean | number;
|
|
454
|
-
/**
|
|
455
|
-
* A value between 0 and 1 that specifies how much to blur the skybox.
|
|
456
|
-
*/
|
|
457
|
-
skyboxBlur: Nullable<number>;
|
|
458
|
-
/**
|
|
459
|
-
* The tone mapping to use for rendering the scene.
|
|
460
|
-
*/
|
|
461
|
-
toneMapping: Nullable<ToneMapping>;
|
|
462
|
-
/**
|
|
463
|
-
* The contrast applied to the scene.
|
|
464
|
-
*/
|
|
465
|
-
contrast: Nullable<number>;
|
|
466
|
-
/**
|
|
467
|
-
* The exposure applied to the scene.
|
|
468
|
-
*/
|
|
469
|
-
exposure: Nullable<number>;
|
|
470
|
-
/**
|
|
471
|
-
* The clear color (e.g. background color) for the viewer.
|
|
472
|
-
*/
|
|
473
|
-
clearColor: Nullable<Color4>;
|
|
474
|
-
/**
|
|
475
|
-
* Enables or disables camera auto-orbit.
|
|
476
|
-
*/
|
|
477
|
-
cameraAutoOrbit: boolean;
|
|
478
|
-
/**
|
|
479
|
-
* The speed at which the camera auto-orbits around the target.
|
|
480
|
-
*/
|
|
481
|
-
cameraAutoOrbitSpeed: Nullable<number>;
|
|
482
|
-
/**
|
|
483
|
-
* The delay in milliseconds before the camera starts auto-orbiting.
|
|
484
|
-
*/
|
|
485
|
-
cameraAutoOrbitDelay: Nullable<number>;
|
|
486
|
-
/**
|
|
487
|
-
* Camera orbit can only be set as an attribute, and is set on the camera each time a new model is loaded.
|
|
488
|
-
* For access to the real time camera properties, use viewerDetails.camera.
|
|
489
|
-
*/
|
|
490
|
-
private _cameraOrbitCoercer;
|
|
491
|
-
/**
|
|
492
|
-
* Camera target can only be set as an attribute, and is set on the camera each time a new model is loaded.
|
|
493
|
-
* For access to the real time camera properties, use viewerDetails.camera.
|
|
494
|
-
*/
|
|
495
|
-
private _cameraTargetCoercer;
|
|
496
|
-
/**
|
|
497
|
-
* A string value that encodes one or more hotspots.
|
|
498
|
-
*/
|
|
499
|
-
hotSpots: Readonly<Record<string, HotSpot>>;
|
|
500
|
-
private get _hasHotSpots();
|
|
501
|
-
/**
|
|
502
|
-
* True if the default animation should play automatically when a model is loaded.
|
|
503
|
-
*/
|
|
504
|
-
animationAutoPlay: boolean;
|
|
505
|
-
/**
|
|
506
|
-
* The list of animation names for the currently loaded model.
|
|
507
|
-
*/
|
|
508
|
-
get animations(): readonly string[];
|
|
509
|
-
private get _hasAnimations();
|
|
510
|
-
/**
|
|
511
|
-
* The currently selected animation index.
|
|
512
|
-
*/
|
|
513
|
-
selectedAnimation: Nullable<number>;
|
|
514
|
-
/**
|
|
515
|
-
* True if an animation is currently playing.
|
|
516
|
-
*/
|
|
517
|
-
get isAnimationPlaying(): boolean;
|
|
518
|
-
/**
|
|
519
|
-
* The speed scale at which animations are played.
|
|
520
|
-
*/
|
|
521
|
-
animationSpeed: number;
|
|
522
|
-
/**
|
|
523
|
-
* The current point on the selected animation timeline, normalized between 0 and 1.
|
|
524
|
-
*/
|
|
525
|
-
animationProgress: number;
|
|
526
|
-
private _animations;
|
|
527
|
-
private _isAnimationPlaying;
|
|
528
|
-
/**
|
|
529
|
-
* The list of material variants for the currently loaded model.
|
|
530
|
-
*/
|
|
531
|
-
get materialVariants(): readonly string[];
|
|
532
|
-
/**
|
|
533
|
-
* The currently selected material variant.
|
|
534
|
-
*/
|
|
535
|
-
selectedMaterialVariant: Nullable<string>;
|
|
536
|
-
private _canvasContainer;
|
|
537
|
-
private _materialSelect;
|
|
538
|
-
/**
|
|
539
|
-
* Toggles the play/pause animation state if there is a selected animation.
|
|
540
|
-
*/
|
|
541
|
-
toggleAnimation(): void;
|
|
542
|
-
/**
|
|
543
|
-
* Resets the camera to its initial pose.
|
|
544
|
-
*/
|
|
545
|
-
resetCamera(): void;
|
|
546
|
-
/** @internal */
|
|
547
|
-
connectedCallback(): void;
|
|
548
|
-
/** @internal */
|
|
549
|
-
disconnectedCallback(): void;
|
|
550
|
-
/** @internal */
|
|
551
|
-
protected update(changedProperties: PropertyValues<this>): void;
|
|
552
|
-
/** @internal */
|
|
553
|
-
protected render(): TemplateResult<1>;
|
|
554
|
-
addEventListener<K extends keyof HTML3DElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTML3DElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
555
|
-
private _dispatchCustomEvent;
|
|
556
|
-
private _onSelectedAnimationChanged;
|
|
557
|
-
private _onAnimationSpeedChanged;
|
|
558
|
-
private _onAnimationTimelineChanged;
|
|
559
|
-
private _onAnimationTimelinePointerDown;
|
|
560
|
-
private _onMaterialVariantChanged;
|
|
561
|
-
private _onHotSpotsChanged;
|
|
562
|
-
private _createPropertyBinding;
|
|
563
|
-
private _setupViewer;
|
|
564
|
-
private _tearDownViewer;
|
|
565
|
-
private _updateModel;
|
|
566
|
-
private _updateEnv;
|
|
567
|
-
}
|
|
568
|
-
|
|
569
|
-
/**
|
|
570
|
-
* Displays child elements at the screen space location of a hotspot in a babylon-viewer.
|
|
571
|
-
* @remarks
|
|
572
|
-
* The babylon-viewer-annotation element must be a child of a babylon-viewer element.
|
|
573
|
-
*/
|
|
574
|
-
declare class HTML3DAnnotationElement extends LitElement {
|
|
575
|
-
/** @internal */
|
|
576
|
-
static styles: lit.CSSResult;
|
|
577
|
-
private readonly _internals;
|
|
578
|
-
private _viewerAttachment;
|
|
579
|
-
/**
|
|
580
|
-
* The name of the hotspot to track.
|
|
581
|
-
*/
|
|
582
|
-
hotSpot: string;
|
|
583
|
-
/** @internal */
|
|
584
|
-
connectedCallback(): void;
|
|
585
|
-
/** @internal */
|
|
586
|
-
disconnectedCallback(): void;
|
|
587
|
-
/** @internal */
|
|
588
|
-
protected render(): lit_html.TemplateResult<1>;
|
|
589
|
-
}
|
|
590
|
-
|
|
591
|
-
export { type CameraAutoOrbit, type CanvasViewerOptions, type EnvironmentOptions, HTML3DAnnotationElement, HTML3DElement, type LoadModelOptions, type PostProcessing, type ToneMapping, Viewer, type ViewerDetails, type ViewerHotSpotQuery, ViewerHotSpotResult, type ViewerOptions, createViewerForCanvas };
|