@realsee/five 6.7.0-alpha.17 → 6.7.0-alpha.18

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 (105) hide show
  1. package/docs/assets/hierarchy.js +1 -1
  2. package/docs/assets/search.js +1 -1
  3. package/docs/classes/five.Five.html +63 -60
  4. package/docs/classes/five.Model.html +32 -31
  5. package/docs/classes/five.ModelScene.html +16 -15
  6. package/docs/classes/five.PBMContainer.html +1 -1
  7. package/docs/classes/five.PBMGroup.html +1 -1
  8. package/docs/classes/five.PBMMesh.html +1 -1
  9. package/docs/classes/five.PBMMeshMaterial.html +1 -1
  10. package/docs/classes/five.PBMPointCloud.html +1 -1
  11. package/docs/classes/five.PBMPointCloudMaterial.html +1 -1
  12. package/docs/classes/five.PBMSkinnedMesh.html +1 -1
  13. package/docs/classes/five.Parameter.html +1 -1
  14. package/docs/classes/five.Tile3D.html +1 -1
  15. package/docs/classes/five.TileNode.html +1 -1
  16. package/docs/classes/five.TrajectoryNode.html +1 -1
  17. package/docs/classes/five.WorkResolvedObserver.html +1 -1
  18. package/docs/classes/gltf-loader.DDSLoader.html +1 -1
  19. package/docs/classes/gltf-loader.DRACOLoader.html +1 -1
  20. package/docs/classes/gltf-loader.GLTFObject.html +1 -1
  21. package/docs/classes/gltf-loader.THREEGLTFLoader.html +1 -1
  22. package/docs/classes/line.LineGeometry.html +1 -1
  23. package/docs/classes/line.LineMaterial.html +1 -1
  24. package/docs/classes/line.LineSegmentsGeometry.html +1 -1
  25. package/docs/classes/line.THREE_Line2.html +1 -1
  26. package/docs/classes/line.THREE_LineSegments2.html +1 -1
  27. package/docs/classes/plugins.RoundedBoxGeometry.html +1 -1
  28. package/docs/classes/vfx.Airflow.html +1 -1
  29. package/docs/classes/vfx.Flame.html +1 -1
  30. package/docs/classes/vfx.Particle.html +1 -1
  31. package/docs/classes/vfx.ParticleGPU.html +1 -1
  32. package/docs/classes/vfx.SpotLight.html +1 -1
  33. package/docs/hierarchy.html +1 -1
  34. package/docs/interfaces/five.EventCallback.html +1 -1
  35. package/docs/interfaces/five.LooseWorkWithExtrinsics.html +1 -1
  36. package/docs/interfaces/five.ModelControllerCustomInitArgs.html +1 -1
  37. package/docs/interfaces/five.ModelOptions.html +5 -3
  38. package/docs/interfaces/five.PBMMaterial.html +1 -1
  39. package/docs/interfaces/five.PBMMeshMaterialParameters.html +1 -1
  40. package/docs/interfaces/five.PBMPointCloudMaterialParameters.html +1 -1
  41. package/docs/interfaces/five.PanoramaControllerCustomInitArgs.html +1 -1
  42. package/docs/interfaces/five.PanoramaLikeControllerCustomInitArgs.html +1 -1
  43. package/docs/interfaces/five.ParameterMaterialValue.html +1 -1
  44. package/docs/interfaces/five.ParameterTilesetValue.html +1 -1
  45. package/docs/interfaces/five.ParameterValue.html +1 -1
  46. package/docs/interfaces/five.ResolvedParameterValue.html +1 -1
  47. package/docs/interfaces/five.TopviewControllerCustomInitArgs.html +1 -1
  48. package/docs/interfaces/five.VRPanoramaControllerCustomInitArgs.html +1 -1
  49. package/docs/interfaces/five.ViewLayer.html +1 -1
  50. package/docs/interfaces/five.WorkCubeImage.html +1 -1
  51. package/docs/interfaces/five.WorkImage.html +1 -1
  52. package/docs/interfaces/five.WorkObserver.html +1 -1
  53. package/docs/interfaces/five.WorkTile.html +1 -1
  54. package/docs/interfaces/five.XRPanoramaControllerCustomInitArgs.html +1 -1
  55. package/docs/interfaces/plugins.BackgroundPluginController.html +1 -1
  56. package/docs/interfaces/plugins.BackgroundPluginType.EventMap.html +1 -1
  57. package/docs/interfaces/plugins.DynamicPathLinePluginController.html +1 -1
  58. package/docs/interfaces/plugins.DynamicPathLinePluginType.EventMap.html +1 -1
  59. package/docs/interfaces/plugins.DynamicPathLinePluginType.State.html +1 -1
  60. package/docs/interfaces/plugins.ItemMaskController.html +1 -1
  61. package/docs/interfaces/plugins.ItemMaskPluginType.EventMap.html +1 -1
  62. package/docs/interfaces/plugins.ItemMaskPluginType.State.html +1 -1
  63. package/docs/interfaces/plugins.OrientationPluginController.html +1 -1
  64. package/docs/interfaces/plugins.OrientationPluginType.EventMap.html +1 -1
  65. package/docs/interfaces/plugins.OrientationPluginType.State.html +1 -1
  66. package/docs/interfaces/plugins.PanoAnimeController.html +1 -1
  67. package/docs/interfaces/plugins.PanoAnimePluginType.EventMap.html +1 -1
  68. package/docs/interfaces/plugins.PanoAnimePluginType.State.html +1 -1
  69. package/docs/interfaces/plugins.PluginTemplateType.EventMap.html +1 -1
  70. package/docs/interfaces/plugins.PluginTemplateType.State.html +1 -1
  71. package/docs/interfaces/plugins.TrajectoryController.html +1 -1
  72. package/docs/interfaces/react.FiveInjectionTypes.html +1 -1
  73. package/docs/types/five.Models.html +4 -4
  74. package/docs/types/five.ParseOptions.html +1 -1
  75. package/five/index.d.ts +15 -3
  76. package/five/index.js +61 -61
  77. package/five/index.mjs +2381 -2340
  78. package/gltf-loader/index.js +3 -3
  79. package/gltf-loader/index.mjs +3 -3
  80. package/line/index.js +3 -3
  81. package/line/index.mjs +3 -3
  82. package/package.json +1 -1
  83. package/plugins/index.js +2 -2
  84. package/plugins/index.mjs +2 -2
  85. package/react/index.js +2 -2
  86. package/react/index.mjs +2 -2
  87. package/shader-lib/index.js +2 -2
  88. package/shader-lib/index.mjs +2 -2
  89. package/sticker/index.js +3 -3
  90. package/sticker/index.mjs +3 -3
  91. package/umd/five-gltf-loader.js +3 -3
  92. package/umd/five-line.js +3 -3
  93. package/umd/five-plugins.js +2 -2
  94. package/umd/five-react.js +2 -2
  95. package/umd/five-shader-lib.js +2 -2
  96. package/umd/five-sticker.js +3 -3
  97. package/umd/five-vfx.js +2 -2
  98. package/umd/five-vue.js +2 -2
  99. package/umd/five.js +61 -61
  100. package/vfx/index.js +2 -2
  101. package/vfx/index.mjs +2 -2
  102. package/vue/index.js +2 -2
  103. package/vue/index.mjs +2 -2
  104. package/work-downloader/index.js +2 -2
  105. package/work-downloader/index.mjs +2 -2
