@realsee/five 6.6.0-alpha.2 → 6.6.0-alpha.4

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 (145) hide show
  1. package/docs/assets/hierarchy.js +1 -1
  2. package/docs/assets/navigation.js +1 -1
  3. package/docs/assets/search.js +1 -1
  4. package/docs/classes/five.Five.html +1 -1
  5. package/docs/classes/five.Model.html +32 -33
  6. package/docs/classes/five.ModelScene.html +17 -18
  7. package/docs/classes/five.PBMContainer.html +1 -1
  8. package/docs/classes/five.PBMGroup.html +1 -1
  9. package/docs/classes/five.PBMMesh.html +1 -1
  10. package/docs/classes/five.PBMMeshMaterial.html +1 -1
  11. package/docs/classes/five.PBMPointCloud.html +1 -1
  12. package/docs/classes/five.PBMPointCloudMaterial.html +1 -1
  13. package/docs/classes/five.PBMSkinnedMesh.html +1 -1
  14. package/docs/classes/five.PanoCircleMesh.html +1 -1
  15. package/docs/classes/five.PanoCircleMeshCustom.html +1 -1
  16. package/docs/classes/five.PanoCircleMeshSolid.html +1 -1
  17. package/docs/classes/five.Parameter.html +1 -1
  18. package/docs/classes/five.Tile3DModel.html +21 -21
  19. package/docs/classes/five.TileNode.html +2 -2
  20. package/docs/classes/five.TrajectoryNode.html +1 -1
  21. package/docs/classes/five.WorkResolvedObserver.html +1 -1
  22. package/docs/classes/gltf-loader.DDSLoader.html +1 -1
  23. package/docs/classes/gltf-loader.DRACOLoader.html +1 -1
  24. package/docs/classes/gltf-loader.GLTFObject.html +1 -1
  25. package/docs/classes/gltf-loader.THREEGLTFLoader.html +1 -1
  26. package/docs/classes/line.LineGeometry.html +1 -1
  27. package/docs/classes/line.LineMaterial.html +1 -1
  28. package/docs/classes/line.LineSegmentsGeometry.html +1 -1
  29. package/docs/classes/line.THREE_Line2.html +1 -1
  30. package/docs/classes/line.THREE_LineSegments2.html +1 -1
  31. package/docs/classes/plugins.RoundedBoxGeometry.html +1 -1
  32. package/docs/classes/vfx.Airflow.html +1 -1
  33. package/docs/classes/vfx.Flame.html +1 -1
  34. package/docs/classes/vfx.Particle.html +1 -1
  35. package/docs/classes/vfx.ParticleGPU.html +19 -0
  36. package/docs/classes/vfx.SpotLight.html +1 -1
  37. package/docs/functions/five.createDebugBoundingMesh.html +1 -1
  38. package/docs/functions/five.isBoundingVolume.html +1 -1
  39. package/docs/functions/five.makeBoundingVolume.html +1 -1
  40. package/docs/hierarchy.html +1 -1
  41. package/docs/interfaces/five.AddableObject.html +1 -1
  42. package/docs/interfaces/five.BaseEvent.html +1 -1
  43. package/docs/interfaces/five.BoundingVolume.html +2 -2
  44. package/docs/interfaces/five.BoxBoundingVolume.html +2 -2
  45. package/docs/interfaces/five.EventCallback.html +1 -1
  46. package/docs/interfaces/five.GestureEvent.html +1 -1
  47. package/docs/interfaces/five.ImageOptions.html +1 -1
  48. package/docs/interfaces/five.IntersectEvent.html +1 -1
  49. package/docs/interfaces/five.IntersectMesh.html +1 -1
  50. package/docs/interfaces/five.IntersectMeshInterface.html +1 -1
  51. package/docs/interfaces/five.Intersection.html +6 -3
  52. package/docs/interfaces/five.LooseWorkPanorama.html +1 -1
  53. package/docs/interfaces/five.LooseWorkWithExtrinsics.html +1 -1
  54. package/docs/interfaces/five.ModeChangeEvent.html +1 -1
  55. package/docs/interfaces/five.ModelControllerCustomInitArgs.html +1 -1
  56. package/docs/interfaces/five.ModelEvent.html +1 -1
  57. package/docs/interfaces/five.ModelLike.html +2 -2
  58. package/docs/interfaces/five.ModelSceneEvent.html +1 -1
  59. package/docs/interfaces/five.MovePanoOptions.html +1 -1
  60. package/docs/interfaces/five.NetworkResourceEvent.html +1 -1
  61. package/docs/interfaces/five.ObjectEvent.html +1 -1
  62. package/docs/interfaces/five.PBMMaterial.html +1 -1
  63. package/docs/interfaces/five.PBMMeshMaterialParameters.html +1 -1
  64. package/docs/interfaces/five.PBMPointCloudMaterialParameters.html +1 -1
  65. package/docs/interfaces/five.PanoCircleMeshInterface.html +1 -1
  66. package/docs/interfaces/five.PanoEvent.html +1 -1
  67. package/docs/interfaces/five.PanoTextureEvent.html +1 -1
  68. package/docs/interfaces/five.PanoramaControllerCustomInitArgs.html +1 -1
  69. package/docs/interfaces/five.PanoramaLikeControllerCustomInitArgs.html +1 -1
  70. package/docs/interfaces/five.ParameterMaterialValue.html +1 -1
  71. package/docs/interfaces/five.ParameterTilesetValue.html +1 -1
  72. package/docs/interfaces/five.ParameterValue.html +1 -1
  73. package/docs/interfaces/five.Pose.html +1 -1
  74. package/docs/interfaces/five.RegionBoundingVolume.html +2 -2
  75. package/docs/interfaces/five.RenderEvent.html +1 -1
  76. package/docs/interfaces/five.ResolvedParameterValue.html +1 -1
  77. package/docs/interfaces/five.SphereBoundingVolume.html +2 -2
  78. package/docs/interfaces/five.State.html +1 -1
  79. package/docs/interfaces/five.StateEvent.html +1 -1
  80. package/docs/interfaces/five.TextureOptions.html +1 -1
  81. package/docs/interfaces/five.TopviewControllerCustomInitArgs.html +1 -1
  82. package/docs/interfaces/five.VRPanoramaControllerCustomInitArgs.html +1 -1
  83. package/docs/interfaces/five.ViewLayer.html +21 -21
  84. package/docs/interfaces/five.WorkCubeImage.html +1 -1
  85. package/docs/interfaces/five.WorkImage.html +1 -1
  86. package/docs/interfaces/five.WorkObserver.html +1 -1
  87. package/docs/interfaces/five.WorkTile.html +1 -1
  88. package/docs/interfaces/five.WorksEvent.html +1 -1
  89. package/docs/interfaces/five.XRControllerEvent.html +1 -1
  90. package/docs/interfaces/five.XRGestureEvent.html +1 -1
  91. package/docs/interfaces/five.XRPanoramaControllerCustomInitArgs.html +1 -1
  92. package/docs/interfaces/five.XRSessionEvent.html +1 -1
  93. package/docs/interfaces/plugins.BackgroundPluginController.html +1 -1
  94. package/docs/interfaces/plugins.BackgroundPluginType.EventMap.html +1 -1
  95. package/docs/interfaces/plugins.ItemMaskController.html +1 -1
  96. package/docs/interfaces/plugins.ItemMaskPluginType.EventMap.html +1 -1
  97. package/docs/interfaces/plugins.ItemMaskPluginType.State.html +1 -1
  98. package/docs/interfaces/plugins.OrientationPluginController.html +1 -1
  99. package/docs/interfaces/plugins.OrientationPluginType.EventMap.html +1 -1
  100. package/docs/interfaces/plugins.OrientationPluginType.State.html +1 -1
  101. package/docs/interfaces/plugins.PanoAnimeController.html +1 -1
  102. package/docs/interfaces/plugins.PanoAnimePluginType.EventMap.html +1 -1
  103. package/docs/interfaces/plugins.PanoAnimePluginType.State.html +1 -1
  104. package/docs/interfaces/plugins.PluginTemplateType.EventMap.html +1 -1
  105. package/docs/interfaces/plugins.PluginTemplateType.State.html +1 -1
  106. package/docs/interfaces/plugins.TrajectoryController.html +1 -1
  107. package/docs/interfaces/react.FiveInjectionTypes.html +4 -5
  108. package/docs/interfaces/vfx.ParticleGPUArgs.html +60 -0
  109. package/docs/interfaces/vfx.ParticleGPUTweenKeyframe.html +3 -0
  110. package/docs/modules/vfx.html +1 -1
  111. package/docs/types/five.Models.html +4 -4
  112. package/docs/types/five.ParseOptions.html +1 -1
  113. package/docs/types/vfx.ParticleGPUType.html +1 -0
  114. package/five/index.d.ts +16 -12
  115. package/five/index.js +50 -50
  116. package/five/index.mjs +4441 -4423
  117. package/gltf-loader/index.js +3 -3
  118. package/gltf-loader/index.mjs +3 -3
  119. package/line/index.js +3 -3
  120. package/line/index.mjs +3 -3
  121. package/package.json +1 -1
  122. package/plugins/index.js +2 -2
  123. package/plugins/index.mjs +2 -2
  124. package/react/index.js +2 -2
  125. package/react/index.mjs +2 -2
  126. package/shader-lib/index.js +2 -2
  127. package/shader-lib/index.mjs +2 -2
  128. package/sticker/index.js +3 -3
  129. package/sticker/index.mjs +3 -3
  130. package/umd/five-gltf-loader.js +3 -3
  131. package/umd/five-line.js +3 -3
  132. package/umd/five-plugins.js +2 -2
  133. package/umd/five-react.js +2 -2
  134. package/umd/five-shader-lib.js +2 -2
  135. package/umd/five-sticker.js +3 -3
  136. package/umd/five-vfx.js +126 -19
  137. package/umd/five-vue.js +2 -2
  138. package/umd/five.js +42 -42
  139. package/vfx/index.d.ts +99 -0
  140. package/vfx/index.js +126 -19
  141. package/vfx/index.mjs +325 -119
  142. package/vue/index.js +2 -2
  143. package/vue/index.mjs +2 -2
  144. package/work-downloader/index.js +3 -3
  145. package/work-downloader/index.mjs +89 -82
