@realsee/five 6.7.0-alpha.26 → 6.7.0-alpha.28

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 (109) hide show
  1. package/docs/assets/hierarchy.js +1 -1
  2. package/docs/assets/search.js +1 -1
  3. package/docs/classes/five.AdaptiveLuminancePass.html +1 -1
  4. package/docs/classes/five.EffectComposer.html +1 -1
  5. package/docs/classes/five.EyeDomeLightingPass.html +1 -1
  6. package/docs/classes/five.FivePass.html +1 -1
  7. package/docs/classes/five.FiveRenderer.html +1 -1
  8. package/docs/classes/five.Model.html +1 -1
  9. package/docs/classes/five.ModelScene.html +1 -1
  10. package/docs/classes/five.PBMContainer.html +1 -1
  11. package/docs/classes/five.PBMGroup.html +1 -1
  12. package/docs/classes/five.PBMMesh.html +1 -1
  13. package/docs/classes/five.PBMMeshMaterial.html +1 -1
  14. package/docs/classes/five.PBMPointCloud.html +1 -1
  15. package/docs/classes/five.PBMPointCloudMaterial.html +1 -1
  16. package/docs/classes/five.PBMSkinnedMesh.html +1 -1
  17. package/docs/classes/five.PanoCircleMesh.html +2 -2
  18. package/docs/classes/five.PanoCircleMeshCustom.html +3 -3
  19. package/docs/classes/five.PanoCircleMeshSolid.html +3 -3
  20. package/docs/classes/five.Parameter.html +1 -1
  21. package/docs/classes/five.Tile3D.html +1 -1
  22. package/docs/classes/five.TileNode.html +4 -3
  23. package/docs/classes/five.TrajectoryNode.html +1 -1
  24. package/docs/classes/five.WorkResolvedObserver.html +1 -1
  25. package/docs/classes/gltf-loader.DDSLoader.html +1 -1
  26. package/docs/classes/gltf-loader.DRACOLoader.html +1 -1
  27. package/docs/classes/gltf-loader.GLTFObject.html +1 -1
  28. package/docs/classes/gltf-loader.THREEGLTFLoader.html +1 -1
  29. package/docs/classes/line.LineGeometry.html +1 -1
  30. package/docs/classes/line.LineMaterial.html +1 -1
  31. package/docs/classes/line.LineSegmentsGeometry.html +1 -1
  32. package/docs/classes/line.THREE_Line2.html +1 -1
  33. package/docs/classes/line.THREE_LineSegments2.html +1 -1
  34. package/docs/classes/plugins.RoundedBoxGeometry.html +1 -1
  35. package/docs/classes/vfx.Airflow.html +1 -1
  36. package/docs/classes/vfx.Flame.html +1 -1
  37. package/docs/classes/vfx.Particle.html +1 -1
  38. package/docs/classes/vfx.ParticleGPU.html +1 -1
  39. package/docs/classes/vfx.SpotLight.html +1 -1
  40. package/docs/hierarchy.html +1 -1
  41. package/docs/interfaces/five.IntersectMesh.html +2 -2
  42. package/docs/interfaces/five.LooseWorkWithExtrinsics.html +1 -1
  43. package/docs/interfaces/five.PBMMaterial.html +1 -1
  44. package/docs/interfaces/five.PBMMeshMaterialParameters.html +1 -1
  45. package/docs/interfaces/five.PBMPointCloudMaterialParameters.html +1 -1
  46. package/docs/interfaces/five.PanoramaLikeControllerCustomInitArgs.html +1 -1
  47. package/docs/interfaces/five.ParameterMaterialValue.html +1 -1
  48. package/docs/interfaces/five.ParameterTilesetValue.html +1 -1
  49. package/docs/interfaces/five.ParameterValue.html +1 -1
  50. package/docs/interfaces/five.ResolvedParameterValue.html +1 -1
  51. package/docs/interfaces/five.TopviewControllerCustomInitArgs.html +7 -3
  52. package/docs/interfaces/five.VRPanoramaControllerCustomInitArgs.html +1 -1
  53. package/docs/interfaces/five.ViewLayer.html +1 -1
  54. package/docs/interfaces/five.WorkCubeImage.html +1 -1
  55. package/docs/interfaces/five.WorkImage.html +1 -1
  56. package/docs/interfaces/five.WorkObserver.html +1 -1
  57. package/docs/interfaces/five.WorkTile.html +1 -1
  58. package/docs/interfaces/five.XRPanoramaControllerCustomInitArgs.html +1 -1
  59. package/docs/interfaces/plugins.BackgroundPluginController.html +1 -1
  60. package/docs/interfaces/plugins.BackgroundPluginType.EventMap.html +1 -1
  61. package/docs/interfaces/plugins.DynamicPathLinePluginController.html +1 -1
  62. package/docs/interfaces/plugins.DynamicPathLinePluginType.EventMap.html +1 -1
  63. package/docs/interfaces/plugins.DynamicPathLinePluginType.State.html +1 -1
  64. package/docs/interfaces/plugins.ItemMaskController.html +1 -1
  65. package/docs/interfaces/plugins.ItemMaskPluginType.EventMap.html +1 -1
  66. package/docs/interfaces/plugins.ItemMaskPluginType.State.html +1 -1
  67. package/docs/interfaces/plugins.OrientationPluginController.html +1 -1
  68. package/docs/interfaces/plugins.OrientationPluginType.EventMap.html +1 -1
  69. package/docs/interfaces/plugins.OrientationPluginType.State.html +1 -1
  70. package/docs/interfaces/plugins.PanoAnimeController.html +1 -1
  71. package/docs/interfaces/plugins.PanoAnimePluginType.EventMap.html +1 -1
  72. package/docs/interfaces/plugins.PanoAnimePluginType.State.html +1 -1
  73. package/docs/interfaces/plugins.PluginTemplateType.EventMap.html +1 -1
  74. package/docs/interfaces/plugins.PluginTemplateType.State.html +1 -1
  75. package/docs/interfaces/plugins.TrajectoryController.html +1 -1
  76. package/docs/interfaces/react.FiveInjectionTypes.html +1 -1
  77. package/docs/types/five.ParseOptions.html +1 -1
  78. package/five/index.d.ts +5 -4
  79. package/five/index.js +19 -19
  80. package/five/index.mjs +225 -185
  81. package/gltf-loader/index.js +3 -3
  82. package/gltf-loader/index.mjs +3 -3
  83. package/line/index.js +3 -3
  84. package/line/index.mjs +3 -3
  85. package/package.json +1 -1
  86. package/plugins/index.js +2 -2
  87. package/plugins/index.mjs +2 -2
  88. package/react/index.js +2 -2
  89. package/react/index.mjs +2 -2
  90. package/shader-lib/index.d.ts +1 -1
  91. package/shader-lib/index.js +17 -9
  92. package/shader-lib/index.mjs +208 -199
  93. package/sticker/index.js +3 -3
  94. package/sticker/index.mjs +3 -3
  95. package/umd/five-gltf-loader.js +3 -3
  96. package/umd/five-line.js +3 -3
  97. package/umd/five-plugins.js +2 -2
  98. package/umd/five-react.js +2 -2
  99. package/umd/five-shader-lib.js +16 -8
  100. package/umd/five-sticker.js +3 -3
  101. package/umd/five-vfx.js +2 -2
  102. package/umd/five-vue.js +2 -2
  103. package/umd/five.js +19 -19
  104. package/vfx/index.js +2 -2
  105. package/vfx/index.mjs +2 -2
  106. package/vue/index.js +2 -2
  107. package/vue/index.mjs +2 -2
  108. package/work-downloader/index.js +2 -2
  109. package/work-downloader/index.mjs +2 -2
