@realsee/five 6.7.0-alpha.13 → 6.7.0-alpha.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (88) hide show
  1. package/docs/assets/hierarchy.js +1 -1
  2. package/docs/assets/search.js +1 -1
  3. package/docs/classes/five.Work.html +16 -16
  4. package/docs/classes/five.WorkResolvedObserver.html +18 -19
  5. package/docs/classes/gltf-loader.DDSLoader.html +1 -1
  6. package/docs/classes/gltf-loader.DRACOLoader.html +1 -1
  7. package/docs/classes/gltf-loader.GLTFObject.html +1 -1
  8. package/docs/classes/gltf-loader.THREEGLTFLoader.html +1 -1
  9. package/docs/classes/line.LineGeometry.html +1 -1
  10. package/docs/classes/line.LineMaterial.html +1 -1
  11. package/docs/classes/line.LineSegmentsGeometry.html +1 -1
  12. package/docs/classes/line.THREE_Line2.html +1 -1
  13. package/docs/classes/line.THREE_LineSegments2.html +1 -1
  14. package/docs/classes/plugins.RoundedBoxGeometry.html +1 -1
  15. package/docs/classes/vfx.Airflow.html +1 -1
  16. package/docs/classes/vfx.Flame.html +1 -1
  17. package/docs/classes/vfx.Particle.html +1 -1
  18. package/docs/classes/vfx.ParticleGPU.html +1 -1
  19. package/docs/classes/vfx.SpotLight.html +1 -1
  20. package/docs/functions/five.parseWork.html +1 -1
  21. package/docs/functions/five.workToJson.html +1 -1
  22. package/docs/functions/vue.useFiveWorks.html +2 -2
  23. package/docs/hierarchy.html +1 -1
  24. package/docs/interfaces/five.LoosePanoWork.html +2 -2
  25. package/docs/interfaces/five.LooseWork.html +2 -2
  26. package/docs/interfaces/five.LooseWorkObserver.html +3 -2
  27. package/docs/interfaces/five.LooseWorkPanorama.html +1 -1
  28. package/docs/interfaces/five.LooseWorkWithExtrinsics.html +7 -7
  29. package/docs/interfaces/five.WorkImage.html +4 -2
  30. package/docs/interfaces/five.WorkInitial.html +8 -8
  31. package/docs/interfaces/five.WorkModel.html +8 -8
  32. package/docs/interfaces/five.WorkModelJson.html +3 -2
  33. package/docs/interfaces/five.WorkModelLayer.html +6 -6
  34. package/docs/interfaces/five.WorkModelLayerJson.html +2 -2
  35. package/docs/interfaces/five.WorkObserver.html +19 -20
  36. package/docs/interfaces/five.WorkObserverJson.html +4 -2
  37. package/docs/interfaces/five.WorkPanoramaJson.html +2 -2
  38. package/docs/interfaces/five.WorkPanoramasJson.html +2 -2
  39. package/docs/interfaces/plugins.BackgroundPluginController.html +1 -1
  40. package/docs/interfaces/plugins.BackgroundPluginType.EventMap.html +1 -1
  41. package/docs/interfaces/plugins.DynamicPathLinePluginController.html +1 -1
  42. package/docs/interfaces/plugins.DynamicPathLinePluginType.EventMap.html +1 -1
  43. package/docs/interfaces/plugins.DynamicPathLinePluginType.State.html +1 -1
  44. package/docs/interfaces/plugins.ItemMaskController.html +1 -1
  45. package/docs/interfaces/plugins.ItemMaskPluginType.EventMap.html +1 -1
  46. package/docs/interfaces/plugins.ItemMaskPluginType.State.html +1 -1
  47. package/docs/interfaces/plugins.OrientationPluginController.html +1 -1
  48. package/docs/interfaces/plugins.OrientationPluginType.EventMap.html +1 -1
  49. package/docs/interfaces/plugins.OrientationPluginType.State.html +1 -1
  50. package/docs/interfaces/plugins.PanoAnimeController.html +1 -1
  51. package/docs/interfaces/plugins.PanoAnimePluginType.EventMap.html +1 -1
  52. package/docs/interfaces/plugins.PanoAnimePluginType.State.html +1 -1
  53. package/docs/interfaces/plugins.PluginTemplateType.EventMap.html +1 -1
  54. package/docs/interfaces/plugins.PluginTemplateType.State.html +1 -1
  55. package/docs/interfaces/plugins.TrajectoryController.html +1 -1
  56. package/docs/interfaces/react.FiveInjectionTypes.html +1 -1
  57. package/docs/types/five.ParseOptions.html +6 -6
  58. package/five/index.d.ts +11 -3
  59. package/five/index.js +49 -49
  60. package/five/index.mjs +1922 -1929
  61. package/gltf-loader/index.js +3 -3
  62. package/gltf-loader/index.mjs +3 -3
  63. package/line/index.js +3 -3
  64. package/line/index.mjs +3 -3
  65. package/package.json +1 -1
  66. package/plugins/index.js +2 -2
  67. package/plugins/index.mjs +2 -2
  68. package/react/index.js +2 -2
  69. package/react/index.mjs +2 -2
  70. package/shader-lib/index.js +2 -2
  71. package/shader-lib/index.mjs +2 -2
  72. package/sticker/index.js +3 -3
  73. package/sticker/index.mjs +3 -3
  74. package/umd/five-gltf-loader.js +3 -3
  75. package/umd/five-line.js +3 -3
  76. package/umd/five-plugins.js +2 -2
  77. package/umd/five-react.js +2 -2
  78. package/umd/five-shader-lib.js +2 -2
  79. package/umd/five-sticker.js +3 -3
  80. package/umd/five-vfx.js +2 -2
  81. package/umd/five-vue.js +2 -2
  82. package/umd/five.js +49 -49
  83. package/vfx/index.js +2 -2
  84. package/vfx/index.mjs +2 -2
  85. package/vue/index.js +2 -2
  86. package/vue/index.mjs +2 -2
  87. package/work-downloader/index.js +2 -2
  88. package/work-downloader/index.mjs +2 -2