@@ -2,7 +2,7 @@
2
2
  </div><div class="tsd-comment tsd-typography"><div class="tsd-tag-example"><h4 class="tsd-anchor-link" id="example">Example<a href="#example" 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><pre><code><span class="hl-5">// 初始化构造函数</span><br/><span class="hl-6">const</span><span class="hl-1"> </span><span class="hl-7">five</span><span class="hl-1"> = </span><span class="hl-6">new</span><span class="hl-1"> </span><span class="hl-0">Five</span><span class="hl-1">();</span><br/><span class="hl-5">// 将绘制区域添加到页面上</span><br/><span class="hl-4">five</span><span class="hl-1">.</span><span class="hl-0">appendTo</span><span class="hl-1">(</span><span class="hl-4">document</span><span class="hl-1">.</span><span class="hl-4">body</span><span class="hl-1">);</span><br/><span class="hl-5">// 加载 Work 数据</span><br/><span class="hl-4">five</span><span class="hl-1">.</span><span class="hl-0">load</span><span class="hl-1">({...});</span>
3
3
  </code><button>Copy</button></pre>
4
4
 
5
- </div></div></section><section class="tsd-panel tsd-hierarchy" data-refl="1668"><h4>Hierarchy (<a href="../hierarchy.html#five.Five">View Summary</a>)</h4><ul class="tsd-hierarchy"><li class="tsd-hierarchy-item"><a href="five.Subscribe.html" class="tsd-signature-type tsd-kind-class">Subscribe</a><span class="tsd-signature-symbol">&lt;</span><a href="../types/five.EventTypes.html" class="tsd-signature-type tsd-kind-type-alias">EventTypes</a><span class="tsd-signature-symbol">&gt;</span><ul class="tsd-hierarchy"><li class="tsd-hierarchy-item"><span class="tsd-hierarchy-target">Five</span></li></ul></li></ul></section><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:95</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">Constructors</h3><div class="tsd-index-list"><a href="#constructor" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Constructor"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a>
5
+ </div></div></section><section class="tsd-panel tsd-hierarchy" data-refl="1674"><h4>Hierarchy (<a href="../hierarchy.html#five.Five">View Summary</a>)</h4><ul class="tsd-hierarchy"><li class="tsd-hierarchy-item"><a href="five.Subscribe.html" class="tsd-signature-type tsd-kind-class">Subscribe</a><span class="tsd-signature-symbol">&lt;</span><a href="../types/five.EventTypes.html" class="tsd-signature-type tsd-kind-type-alias">EventTypes</a><span class="tsd-signature-symbol">&gt;</span><ul class="tsd-hierarchy"><li class="tsd-hierarchy-item"><span class="tsd-hierarchy-target">Five</span></li></ul></li></ul></section><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:95</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">Constructors</h3><div class="tsd-index-list"><a href="#constructor" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Constructor"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a>
6
6
  </div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Properties</h3><div class="tsd-index-list"><a href="#backgroundalpha" 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>background<wbr/>Alpha</span></a>
7
7
  <a href="#backgroundcolor" 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>background<wbr/>Color</span></a>
8
8
  <a href="#camera" 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>camera</span></a>