@realsee/five 6.7.0-alpha.1 → 6.7.0-alpha.11
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/docs/assets/hierarchy.js +1 -1
- package/docs/assets/navigation.js +1 -1
- package/docs/assets/search.js +1 -1
- package/docs/classes/five.Five.html +33 -33
- package/docs/classes/five.Model.html +1 -1
- package/docs/classes/five.ModelScene.html +1 -1
- package/docs/classes/five.PBMContainer.html +1 -1
- package/docs/classes/five.PBMGroup.html +1 -1
- package/docs/classes/five.PBMMesh.html +1 -1
- package/docs/classes/five.PBMMeshMaterial.html +1 -1
- package/docs/classes/five.PBMPointCloud.html +1 -1
- package/docs/classes/five.PBMPointCloudMaterial.html +1 -1
- package/docs/classes/five.PBMSkinnedMesh.html +1 -1
- package/docs/classes/five.Parameter.html +1 -1
- package/docs/classes/{five.Tile3DModel.html → five.Tile3D.html} +27 -28
- package/docs/classes/five.TileNode.html +2 -2
- package/docs/classes/five.TrajectoryNode.html +2 -2
- package/docs/classes/five.Work.html +16 -16
- package/docs/classes/five.WorkResolvedObserver.html +17 -17
- package/docs/classes/gltf-loader.DDSLoader.html +1 -1
- package/docs/classes/gltf-loader.DRACOLoader.html +1 -1
- package/docs/classes/gltf-loader.GLTFObject.html +1 -1
- package/docs/classes/gltf-loader.THREEGLTFLoader.html +1 -1
- package/docs/classes/line.LineGeometry.html +1 -1
- package/docs/classes/line.LineMaterial.html +1 -1
- package/docs/classes/line.LineSegmentsGeometry.html +1 -1
- package/docs/classes/line.THREE_Line2.html +1 -1
- package/docs/classes/line.THREE_LineSegments2.html +1 -1
- package/docs/classes/plugins.RoundedBoxGeometry.html +1 -1
- package/docs/classes/vfx.Airflow.html +1 -1
- package/docs/classes/vfx.Flame.html +1 -1
- package/docs/classes/vfx.Particle.html +1 -1
- package/docs/classes/vfx.ParticleGPU.html +1 -1
- package/docs/classes/vfx.SpotLight.html +1 -1
- package/docs/functions/five.parseWork.html +1 -1
- package/docs/functions/vue.useFiveWorks.html +2 -2
- package/docs/hierarchy.html +1 -1
- package/docs/interfaces/five.AddableObject.html +1 -1
- package/docs/interfaces/five.EventCallback.html +1 -1
- package/docs/interfaces/five.IntersectMeshInterface.html +1 -1
- package/docs/interfaces/five.Intersection.html +1 -1
- package/docs/interfaces/five.LoosePanoWork.html +2 -2
- package/docs/interfaces/five.LooseWork.html +2 -2
- package/docs/interfaces/five.LooseWorkInitial.html +2 -2
- package/docs/interfaces/five.LooseWorkModel.html +4 -2
- package/docs/interfaces/five.LooseWorkObserver.html +2 -2
- package/docs/interfaces/five.LooseWorkPanorama.html +2 -2
- package/docs/interfaces/five.LooseWorkVideo.html +2 -2
- package/docs/interfaces/five.LooseWorkWithExtrinsics.html +7 -7
- package/docs/interfaces/five.ModelControllerCustomInitArgs.html +1 -1
- package/docs/interfaces/five.ModelLike.html +1 -1
- package/docs/interfaces/five.MovePanoOptions.html +9 -7
- package/docs/interfaces/five.PBMMaterial.html +1 -1
- package/docs/interfaces/five.PBMMeshMaterialParameters.html +1 -1
- package/docs/interfaces/five.PBMPointCloudMaterialParameters.html +1 -1
- package/docs/interfaces/five.PanoCircleMeshInterface.html +1 -1
- package/docs/interfaces/five.PanoramaControllerCustomInitArgs.html +9 -9
- package/docs/interfaces/five.PanoramaLikeControllerCustomInitArgs.html +1 -1
- package/docs/interfaces/five.ParameterMaterialValue.html +1 -1
- package/docs/interfaces/five.ParameterTilesetValue.html +1 -1
- package/docs/interfaces/five.ParameterValue.html +1 -1
- package/docs/interfaces/five.Pose.html +1 -1
- package/docs/interfaces/five.ResolvedParameterValue.html +1 -1
- package/docs/interfaces/five.State.html +1 -1
- package/docs/interfaces/five.Tile3DOptions.html +11 -0
- package/docs/interfaces/five.TileCoordinateSystem.html +3 -0
- package/docs/interfaces/five.TopviewControllerCustomInitArgs.html +1 -1
- package/docs/interfaces/five.VRPanoramaControllerCustomInitArgs.html +9 -9
- package/docs/interfaces/five.ViewLayer.html +27 -28
- package/docs/interfaces/five.WorkCubeImage.html +2 -2
- package/docs/interfaces/five.WorkImage.html +3 -3
- package/docs/interfaces/five.WorkInitial.html +8 -8
- package/docs/interfaces/five.WorkModel.html +11 -7
- package/docs/interfaces/five.WorkModelLayer.html +7 -2
- package/docs/interfaces/five.WorkObserver.html +18 -18
- package/docs/interfaces/five.WorkTile.html +4 -4
- package/docs/interfaces/five.WorkVideo.html +4 -4
- package/docs/interfaces/five.XRPanoramaControllerCustomInitArgs.html +9 -9
- package/docs/interfaces/plugins.BackgroundPluginController.html +1 -1
- package/docs/interfaces/plugins.BackgroundPluginType.EventMap.html +1 -1
- package/docs/interfaces/plugins.ItemMaskController.html +1 -1
- package/docs/interfaces/plugins.ItemMaskPluginType.EventMap.html +1 -1
- package/docs/interfaces/plugins.ItemMaskPluginType.State.html +1 -1
- package/docs/interfaces/plugins.OrientationPluginController.html +1 -1
- package/docs/interfaces/plugins.OrientationPluginType.EventMap.html +1 -1
- package/docs/interfaces/plugins.OrientationPluginType.State.html +1 -1
- package/docs/interfaces/plugins.PanoAnimeController.html +1 -1
- package/docs/interfaces/plugins.PanoAnimePluginType.EventMap.html +1 -1
- package/docs/interfaces/plugins.PanoAnimePluginType.State.html +1 -1
- package/docs/interfaces/plugins.PluginTemplateType.EventMap.html +1 -1
- package/docs/interfaces/plugins.PluginTemplateType.State.html +1 -1
- package/docs/interfaces/plugins.TrajectoryController.html +1 -1
- package/docs/interfaces/react.FiveInjectionTypes.html +1 -1
- package/docs/modules/five.html +1 -1
- package/docs/types/five.MovePanoEffect.html +3 -2
- package/docs/types/five.ParseOptions.html +6 -6
- package/five/index.d.ts +33 -12
- package/five/index.js +52 -52
- package/five/index.mjs +3331 -3279
- package/gltf-loader/index.js +3 -3
- package/gltf-loader/index.mjs +3 -3
- package/line/index.js +3 -3
- package/line/index.mjs +3 -3
- package/package.json +1 -1
- package/plugins/index.js +2 -2
- package/plugins/index.mjs +2 -2
- package/react/index.js +2 -2
- package/react/index.mjs +2 -2
- package/shader-lib/index.js +2 -2
- package/shader-lib/index.mjs +2 -2
- package/sticker/index.js +3 -3
- package/sticker/index.mjs +3 -3
- package/umd/five-gltf-loader.js +3 -3
- package/umd/five-line.js +3 -3
- package/umd/five-plugins.js +2 -2
- package/umd/five-react.js +2 -2
- package/umd/five-shader-lib.js +2 -2
- package/umd/five-sticker.js +3 -3
- package/umd/five-vfx.js +2 -2
- package/umd/five-vue.js +2 -2
- package/umd/five.js +52 -52
- package/vfx/index.js +2 -2
- package/vfx/index.mjs +2 -2
- package/vue/index.js +2 -2
- package/vue/index.mjs +2 -2
- package/work-downloader/index.js +3 -3
- package/work-downloader/index.mjs +307 -257
- package/docs/interfaces/five.Tile3DModelLoaderOptions.html +0 -12
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>MovePanoEffect | 如视 Five SDK</title><meta name="description" content="Documentation for 如视 Five SDK"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script><script async src="../assets/hierarchy.js" id="tsd-hierarchy-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><a href="../index.html" class="title">如视 Five SDK</a><div id="tsd-toolbar-links"></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/><ul role="listbox" id="tsd-search-results"></ul><div id="tsd-search-status" aria-live="polite" aria-atomic="true"><div>Preparing search index...</div></div></dialog><a href="#" class="tsd-widget menu" id="tsd-toolbar-menu-trigger" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb" aria-label="Breadcrumb"><li><a href="../modules/five.html">five</a></li><li><a href="" aria-current="page">MovePanoEffect</a></li></ul><h1>Type Alias MovePanoEffect</h1></div><div class="tsd-signature"><span class="tsd-kind-type-alias">MovePanoEffect</span><span class="tsd-signature-symbol">:</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"fly"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"instant"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"fade"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"montage"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"spread"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"zoomin"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"zoomout"</span></div><div class="tsd-comment tsd-typography"><p>动画模式</p>
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>MovePanoEffect | 如视 Five SDK</title><meta name="description" content="Documentation for 如视 Five SDK"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script><script async src="../assets/hierarchy.js" id="tsd-hierarchy-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><a href="../index.html" class="title">如视 Five SDK</a><div id="tsd-toolbar-links"></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/><ul role="listbox" id="tsd-search-results"></ul><div id="tsd-search-status" aria-live="polite" aria-atomic="true"><div>Preparing search index...</div></div></dialog><a href="#" class="tsd-widget menu" id="tsd-toolbar-menu-trigger" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb" aria-label="Breadcrumb"><li><a href="../modules/five.html">five</a></li><li><a href="" aria-current="page">MovePanoEffect</a></li></ul><h1>Type Alias MovePanoEffect</h1></div><div class="tsd-signature"><span class="tsd-kind-type-alias">MovePanoEffect</span><span class="tsd-signature-symbol">:</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"fly"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"instant"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"fade"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"montage"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"spread"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"zoomin"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"zoomout"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"model"</span></div><div class="tsd-comment tsd-typography"><p>动画模式</p>
|
|
2
2
|
</div><div class="tsd-comment tsd-typography"><div class="tsd-tag-description"><h4 class="tsd-anchor-link" id="description">Description<a href="#description" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><ul>
|
|
3
3
|
<li><code>fly</code> 通过相机移动方式变化</li>
|
|
4
4
|
<li><code>instant</code> 直接变化</li>
|
|
@@ -7,5 +7,6 @@
|
|
|
7
7
|
<li><code>spread</code> 通过扩散方式变化</li>
|
|
8
8
|
<li><code>zoomin</code> 通过放大变化</li>
|
|
9
9
|
<li><code>zoomout</code> 通过缩小变化</li>
|
|
10
|
+
<li><code>model</code> 通过过度到模型</li>
|
|
10
11
|
</ul>
|
|
11
|
-
</div></div><aside class="tsd-sources"><ul><li>Defined in lib/five/types/movePanoEffect.ts:
|
|
12
|
+
</div></div><aside class="tsd-sources"><ul><li>Defined in lib/five/types/movePanoEffect.ts:13</li></ul></aside></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html">如视 Five SDK</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>ParseOptions | 如视 Five SDK</title><meta name="description" content="Documentation for 如视 Five SDK"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script><script async src="../assets/hierarchy.js" id="tsd-hierarchy-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><a href="../index.html" class="title">如视 Five SDK</a><div id="tsd-toolbar-links"></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/><ul role="listbox" id="tsd-search-results"></ul><div id="tsd-search-status" aria-live="polite" aria-atomic="true"><div>Preparing search index...</div></div></dialog><a href="#" class="tsd-widget menu" id="tsd-toolbar-menu-trigger" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb" aria-label="Breadcrumb"><li><a href="../modules/five.html">five</a></li><li><a href="" aria-current="page">ParseOptions</a></li></ul><h1>Type Alias ParseOptions</h1></div><div class="tsd-signature"><span class="tsd-signature-keyword">type</span> <span class="tsd-kind-type-alias">ParseOptions</span> <span class="tsd-signature-symbol">=</span> <span class="tsd-signature-symbol">{</span><br/> <a class="tsd-kind-property" href="#baseurl">baseURL</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#jsonp">jsonp</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#shortpath">shortPath</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#transform">transform</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">THREE.Matrix4</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#workcode">workCode</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span> <span class="tsd-signature-symbol">|</span> (<span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">input</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=></span> <span class="tsd-signature-type">string</span>)<span class="tsd-signature-symbol">;</span><br/><span class="tsd-signature-symbol">}</span></div><section class="tsd-panel tsd-hierarchy" data-refl="
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>ParseOptions | 如视 Five SDK</title><meta name="description" content="Documentation for 如视 Five SDK"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script><script async src="../assets/hierarchy.js" id="tsd-hierarchy-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><a href="../index.html" class="title">如视 Five SDK</a><div id="tsd-toolbar-links"></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/><ul role="listbox" id="tsd-search-results"></ul><div id="tsd-search-status" aria-live="polite" aria-atomic="true"><div>Preparing search index...</div></div></dialog><a href="#" class="tsd-widget menu" id="tsd-toolbar-menu-trigger" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb" aria-label="Breadcrumb"><li><a href="../modules/five.html">five</a></li><li><a href="" aria-current="page">ParseOptions</a></li></ul><h1>Type Alias ParseOptions</h1></div><div class="tsd-signature"><span class="tsd-signature-keyword">type</span> <span class="tsd-kind-type-alias">ParseOptions</span> <span class="tsd-signature-symbol">=</span> <span class="tsd-signature-symbol">{</span><br/> <a class="tsd-kind-property" href="#baseurl">baseURL</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#jsonp">jsonp</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#shortpath">shortPath</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#transform">transform</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">THREE.Matrix4</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#workcode">workCode</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span> <span class="tsd-signature-symbol">|</span> (<span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">input</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=></span> <span class="tsd-signature-type">string</span>)<span class="tsd-signature-symbol">;</span><br/><span class="tsd-signature-symbol">}</span></div><section class="tsd-panel tsd-hierarchy" data-refl="5042"><h4>Hierarchy (<a href="../hierarchy.html#five.ParseOptions">View Summary</a>)</h4><ul class="tsd-hierarchy"><li class="tsd-hierarchy-item"><span class="tsd-hierarchy-target">ParseOptions</span><ul class="tsd-hierarchy"><li class="tsd-hierarchy-item"><a href="../interfaces/five.LooseWorkWithExtrinsics.html" class="tsd-signature-type tsd-kind-interface">LooseWorkWithExtrinsics</a></li></ul></li></ul></section><aside class="tsd-sources"><ul><li>Defined in lib/five/work/work.ts:321</li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h5 class="tsd-index-heading uppercase">Index</h5></summary><div class="tsd-accordion-details"><section class="tsd-index-section"><h3 class="tsd-index-heading">Properties</h3><div class="tsd-index-list"><a href="#baseurl" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>base<wbr/>URL?</span></a>
|
|
2
2
|
<a href="#jsonp" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>jsonp?</span></a>
|
|
3
3
|
<a href="#shortpath" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>short<wbr/>Path?</span></a>
|
|
4
4
|
<a href="#transform" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>transform?</span></a>
|
|
5
5
|
<a href="#workcode" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>work<wbr/>Code?</span></a>
|
|
6
6
|
</div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Properties</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="baseurl"><code class="tsd-tag">Optional</code><span>base<wbr/>URL</span><a href="#baseurl" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">baseURL</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div><div class="tsd-comment tsd-typography"><p>重写资源前缀</p>
|
|
7
|
-
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/work/work.ts:
|
|
8
|
-
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/work/work.ts:
|
|
9
|
-
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/work/work.ts:
|
|
10
|
-
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/work/work.ts:
|
|
11
|
-
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/work/work.ts:
|
|
7
|
+
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/work/work.ts:330</li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="jsonp"><code class="tsd-tag">Optional</code><span>jsonp</span><a href="#jsonp" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">jsonp</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span></div><div class="tsd-comment tsd-typography"><p>资源使用 jsonp 方式发布</p>
|
|
8
|
+
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/work/work.ts:336</li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="shortpath"><code class="tsd-tag">Optional</code><span>short<wbr/>Path</span><a href="#shortpath" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">shortPath</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span></div><div class="tsd-comment tsd-typography"><p>资源地址使用短地址</p>
|
|
9
|
+
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/work/work.ts:333</li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="transform"><code class="tsd-tag">Optional</code><span>transform</span><a href="#transform" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">transform</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">THREE.Matrix4</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></div><div class="tsd-comment tsd-typography"><p>位姿</p>
|
|
10
|
+
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/work/work.ts:324</li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="workcode"><code class="tsd-tag">Optional</code><span>work<wbr/>Code</span><a href="#workcode" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">workCode</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span> <span class="tsd-signature-symbol">|</span> (<span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">input</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=></span> <span class="tsd-signature-type">string</span>)</div><div class="tsd-comment tsd-typography"><p>重置 WorkCode</p>
|
|
11
|
+
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/work/work.ts:327</li></ul></aside></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div><details open class="tsd-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>On This Page</h3></summary><div class="tsd-accordion-details"><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Properties</summary><div><a href="#baseurl"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>base<wbr/>URL</span></a><a href="#jsonp"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>jsonp</span></a><a href="#shortpath"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>short<wbr/>Path</span></a><a href="#transform"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>transform</span></a><a href="#workcode"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>work<wbr/>Code</span></a></div></details></div></details></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html">如视 Five SDK</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>
|
package/five/index.d.ts
CHANGED
|
@@ -1865,6 +1865,8 @@ export declare interface LooseWorkModel {
|
|
|
1865
1865
|
file_url?: string;
|
|
1866
1866
|
material_textures?: string[];
|
|
1867
1867
|
material_base_url?: string;
|
|
1868
|
+
up_axis?: string;
|
|
1869
|
+
coordinate?: NonNullable<TilesetHeader['rootMeta']>['coordinate'];
|
|
1868
1870
|
tiles?: {
|
|
1869
1871
|
type?: 'point_cloud' | 'mesh' | string;
|
|
1870
1872
|
name?: string;
|
|
@@ -2333,8 +2335,9 @@ export declare type MotionValue<K extends string> = Record<K, number>;
|
|
|
2333
2335
|
* - `spread` 通过扩散方式变化
|
|
2334
2336
|
* - `zoomin` 通过放大变化
|
|
2335
2337
|
* - `zoomout` 通过缩小变化
|
|
2338
|
+
* - `model` 通过过度到模型
|
|
2336
2339
|
*/
|
|
2337
|
-
export declare type MovePanoEffect = "fly" | "instant" | "fade" | "montage" | "spread" | "zoomin" | "zoomout";
|
|
2340
|
+
export declare type MovePanoEffect = "fly" | "instant" | "fade" | "montage" | "spread" | "zoomin" | "zoomout" | "model";
|
|
2338
2341
|
|
|
2339
2342
|
/**
|
|
2340
2343
|
* 点位移动参数
|
|
@@ -2344,6 +2347,8 @@ export declare interface MovePanoOptions extends Partial<Omit<State, "offset" |
|
|
|
2344
2347
|
* 动画模式
|
|
2345
2348
|
*/
|
|
2346
2349
|
effect?: MovePanoEffect;
|
|
2350
|
+
/** 走点图片过度策略 */
|
|
2351
|
+
effectEasing?: (progress: number) => number;
|
|
2347
2352
|
/**
|
|
2348
2353
|
* 运动耗时
|
|
2349
2354
|
* @description
|
|
@@ -3453,7 +3458,7 @@ export declare class Tile {
|
|
|
3453
3458
|
getPriority(frameState: TilesetFrameState): number;
|
|
3454
3459
|
}
|
|
3455
3460
|
|
|
3456
|
-
|
|
3461
|
+
declare class Tile3D extends THREE_2.Object3D {
|
|
3457
3462
|
type: 'point_cloud' | 'mesh';
|
|
3458
3463
|
parent: Model | null;
|
|
3459
3464
|
/** meta 信息加载错误 */
|
|
@@ -3468,8 +3473,7 @@ export declare class Tile3DModel extends THREE_2.Object3D {
|
|
|
3468
3473
|
fetcher: Fetcher;
|
|
3469
3474
|
search: string;
|
|
3470
3475
|
groundHeight: number | null;
|
|
3471
|
-
|
|
3472
|
-
ecefToEnuMatrix: THREE_2.Matrix4;
|
|
3476
|
+
coordinateSystem: TileCoordinateSystem;
|
|
3473
3477
|
tileset: Tileset;
|
|
3474
3478
|
boundingBox: THREE_2.Box3;
|
|
3475
3479
|
autoRefine: boolean;
|
|
@@ -3482,7 +3486,7 @@ export declare class Tile3DModel extends THREE_2.Object3D {
|
|
|
3482
3486
|
private renderObjects;
|
|
3483
3487
|
private backfaceObjects;
|
|
3484
3488
|
private tileObjects;
|
|
3485
|
-
constructor(tilesetHeader: TilesetHeader, options:
|
|
3489
|
+
constructor(tilesetHeader: TilesetHeader, options: Tile3DOptions);
|
|
3486
3490
|
get viewerRequestVolume(): BoundingVolume;
|
|
3487
3491
|
set viewerRequestVolume(value: BoundingVolume);
|
|
3488
3492
|
get tiles(): Tile[];
|
|
@@ -3538,7 +3542,7 @@ export declare class Tile3DModel extends THREE_2.Object3D {
|
|
|
3538
3542
|
get coordinates(): string;
|
|
3539
3543
|
/**
|
|
3540
3544
|
* @deprecated
|
|
3541
|
-
* 使用
|
|
3545
|
+
* 使用 coordinateSystem 替代
|
|
3542
3546
|
*/
|
|
3543
3547
|
getTransformMatrix4(target?: THREE_2.Matrix4): THREE_2.Matrix4;
|
|
3544
3548
|
/**
|
|
@@ -3637,9 +3641,11 @@ export declare class Tile3DModel extends THREE_2.Object3D {
|
|
|
3637
3641
|
get maxScreenSpaceError(): number;
|
|
3638
3642
|
set maxScreenSpaceError(value: number);
|
|
3639
3643
|
}
|
|
3644
|
+
export { Tile3D }
|
|
3645
|
+
export { Tile3D as Tile3DModel }
|
|
3640
3646
|
|
|
3641
3647
|
/** Advanced loader options */
|
|
3642
|
-
|
|
3648
|
+
declare interface Tile3DOptions {
|
|
3643
3649
|
name: string;
|
|
3644
3650
|
light: boolean;
|
|
3645
3651
|
type: 'point_cloud' | 'mesh';
|
|
@@ -3647,10 +3653,11 @@ export declare interface Tile3DModelLoaderOptions {
|
|
|
3647
3653
|
fetcher: Fetcher;
|
|
3648
3654
|
search?: string;
|
|
3649
3655
|
groundHeight: number | null;
|
|
3650
|
-
|
|
3651
|
-
ecefToEnuMatrix: THREE_2.Matrix4;
|
|
3656
|
+
coordinateSystem: TileCoordinateSystem;
|
|
3652
3657
|
error?: Error | null;
|
|
3653
3658
|
}
|
|
3659
|
+
export { Tile3DOptions as Tile3DModelLoaderOptions }
|
|
3660
|
+
export { Tile3DOptions }
|
|
3654
3661
|
|
|
3655
3662
|
export declare type Tile3dOptions = (Partial<ParameterTilesetValue> & {
|
|
3656
3663
|
viewerRequestVolume?: BoundingVolume | BoundingVolumeJson;
|
|
@@ -3687,6 +3694,11 @@ export declare type TileContentData = {
|
|
|
3687
3694
|
object: TileNode;
|
|
3688
3695
|
};
|
|
3689
3696
|
|
|
3697
|
+
export declare interface TileCoordinateSystem {
|
|
3698
|
+
enuToEcefMatrix: THREE_2.Matrix4;
|
|
3699
|
+
ecefToEnuMatrix: THREE_2.Matrix4;
|
|
3700
|
+
}
|
|
3701
|
+
|
|
3690
3702
|
export declare interface TileHeader {
|
|
3691
3703
|
content?: {
|
|
3692
3704
|
uri?: string;
|
|
@@ -3712,7 +3724,7 @@ export declare class TileNode extends THREE_2.Object3D {
|
|
|
3712
3724
|
constructor(name: string, contentObject: THREE_2.Object3D, disposer?: () => void);
|
|
3713
3725
|
generateBvhTree(): Promise<this>;
|
|
3714
3726
|
intersectRaycaster(raycaster: THREE_2.Raycaster, target?: Intersection[]): Intersection[];
|
|
3715
|
-
update(renderer: THREE_2.WebGLRenderer, camera: Camera, modelScene: ModelScene, tile3d:
|
|
3727
|
+
update(renderer: THREE_2.WebGLRenderer, camera: Camera, modelScene: ModelScene, tile3d: Tile3D, tile: Tile, parameterValue: ResolvedParameterValue): boolean;
|
|
3716
3728
|
dispose(): void;
|
|
3717
3729
|
clone(): this;
|
|
3718
3730
|
}
|
|
@@ -3936,7 +3948,7 @@ export declare class TrajectoryNode extends THREE_2.Object3D {
|
|
|
3936
3948
|
contentObject: THREE_2.Object3D;
|
|
3937
3949
|
private disposers;
|
|
3938
3950
|
constructor(name: string, contentObject: THREE_2.Object3D, disposer?: () => void);
|
|
3939
|
-
update(renderer: THREE_2.WebGLRenderer, camera: Camera, modelScene: ModelScene, tile3d:
|
|
3951
|
+
update(renderer: THREE_2.WebGLRenderer, camera: Camera, modelScene: ModelScene, tile3d: Tile3D, trajectory: Trajectory, parameterValue: ParameterValue): boolean;
|
|
3940
3952
|
dispose(): void;
|
|
3941
3953
|
clone(): this;
|
|
3942
3954
|
}
|
|
@@ -3947,7 +3959,7 @@ export declare function vectorToCoordinates(vector: THREE_2.Vector3): {
|
|
|
3947
3959
|
latitude: number;
|
|
3948
3960
|
};
|
|
3949
3961
|
|
|
3950
|
-
export declare interface ViewLayer extends
|
|
3962
|
+
export declare interface ViewLayer extends Tile3D {
|
|
3951
3963
|
}
|
|
3952
3964
|
|
|
3953
3965
|
/**
|
|
@@ -4126,6 +4138,10 @@ export declare interface WorkModel {
|
|
|
4126
4138
|
textures?: readonly string[];
|
|
4127
4139
|
/** 模型贴图文件地址的父目录 */
|
|
4128
4140
|
textureBase?: string;
|
|
4141
|
+
/** 指定上方向,对于 obj, ply 等定义不明确的需要指定上方向 */
|
|
4142
|
+
upAxis?: string;
|
|
4143
|
+
/** 模型的地理坐标数据 */
|
|
4144
|
+
coordinate?: NonNullable<TilesetHeader['rootMeta']>['coordinate'];
|
|
4129
4145
|
/** 3d tile */
|
|
4130
4146
|
layers: readonly WorkModelLayer[];
|
|
4131
4147
|
}
|
|
@@ -4138,10 +4154,15 @@ export declare interface WorkModelJson {
|
|
|
4138
4154
|
}
|
|
4139
4155
|
|
|
4140
4156
|
export declare interface WorkModelLayer {
|
|
4157
|
+
/** work */
|
|
4141
4158
|
work: Work;
|
|
4159
|
+
/** 模型类型 point_cloud mesh */
|
|
4142
4160
|
type: 'point_cloud' | 'mesh';
|
|
4161
|
+
/** 模型名称 */
|
|
4143
4162
|
name: string;
|
|
4163
|
+
/** 指定上方向 */
|
|
4144
4164
|
upAxis: string;
|
|
4165
|
+
/** 如果 tileset.json 地址 */
|
|
4145
4166
|
tileset: string;
|
|
4146
4167
|
}
|
|
4147
4168
|
|