@@ -5,7 +5,7 @@
5
5
  </div></div></li><li class="tsd-parameter"><h5><span class="tsd-kind-property">refined</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></h5><div class="tsd-comment tsd-typography"><div class="tsd-tag-deprecated"><h4 class="tsd-anchor-link" id="deprecated-4">Deprecated<a href="#deprecated-4" 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><p>use <code>modelScene.refined</code> instead</p>
6
6
  </div></div></li><li class="tsd-parameter"><h5><span class="tsd-kind-property">refineProgress</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">]</span></h5><div class="tsd-comment tsd-typography"><div class="tsd-tag-deprecated"><h4 class="tsd-anchor-link" id="deprecated-5">Deprecated<a href="#deprecated-5" 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><p>use <code>modelScene.refineProgress</code> instead</p>
7
7
  </div></div></li><li class="tsd-parameter"><h5><span class="tsd-kind-method">getMaterial</span><span class="tsd-signature-symbol">:</span> function</h5><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><span class="tsd-kind-call-signature">getMaterial</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/five.ParameterValue.html" class="tsd-signature-type tsd-kind-interface">ParameterValue</a></div><div class="tsd-description"><h4 class="tsd-returns-title">Returns <a href="../interfaces/five.ParameterValue.html" class="tsd-signature-type tsd-kind-interface">ParameterValue</a></h4><div class="tsd-comment tsd-typography"><div class="tsd-tag-deprecated"><h4 class="tsd-anchor-link" id="deprecated-6">Deprecated<a href="#deprecated-6" 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><p>Use <code>.parameter.get</code> instead</p>