@@ -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">=&gt;</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="5060"><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:322</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>
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">=&gt;</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="5060"><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:326</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:331</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:337</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:334</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:325</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">=&gt;</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:328</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>
7
+ </div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/work/work.ts:335</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:341</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:338</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:329</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">=&gt;</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:332</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
@@ -1885,6 +1885,7 @@ export declare interface LooseWorkModel {
1885
1885
 
1886
1886
  export declare interface LooseWorkObserver {
1887
1887
  active?: boolean;
1888
+ loadable?: boolean;
1888
1889
  index?: number;
1889
1890
  visible_nodes?: number[];
1890
1891
  visibleNodes?: number[];
@@ -4088,6 +4089,8 @@ export declare interface WorkImage extends WorkCubeImage {
4088
4089
  sizeList: readonly number[];
4089
4090
  /** 瓦片信息 */
4090
4091
  tiles: readonly WorkTile[];
4092
+ /** 点位视频 */
4093
+ video?: WorkVideo;
4091
4094
  }
4092
4095
 
4093
4096
  /** 初始化位姿参数 */
@@ -4154,6 +4157,7 @@ export declare interface WorkModelJson {
4154
4157
  file_url?: string;
4155
4158
  material_textures?: string[];
4156
4159
  material_base_url?: string;
4160
+ up_axis?: string;
4157
4161
  layers?: WorkModelLayerJson[];
4158
4162
  }
4159
4163
 
@@ -4203,9 +4207,11 @@ export declare interface WorkObserver {
4203
4207
  loadable: boolean;
4204
4208
  /** 点位全景图 */
4205
4209
  images: WorkImage;
4206
- /** 点位视频 */
4207
- video?: WorkVideo;
4208
- /** 可以看到的相关点位序号 */
4210
+ /**
4211
+ * @deprecated
4212
+ * 可以看到的相关点位序号
4213
+ * 数据和 accessibleNodes 一致,使用 accessibleNodes
4214
+ */
4209
4215
  visibleNodes: readonly number[];
4210
4216
  /** 可以连通的相关点位序号 */
4211
4217
  accessibleNodes: readonly number[];
@@ -4222,6 +4228,8 @@ export declare interface WorkObserver {
4222
4228
  export declare interface WorkObserverJson {
4223
4229
  index: number;
4224
4230
  floor_index: number;
4231
+ derived_id?: number;
4232
+ derived_id_str?: string;
4225
4233
  position: number[];
4226
4234
  standing_position: number[];
4227
4235
  quaternion: {