@@ -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="5166"><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="5170"><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
@@ -382,7 +382,7 @@ export declare class EffectComposer {
382
382
  swapBuffers(): void;
383
383
  addPass(pass: Pass): void;
384
384
  insertPass(pass: Pass, index: number): void;
385
- render(renderer: THREE_2.WebGLRenderer): void;
385
+ render(renderer: THREE_2.WebGLRenderer): boolean;
386
386
  setSize(width: number, height: number): void;
387
387
  updateStatus(): void;
388
388
  dispose(): void;
@@ -1220,7 +1220,7 @@ export declare class FiveRenderer {
1220
1220
  private sceneRenders;
1221
1221
  constructor();
1222
1222
  private renderSceneToBuffers;
1223
- render(renderer: THREE_2.WebGLRenderer, scene: Scene, modelScene: ModelScene, camera: Camera, clearRenderCache: boolean): boolean;
1223
+ render(renderer: THREE_2.WebGLRenderer, scene: Scene, modelScene: ModelScene, camera: Camera, sceneUpdated: boolean): boolean;
1224
1224
  dispose(): void;
1225
1225
  }
1226
1226
 
@@ -3925,11 +3925,12 @@ export declare interface TileHeader {
3925
3925
 
3926
3926
  export declare class TileNode extends THREE_2.Object3D {
3927
3927
  materials: THREE_2.Material[];
3928
+ animations: THREE_2.AnimationClip[];
3928
3929
  pbmObjects: (PBMMesh | PBMSkinnedMesh | PBMPointCloud)[];
3929
3930
  private contentObject;
3930
3931
  private appearMotion;
3931
3932
  private disposers;
3932
- constructor(name: string, contentObject: THREE_2.Object3D, disposer?: () => void);
3933
+ constructor(name: string, contentObject: THREE_2.Object3D, animations: THREE_2.AnimationClip[], disposer?: () => void);
3933
3934
  generateBvhTree(): Promise<this>;
3934
3935
  intersectRaycaster(raycaster: THREE_2.Raycaster, target?: Intersection[]): Intersection[];
3935
3936
  update(renderer: THREE_2.WebGLRenderer, camera: Camera, modelScene: ModelScene, tile3d: Tile3D, tile: Tile, parameterValue: ResolvedParameterValue): boolean;
@@ -4116,7 +4117,7 @@ export declare interface TilesetOptions {
4116
4117
  onTrajectoryError: (trajectory: Trajectory, error: Error) => any;
4117
4118
  }
4118
4119
 
4119
- export declare interface TopviewControllerCustomInitArgs extends Omit<FloorplanControllerCustomInitArgs, "defaultLongitude" | "defaultLatitude" | "maxLatitude" | "minLatitude"> {
4120
+ export declare interface TopviewControllerCustomInitArgs extends Omit<FloorplanControllerCustomInitArgs, "maxLatitude" | "minLatitude"> {
4120
4121
  }
4121
4122
 
4122
4123
  export declare class Trajectory {