8
- </div></div><aside class="tsd-sources"><ul><li>Defined in lib/five/model/model-scene.ts:90</li></ul></aside></div></li></ul></li><li class="tsd-parameter"><h5><span class="tsd-kind-method">intersectRaycaster</span><span class="tsd-signature-symbol">:</span> function</h5><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><span class="tsd-kind-call-signature">intersectRaycaster</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">raycaster</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Raycaster</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/five.Intersection.html" class="tsd-signature-type tsd-kind-interface">Intersection</a><span class="tsd-signature-symbol">[]</span></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">raycaster</span>: <span class="tsd-signature-type">Raycaster</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <a href="../interfaces/five.Intersection.html" class="tsd-signature-type tsd-kind-interface">Intersection</a><span class="tsd-signature-symbol">[]</span></h4><div class="tsd-comment tsd-typography"><div class="tsd-tag-deprecated"><h4 class="tsd-anchor-link" id="deprecated-7">Deprecated<a href="#deprecated-7" 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><p>use <code>modelScene.intersectRaycaster</code> instead</p>
9
- </div></div><aside class="tsd-sources"><ul><li>Defined in lib/five/model/model-scene.ts:78</li></ul></aside></div></li></ul></li><li class="tsd-parameter"><h5><span class="tsd-kind-method">resetBrightness</span><span class="tsd-signature-symbol">:</span> function</h5><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><span class="tsd-kind-call-signature">resetBrightness</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span></div><div class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"><div class="tsd-tag-deprecated"><h4 class="tsd-anchor-link" id="deprecated-8">Deprecated<a href="#deprecated-8" 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><p>Use <code>.parameter.reset('brightness')</code> instead</p>
10
- </div></div><aside class="tsd-sources"><ul><li>Defined in lib/five/model/model-scene.ts:96</li></ul></aside></div></li></ul></li><li class="tsd-parameter"><h5><span class="tsd-kind-method">setMaterial</span><span class="tsd-signature-symbol">:</span> function</h5><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><span class="tsd-kind-call-signature">setMaterial</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">values</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/five.ParameterValue.html" class="tsd-signature-type tsd-kind-interface">ParameterValue</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">values</span>: <span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/five.ParameterValue.html" class="tsd-signature-type tsd-kind-interface">ParameterValue</a><span class="tsd-signature-symbol">&gt;</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"><div class="tsd-tag-deprecated"><h4 class="tsd-anchor-link" id="deprecated-9">Deprecated<a href="#deprecated-9" 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><p>Use <code>.parameter.set</code> instead</p>
11
- </div></div><aside class="tsd-sources"><ul><li>Defined in lib/five/model/model-scene.ts:84</li></ul></aside></div></li></ul></li></ul></div><aside class="tsd-sources"><ul><li>Defined in lib/five/model/model-scene.ts:37</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>
8
+ </div></div><aside class="tsd-sources"><ul><li>Defined in lib/five/model/model-scene.ts:93</li></ul></aside></div></li></ul></li><li class="tsd-parameter"><h5><span class="tsd-kind-method">intersectRaycaster</span><span class="tsd-signature-symbol">:</span> function</h5><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><span class="tsd-kind-call-signature">intersectRaycaster</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">raycaster</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Raycaster</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/five.Intersection.html" class="tsd-signature-type tsd-kind-interface">Intersection</a><span class="tsd-signature-symbol">[]</span></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">raycaster</span>: <span class="tsd-signature-type">Raycaster</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <a href="../interfaces/five.Intersection.html" class="tsd-signature-type tsd-kind-interface">Intersection</a><span class="tsd-signature-symbol">[]</span></h4><div class="tsd-comment tsd-typography"><div class="tsd-tag-deprecated"><h4 class="tsd-anchor-link" id="deprecated-7">Deprecated<a href="#deprecated-7" 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><p>use <code>modelScene.intersectRaycaster</code> instead</p>
9
+ </div></div><aside class="tsd-sources"><ul><li>Defined in lib/five/model/model-scene.ts:81</li></ul></aside></div></li></ul></li><li class="tsd-parameter"><h5><span class="tsd-kind-method">resetBrightness</span><span class="tsd-signature-symbol">:</span> function</h5><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><span class="tsd-kind-call-signature">resetBrightness</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span></div><div class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"><div class="tsd-tag-deprecated"><h4 class="tsd-anchor-link" id="deprecated-8">Deprecated<a href="#deprecated-8" 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><p>Use <code>.parameter.reset('brightness')</code> instead</p>
10
+ </div></div><aside class="tsd-sources"><ul><li>Defined in lib/five/model/model-scene.ts:99</li></ul></aside></div></li></ul></li><li class="tsd-parameter"><h5><span class="tsd-kind-method">setMaterial</span><span class="tsd-signature-symbol">:</span> function</h5><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><span class="tsd-kind-call-signature">setMaterial</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">values</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/five.ParameterValue.html" class="tsd-signature-type tsd-kind-interface">ParameterValue</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">values</span>: <span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/five.ParameterValue.html" class="tsd-signature-type tsd-kind-interface">ParameterValue</a><span class="tsd-signature-symbol">&gt;</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"><div class="tsd-tag-deprecated"><h4 class="tsd-anchor-link" id="deprecated-9">Deprecated<a href="#deprecated-9" 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><p>Use <code>.parameter.set</code> instead</p>
11
+ </div></div><aside class="tsd-sources"><ul><li>Defined in lib/five/model/model-scene.ts:87</li></ul></aside></div></li></ul></li></ul></div><aside class="tsd-sources"><ul><li>Defined in lib/five/model/model-scene.ts:40</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,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>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="5140"><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>
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="5154"><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>
package/five/index.d.ts CHANGED
@@ -548,7 +548,7 @@ export declare class Five extends Subscribe<EventTypes> {
548
548
  plugins: {
549
549
  [key: string]: FivePluginInstance<any>;
550
550
  };
551
- ident: string;
551
+ readonly fiveId: string;
552
552
  private stopAnimationLoop?;
553
553
  private fps;
554
554
  private helperGroup;
@@ -572,6 +572,7 @@ export declare class Five extends Subscribe<EventTypes> {
572
572
  private _builtinRenderer;
573
573
  private _buildInRendererType;
574
574
  constructor(initArgs?: FiveInitArgs);
575
+ get ident(): string;
575
576
  get panoIndex(): number;
576
577
  /**
577
578
  * 析构 five 对象。
@@ -592,6 +593,10 @@ export declare class Five extends Subscribe<EventTypes> {
592
593
  * ```
593
594
  */
594
595
  setViewport(viewport: Viewport): void;
596
+ /**
597
+ * 获取 boundingMesh
598
+ */
599
+ get boundingMesh(): BoundingMesh;
595
600
  /**
596
601
  * 帮助元素显示/隐藏
597
602
  */
@@ -814,6 +819,7 @@ export declare class Five extends Subscribe<EventTypes> {
814
819
  exitFullscreen(): void;
815
820
  private throwError;
816
821
  private bindModel;
822
+ private bindWorkFetcher;
817
823
  private commonParams;
818
824
  private applyController;
819
825
  /** 移除事件绑定 */
@@ -2051,6 +2057,7 @@ export declare interface Model {
2051
2057
  * 通过 json_xxxxxx(<dataURL>) 方式返回。
2052
2058
  */
2053
2059
  export declare class Model extends THREE_2.Object3D {
2060
+ fiveId: string;
2054
2061
  parent: ModelScene | null;
2055
2062
  needsRender: boolean;
2056
2063
  children: ViewLayer[];
@@ -2079,7 +2086,7 @@ export declare class Model extends THREE_2.Object3D {
2079
2086
  boundingBox: THREE_2.Box3;
2080
2087
  /** 所有楼层 */
2081
2088
  floorLength: number;
2082
- constructor(work: Work, options?: {
2089
+ constructor(fiveId: string, work: Work, options?: {
2083
2090
  light?: boolean;
2084
2091
  textureOptions?: TextureOptions;
2085
2092
  });
@@ -2195,6 +2202,8 @@ export declare interface ModelOptions {
2195
2202
  * 平衡加载时间和图片质量
2196
2203
  */
2197
2204
  textureOptions?: TextureOptions;
2205
+ /** 强制显示模型,不等待加载完 */
2206
+ forceReplaceImmediately?: boolean;
2198
2207
  }
2199
2208
 
2200
2209
  export declare type Models = Model[] & {
@@ -2284,6 +2293,7 @@ export declare interface ModelScene {
2284
2293
  }
2285
2294
 
2286
2295
  export declare class ModelScene extends THREE_2.Scene {
2296
+ fiveId: string;
2287
2297
  needsRender: boolean;
2288
2298
  /** 自动细化 */
2289
2299
  autoRefine: boolean;
@@ -2303,7 +2313,9 @@ export declare class ModelScene extends THREE_2.Scene {
2303
2313
  readonly models: Models;
2304
2314
  private readonly shownModels;
2305
2315
  private updateModelMap;
2306
- constructor();
2316
+ constructor(options: {
2317
+ fiveId: string;
2318
+ });
2307
2319
  setModels(works: Works, options: ModelOptions): Model[];
2308
2320
  /**
2309
2321
  * 计算模型射线碰撞检测