@realsee/five 6.6.0-alpha.1 → 6.6.0-alpha.3

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 (529) hide show
  1. package/docs/assets/hierarchy.js +1 -0
  2. package/docs/assets/icons.js +1 -1
  3. package/docs/assets/icons.svg +1 -1
  4. package/docs/assets/main.js +5 -5
  5. package/docs/assets/navigation.js +1 -1
  6. package/docs/assets/search.js +1 -1
  7. package/docs/assets/style.css +1440 -1255
  8. package/docs/classes/five.AnimationFrameLoop.html +16 -16
  9. package/docs/classes/five.Camera.html +41 -41
  10. package/docs/classes/five.Fetcher.html +5 -5
  11. package/docs/classes/five.Five.html +211 -211
  12. package/docs/classes/five.InternalWebGLRenderer.html +2 -2
  13. package/docs/classes/five.Model.html +73 -74
  14. package/docs/classes/five.ModelScene.html +35 -36
  15. package/docs/classes/five.Motion.html +17 -17
  16. package/docs/classes/five.NetworkSubscribe.html +35 -35
  17. package/docs/classes/five.PBMContainer.html +17 -17
  18. package/docs/classes/five.PBMCustomShader.html +11 -11
  19. package/docs/classes/five.PBMGroup.html +4 -4
  20. package/docs/classes/five.PBMMesh.html +2 -2
  21. package/docs/classes/five.PBMMeshMaterial.html +84 -84
  22. package/docs/classes/five.PBMPointCloud.html +3 -3
  23. package/docs/classes/five.PBMPointCloudMaterial.html +40 -40
  24. package/docs/classes/five.PBMSkinnedMesh.html +4 -4
  25. package/docs/classes/five.PanoCircleMesh.html +20 -20
  26. package/docs/classes/five.PanoCircleMeshCustom.html +20 -20
  27. package/docs/classes/five.PanoCircleMeshSolid.html +20 -20
  28. package/docs/classes/five.Parameter.html +114 -114
  29. package/docs/classes/five.Scene.html +9 -9
  30. package/docs/classes/five.Subscribe.html +37 -37
  31. package/docs/classes/five.TextureLoader.html +4 -4
  32. package/docs/classes/five.Tile.html +34 -34
  33. package/docs/classes/five.Tile3DModel.html +91 -91
  34. package/docs/classes/five.TileCache.html +8 -8
  35. package/docs/classes/five.TileNode.html +9 -9
  36. package/docs/classes/five.TileRequestScheduler.html +4 -4
  37. package/docs/classes/five.Tileset.html +37 -37
  38. package/docs/classes/five.Trajectory.html +8 -8
  39. package/docs/classes/five.TrajectoryNode.html +7 -7
  40. package/docs/classes/five.Work.html +42 -42
  41. package/docs/classes/five.WorkResolvedObserver.html +40 -40
  42. package/docs/classes/five.XRButton.html +3 -3
  43. package/docs/classes/gltf-loader.DDSLoader.html +3 -0
  44. package/docs/classes/gltf-loader.DRACOLoader.html +8 -0
  45. package/docs/classes/gltf-loader.GLTFLoader.html +19 -0
  46. package/docs/classes/gltf-loader.GLTFObject.html +9 -0
  47. package/docs/classes/gltf-loader.GLTFParser.html +6 -0
  48. package/docs/classes/gltf-loader.THREEGLTFLoader.html +8 -0
  49. package/docs/classes/line.Line.html +10 -10
  50. package/docs/classes/line.LineGeometry.html +17 -17
  51. package/docs/classes/line.LineMaterial.html +8 -8
  52. package/docs/classes/line.LineSegmentsGeometry.html +15 -15
  53. package/docs/classes/line.THREE_Line2.html +4 -4
  54. package/docs/classes/line.THREE_LineSegments2.html +4 -4
  55. package/docs/classes/plugins.BasePlugin.Controller.html +39 -0
  56. package/docs/classes/plugins.CSS3DRenderer.html +6 -0
  57. package/docs/classes/plugins.OrbitControls.html +41 -0
  58. package/docs/classes/plugins.RoundedBoxGeometry.html +3 -0
  59. package/docs/classes/react.Store.html +20 -20
  60. package/docs/classes/sticker.Sticker.html +17 -17
  61. package/docs/classes/vfx.Airflow.html +8 -8
  62. package/docs/classes/vfx.Flame.html +10 -10
  63. package/docs/classes/vfx.Particle.html +78 -78
  64. package/docs/classes/vfx.ParticleGPU.html +19 -0
  65. package/docs/classes/vfx.SpotLight.html +7 -7
  66. package/docs/documents/coordinate.html +4 -4
  67. package/docs/documents/five.FivePlugin.plugins.html +15 -15
  68. package/docs/documents/five.Pose.coordinate.html +4 -4
  69. package/docs/documents/plugins.html +15 -15
  70. package/docs/documents/react-component.html +32 -0
  71. package/docs/enums/five.VolumePlaneIntersect.html +4 -4
  72. package/docs/enums/plugins.BackgroundPluginType.WarningCodeType.html +2 -0
  73. package/docs/functions/five.coordinatesToVector.html +2 -0
  74. package/docs/functions/five.createDebugBoundingMesh.html +1 -1
  75. package/docs/functions/five.createWorks.html +1 -1
  76. package/docs/functions/five.defaultImageURLTransform.html +2 -2
  77. package/docs/functions/five.getViewportScale.html +1 -1
  78. package/docs/functions/five.headingToLongitude.html +4 -0
  79. package/docs/functions/five.imageSupport.html +1 -1
  80. package/docs/functions/five.isBoundingVolume.html +1 -1
  81. package/docs/functions/five.isPanoId.html +1 -1
  82. package/docs/functions/five.loadAt3d.html +1 -1
  83. package/docs/functions/five.loadB3dm.html +1 -1
  84. package/docs/functions/five.loadDome.html +1 -1
  85. package/docs/functions/five.loadDomez.html +1 -1
  86. package/docs/functions/five.loadFbx.html +1 -1
  87. package/docs/functions/five.loadGltf.html +1 -1
  88. package/docs/functions/five.loadPbm.html +1 -1
  89. package/docs/functions/five.loadPly.html +1 -1
  90. package/docs/functions/five.loadPnts.html +1 -1
  91. package/docs/functions/five.loadX3p.html +1 -1
  92. package/docs/functions/five.longitudeToHeading.html +4 -0
  93. package/docs/functions/five.makeBoundingVolume.html +1 -1
  94. package/docs/functions/five.panoEqual.html +1 -1
  95. package/docs/functions/five.panoParse.html +1 -1
  96. package/docs/functions/five.panoStringify.html +1 -1
  97. package/docs/functions/five.parseWork.html +2 -2
  98. package/docs/functions/five.vectorToCoordinates.html +2 -0
  99. package/docs/functions/five.workToJson.html +1 -1
  100. package/docs/functions/plugins.BackgroundPlugin.html +1 -0
  101. package/docs/functions/plugins.ItemMaskPlugin.html +1 -0
  102. package/docs/functions/plugins.OrientationPlugin.html +1 -0
  103. package/docs/functions/plugins.PanoAnimePlugin.html +1 -0
  104. package/docs/functions/plugins.TrajectoryPlugin.html +1 -0
  105. package/docs/functions/react.createFiveFeature.html +1 -1
  106. package/docs/functions/react.createFiveProvider.html +5 -5
  107. package/docs/functions/react.createStore.html +12 -12
  108. package/docs/functions/react.unsafe__useFiveInstance.html +4 -4
  109. package/docs/functions/react.useFiveAction.html +8 -8
  110. package/docs/functions/react.useFiveCameraDirection.html +3 -3
  111. package/docs/functions/react.useFiveCameraRaycaster.html +3 -3
  112. package/docs/functions/react.useFiveCurrentObserver.html +4 -4
  113. package/docs/functions/react.useFiveCurrentState.html +4 -4
  114. package/docs/functions/react.useFiveEventCallback.html +3 -3
  115. package/docs/functions/react.useFiveFloor.html +4 -4
  116. package/docs/functions/react.useFiveHelper.html +4 -4
  117. package/docs/functions/react.useFiveModelIntersectRaycaster.html +4 -4
  118. package/docs/functions/react.useFiveModelReadyState.html +3 -3
  119. package/docs/functions/react.useFiveProject2d.html +4 -4
  120. package/docs/functions/react.useFiveSceneEffect.html +4 -4
  121. package/docs/functions/react.useFiveState.html +1 -1
  122. package/docs/functions/react.useFiveWork.html +5 -5
  123. package/docs/functions/react.withFive.html +1 -1
  124. package/docs/functions/vue.unsafe__useFiveInject.html +4 -4
  125. package/docs/functions/vue.useFiveAction.html +10 -10
  126. package/docs/functions/vue.useFiveCameraDirection.html +3 -3
  127. package/docs/functions/vue.useFiveCameraRaycaster.html +3 -3
  128. package/docs/functions/vue.useFiveCurrentObserver.html +4 -4
  129. package/docs/functions/vue.useFiveCurrentState.html +4 -4
  130. package/docs/functions/vue.useFiveEventCallback.html +3 -3
  131. package/docs/functions/vue.useFiveFloor.html +4 -4
  132. package/docs/functions/vue.useFiveHelper.html +4 -4
  133. package/docs/functions/vue.useFiveModel.html +2 -2
  134. package/docs/functions/vue.useFiveModelBounding.html +2 -2
  135. package/docs/functions/vue.useFiveModelIntersectRaycaster.html +4 -4
  136. package/docs/functions/vue.useFiveModelReadyState.html +3 -3
  137. package/docs/functions/vue.useFiveProject2d.html +4 -4
  138. package/docs/functions/vue.useFiveScene.html +2 -2
  139. package/docs/functions/vue.useFiveState.html +4 -4
  140. package/docs/functions/vue.useFiveWorks.html +5 -5
  141. package/docs/hierarchy.html +1 -1
  142. package/docs/index.html +17 -17
  143. package/docs/interfaces/five.AddableObject.html +9 -9
  144. package/docs/interfaces/five.AjaxOptions.html +9 -9
  145. package/docs/interfaces/five.AnimationFrame.html +5 -5
  146. package/docs/interfaces/five.AnimationFrameContext.html +3 -3
  147. package/docs/interfaces/five.BaseEvent.html +5 -5
  148. package/docs/interfaces/five.BoundingVolume.html +15 -15
  149. package/docs/interfaces/five.BoxBoundingVolume.html +18 -0
  150. package/docs/interfaces/five.CameraPose.html +6 -6
  151. package/docs/interfaces/five.CullingVolume.html +9 -0
  152. package/docs/interfaces/five.Draco.html +12 -0
  153. package/docs/interfaces/five.EventCallback.html +255 -255
  154. package/docs/interfaces/five.FiveInitArgs.html +85 -85
  155. package/docs/interfaces/five.FiveLoadOptions.html +13 -13
  156. package/docs/interfaces/five.FloorplanControllerCustomInitArgs.html +17 -17
  157. package/docs/interfaces/five.GestureEvent.html +19 -19
  158. package/docs/interfaces/five.ImageOptions.html +14 -14
  159. package/docs/interfaces/five.ImageURLMappings.html +1 -1
  160. package/docs/interfaces/five.ImageURLOptions.html +15 -15
  161. package/docs/interfaces/five.IntersectEvent.html +8 -8
  162. package/docs/interfaces/five.IntersectMesh.html +2 -0
  163. package/docs/interfaces/five.IntersectMeshInterface.html +3 -3
  164. package/docs/interfaces/five.Intersection.html +6 -5
  165. package/docs/interfaces/five.KTX2.html +9 -0
  166. package/docs/interfaces/five.LoosePanoWork.html +10 -10
  167. package/docs/interfaces/five.LooseWork.html +15 -15
  168. package/docs/interfaces/five.LooseWorkInitial.html +11 -11
  169. package/docs/interfaces/five.LooseWorkModel.html +6 -6
  170. package/docs/interfaces/five.LooseWorkObserver.html +16 -16
  171. package/docs/interfaces/five.LooseWorkPanorama.html +13 -13
  172. package/docs/interfaces/five.LooseWorkVideo.html +4 -4
  173. package/docs/interfaces/five.LooseWorkWithExtrinsics.html +13 -13
  174. package/docs/interfaces/five.MapviewControllerCustomInitArgs.html +17 -17
  175. package/docs/interfaces/five.ModeChangeEvent.html +9 -9
  176. package/docs/interfaces/five.ModelControllerCustomInitArgs.html +18 -18
  177. package/docs/interfaces/five.ModelEvent.html +8 -8
  178. package/docs/interfaces/five.ModelLike.html +3 -3
  179. package/docs/interfaces/five.ModelSceneEvent.html +6 -6
  180. package/docs/interfaces/five.MotionKeyframe.html +4 -4
  181. package/docs/interfaces/five.MovePanoOptions.html +24 -24
  182. package/docs/interfaces/five.NetworkAbortError.html +1 -0
  183. package/docs/interfaces/five.NetworkFirbiddenError.html +1 -0
  184. package/docs/interfaces/five.NetworkOptions.html +7 -7
  185. package/docs/interfaces/five.NetworkProxyError.html +1 -0
  186. package/docs/interfaces/five.NetworkResourceEvent.html +9 -9
  187. package/docs/interfaces/five.NetworkResponseError.html +2 -0
  188. package/docs/interfaces/five.NetworkTimeoutError.html +1 -0
  189. package/docs/interfaces/five.ObjectEvent.html +6 -6
  190. package/docs/interfaces/five.PBMClipperParameter.html +3 -3
  191. package/docs/interfaces/five.PBMCustomShaderInitArgs.html +6 -6
  192. package/docs/interfaces/five.PBMCustomShaderSlots.html +3 -3
  193. package/docs/interfaces/five.PBMMaterial.html +1 -0
  194. package/docs/interfaces/five.PBMMeshMaterialParameters.html +28 -28
  195. package/docs/interfaces/five.PBMPanoDepth.html +9 -9
  196. package/docs/interfaces/five.PBMPanoPicture.html +11 -11
  197. package/docs/interfaces/five.PBMPointCloudMaterialParameters.html +28 -28
  198. package/docs/interfaces/five.PBMRefinedScreen.html +6 -6
  199. package/docs/interfaces/five.PanoCircleMeshCustomOptions.html +9 -9
  200. package/docs/interfaces/five.PanoCircleMeshInterface.html +20 -20
  201. package/docs/interfaces/five.PanoCircleMeshOptions.html +3 -3
  202. package/docs/interfaces/five.PanoCircleMeshSolidOptions.html +3 -3
  203. package/docs/interfaces/five.PanoEvent.html +11 -11
  204. package/docs/interfaces/five.PanoTextureEvent.html +9 -9
  205. package/docs/interfaces/five.PanoramaControllerCustomInitArgs.html +38 -38
  206. package/docs/interfaces/five.PanoramaLikeControllerCustomInitArgs.html +18 -18
  207. package/docs/interfaces/five.ParameterMaterialValue.html +73 -73
  208. package/docs/interfaces/five.ParameterTilesetValue.html +31 -31
  209. package/docs/interfaces/five.ParameterValue.html +103 -103
  210. package/docs/interfaces/five.Pose.html +13 -13
  211. package/docs/interfaces/five.RegionBoundingVolume.html +21 -0
  212. package/docs/interfaces/five.RenderEvent.html +6 -6
  213. package/docs/interfaces/five.ResolvedParameterValue.html +105 -105
  214. package/docs/interfaces/five.SphereBoundingVolume.html +17 -0
  215. package/docs/interfaces/five.State.html +19 -19
  216. package/docs/interfaces/five.StateEvent.html +7 -7
  217. package/docs/interfaces/five.TextureOptions.html +16 -16
  218. package/docs/interfaces/five.Tile3DModelLoaderOptions.html +12 -12
  219. package/docs/interfaces/five.TileHeader.html +9 -9
  220. package/docs/interfaces/five.TilesetHeader.html +20 -20
  221. package/docs/interfaces/five.TilesetOptions.html +12 -12
  222. package/docs/interfaces/five.TopviewControllerCustomInitArgs.html +9 -9
  223. package/docs/interfaces/five.TrajectoryHeader.html +5 -5
  224. package/docs/interfaces/five.VRPanoramaControllerCustomInitArgs.html +34 -34
  225. package/docs/interfaces/five.ViewLayer.html +90 -90
  226. package/docs/interfaces/five.Viewport.html +11 -11
  227. package/docs/interfaces/five.WebXRAxesParams.html +4 -4
  228. package/docs/interfaces/five.WebXRControllerParams.html +2 -2
  229. package/docs/interfaces/five.WorkCubeImage.html +8 -8
  230. package/docs/interfaces/five.WorkImage.html +13 -13
  231. package/docs/interfaces/five.WorkInitial.html +17 -17
  232. package/docs/interfaces/five.WorkInitialJson.html +8 -8
  233. package/docs/interfaces/five.WorkJson.html +12 -12
  234. package/docs/interfaces/five.WorkModel.html +12 -12
  235. package/docs/interfaces/five.WorkModelJson.html +5 -5
  236. package/docs/interfaces/five.WorkModelLayer.html +6 -6
  237. package/docs/interfaces/five.WorkModelLayerJson.html +5 -5
  238. package/docs/interfaces/five.WorkObserver.html +34 -34
  239. package/docs/interfaces/five.WorkObserverJson.html +8 -8
  240. package/docs/interfaces/five.WorkPanoramaJson.html +14 -14
  241. package/docs/interfaces/five.WorkPanoramasJson.html +3 -3
  242. package/docs/interfaces/five.WorkTile.html +14 -14
  243. package/docs/interfaces/five.WorkVideo.html +9 -9
  244. package/docs/interfaces/five.WorksEvent.html +9 -9
  245. package/docs/interfaces/five.XRControllerEvent.html +8 -8
  246. package/docs/interfaces/five.XRGestureEvent.html +11 -11
  247. package/docs/interfaces/five.XRPanoramaControllerCustomInitArgs.html +34 -34
  248. package/docs/interfaces/five.XRSessionEvent.html +7 -7
  249. package/docs/interfaces/gltf-loader.DDS.html +7 -0
  250. package/docs/interfaces/gltf-loader.GLTF.html +13 -0
  251. package/docs/interfaces/gltf-loader.GLTFReference.html +3 -0
  252. package/docs/interfaces/gltf-loader.THREEGLTF.html +8 -0
  253. package/docs/interfaces/plugins.BackgroundPluginController.html +37 -0
  254. package/docs/interfaces/plugins.BackgroundPluginType.Config.html +1 -0
  255. package/docs/interfaces/plugins.BackgroundPluginType.EventMap.html +20 -0
  256. package/docs/interfaces/plugins.BackgroundPluginType.Params.html +3 -0
  257. package/docs/interfaces/plugins.BackgroundPluginType.PluginDataItem.html +1 -0
  258. package/docs/interfaces/plugins.BasePlugin.BaseOptions.html +3 -0
  259. package/docs/interfaces/plugins.BasePlugin.Config.html +5 -0
  260. package/docs/interfaces/plugins.BasePlugin.State.html +8 -0
  261. package/docs/interfaces/plugins.BasePlugin.StateChangeParams.html +7 -0
  262. package/docs/interfaces/plugins.ItemMaskController.html +35 -0
  263. package/docs/interfaces/plugins.ItemMaskPluginType.Config.html +2 -0
  264. package/docs/interfaces/plugins.ItemMaskPluginType.EventMap.html +10 -0
  265. package/docs/interfaces/plugins.ItemMaskPluginType.ItemType.html +13 -0
  266. package/docs/interfaces/plugins.ItemMaskPluginType.MaskType.html +4 -0
  267. package/docs/interfaces/plugins.ItemMaskPluginType.Params.html +4 -0
  268. package/docs/interfaces/plugins.ItemMaskPluginType.State.html +14 -0
  269. package/docs/interfaces/plugins.Keyframe.html +3 -0
  270. package/docs/interfaces/plugins.OrientationPluginController.html +46 -0
  271. package/docs/interfaces/plugins.OrientationPluginType.Config.html +4 -0
  272. package/docs/interfaces/plugins.OrientationPluginType.EventMap.html +10 -0
  273. package/docs/interfaces/plugins.OrientationPluginType.Params.html +4 -0
  274. package/docs/interfaces/plugins.OrientationPluginType.State.html +10 -0
  275. package/docs/interfaces/plugins.PanoAnimeController.html +32 -0
  276. package/docs/interfaces/plugins.PanoAnimePluginType.Config.html +2 -0
  277. package/docs/interfaces/plugins.PanoAnimePluginType.EventMap.html +11 -0
  278. package/docs/interfaces/plugins.PanoAnimePluginType.Params.html +4 -0
  279. package/docs/interfaces/plugins.PanoAnimePluginType.State.html +8 -0
  280. package/docs/interfaces/plugins.PlayingState.html +3 -0
  281. package/docs/interfaces/plugins.PluginTemplateType.Config.html +3 -0
  282. package/docs/interfaces/plugins.PluginTemplateType.EventMap.html +10 -0
  283. package/docs/interfaces/plugins.PluginTemplateType.Params.html +4 -0
  284. package/docs/interfaces/plugins.PluginTemplateType.State.html +8 -0
  285. package/docs/interfaces/plugins.TrajectoryController.html +50 -0
  286. package/docs/interfaces/react.FiveActionReactCallbacks.html +27 -27
  287. package/docs/interfaces/react.FiveCanvasProps.html +5 -5
  288. package/docs/interfaces/react.FiveInjectionTypes.html +153 -146
  289. package/docs/interfaces/react.PropTypeOfFiveFeatures.html +2 -2
  290. package/docs/interfaces/sticker.IntersectionLike.html +7 -7
  291. package/docs/interfaces/vfx.ParticleArgs.html +67 -67
  292. package/docs/interfaces/vfx.ParticleGPUArgs.html +60 -0
  293. package/docs/interfaces/vfx.ParticleGPUTweenKeyframe.html +3 -0
  294. package/docs/interfaces/vfx.ParticleTweenKeyframe.html +3 -3
  295. package/docs/interfaces/vue.FiveActionVueCallbacks.html +30 -30
  296. package/docs/modules/five.html +1 -232
  297. package/docs/modules/gltf-loader.html +1 -0
  298. package/docs/modules/line.html +1 -8
  299. package/docs/modules/plugins.BackgroundPluginType.html +1 -0
  300. package/docs/modules/plugins.BasePlugin.html +1 -0
  301. package/docs/modules/plugins.ItemMaskPluginType.html +1 -0
  302. package/docs/modules/plugins.OrientationPluginType.html +1 -0
  303. package/docs/modules/plugins.PanoAnimePluginType.html +1 -0
  304. package/docs/modules/plugins.PluginTemplateType.html +1 -0
  305. package/docs/modules/plugins.html +1 -0
  306. package/docs/modules/react.html +1 -37
  307. package/docs/modules/sticker.html +1 -3
  308. package/docs/modules/vfx.html +1 -8
  309. package/docs/modules/vue.html +1 -24
  310. package/docs/modules.html +1 -0
  311. package/docs/types/five.AjaxResponseType.html +1 -1
  312. package/docs/types/five.AjaxResponseTypeMapping.html +1 -1
  313. package/docs/types/five.AnimationFrameLoopType.html +1 -1
  314. package/docs/types/five.BoundingVolumeJson.html +1 -1
  315. package/docs/types/five.BoxBoundingVolumeJson.html +2 -1
  316. package/docs/types/five.ControllerCustomInitTypes.html +8 -1
  317. package/docs/types/five.ControllerEventTypes.html +66 -33
  318. package/docs/types/five.CubeFace.html +1 -1
  319. package/docs/types/five.EventTypes.html +26 -26
  320. package/docs/types/five.FivePlugin.html +4 -4
  321. package/docs/types/five.FivePluginInit.html +3 -3
  322. package/docs/types/five.FivePluginInstance.html +3 -3
  323. package/docs/types/five.GestureTypes.html +1 -1
  324. package/docs/types/five.LegacyEventType.html +149 -86
  325. package/docs/types/five.LoadResultType.html +12 -1
  326. package/docs/types/five.Mode.html +9 -9
  327. package/docs/types/five.Models.html +11 -11
  328. package/docs/types/five.MotionCircle.html +2 -2
  329. package/docs/types/five.MotionConfig.html +1 -1
  330. package/docs/types/five.MotionInitalValue.html +1 -1
  331. package/docs/types/five.MotionValue.html +1 -1
  332. package/docs/types/five.MovePanoEffect.html +3 -3
  333. package/docs/types/five.NetWorkMeta.html +8 -1
  334. package/docs/types/five.NetworkError.html +1 -1
  335. package/docs/types/five.NetworkErrorCallback.html +1 -1
  336. package/docs/types/five.NetworkProgressCallback.html +1 -1
  337. package/docs/types/five.NetworkResponse.html +3 -1
  338. package/docs/types/five.NetworkState.html +1 -1
  339. package/docs/types/five.NetworkSuccessCallback.html +1 -1
  340. package/docs/types/five.NetworkType.html +1 -1
  341. package/docs/types/five.PBMAlphaMode.html +1 -1
  342. package/docs/types/five.PBMColorStyle.html +1 -1
  343. package/docs/types/five.PBMFloorStyle.html +1 -1
  344. package/docs/types/five.PBMMeshShaderType.html +1 -1
  345. package/docs/types/five.PBMPointBack.html +1 -1
  346. package/docs/types/five.PBMPointCloudShaderType.html +1 -1
  347. package/docs/types/five.PBMPointShape.html +1 -1
  348. package/docs/types/five.PBMPointSize.html +1 -1
  349. package/docs/types/five.PBMTransition.html +1 -1
  350. package/docs/types/five.Pano.html +3 -1
  351. package/docs/types/five.PanoId.html +1 -1
  352. package/docs/types/five.ParseOptions.html +11 -6
  353. package/docs/types/five.PostProcessingType.html +1 -1
  354. package/docs/types/five.RegionBoundingVolumeJson.html +2 -1
  355. package/docs/types/five.Scissor.html +2 -2
  356. package/docs/types/five.SphereBoundingVolumeJson.html +2 -1
  357. package/docs/types/five.SubscribeEventMap.html +1 -1
  358. package/docs/types/five.Tile3dOptions.html +1 -1
  359. package/docs/types/five.TileCacheOptions.html +3 -1
  360. package/docs/types/five.TileContentData.html +6 -1
  361. package/docs/types/five.TileRequestOrder.html +1 -1
  362. package/docs/types/five.TileRequestSchedulerOptions.html +4 -1
  363. package/docs/types/five.TilesetFrameState.html +22 -1
  364. package/docs/types/five.TrajectoryContentData.html +7 -1
  365. package/docs/types/five.WebXRControllerKey.html +1 -1
  366. package/docs/types/five.WebXRControllerType.html +1 -1
  367. package/docs/types/five.Works.html +1 -1
  368. package/docs/types/line.LineMaterialParameters.html +8 -1
  369. package/docs/types/plugins.BackgroundPluginType.Mirror.html +1 -0
  370. package/docs/types/plugins.BackgroundPluginType.Mode.html +1 -0
  371. package/docs/types/plugins.BackgroundPluginType.PluginData.html +1 -0
  372. package/docs/types/plugins.BackgroundPluginType.State.html +2 -0
  373. package/docs/types/plugins.BasePlugin.EventMap.html +10 -0
  374. package/docs/types/plugins.ItemMaskPluginType.PluginData.html +3 -0
  375. package/docs/types/plugins.ItemMaskPluginType.ServerData.html +3 -0
  376. package/docs/types/plugins.OrientationPluginType.PluginData.html +1 -0
  377. package/docs/types/plugins.OrientationPluginType.ServerData.html +1 -0
  378. package/docs/types/plugins.PanoAnimePluginType.PluginData.html +1 -0
  379. package/docs/types/plugins.PanoAnimePluginType.ServerData.html +1 -0
  380. package/docs/types/plugins.PluginTemplateType.PluginData.html +1 -0
  381. package/docs/types/plugins.PluginTemplateType.ServerData.html +2 -0
  382. package/docs/types/react.FiveInjectionActionFeature.html +1 -1
  383. package/docs/types/react.FiveInjectionDataFeature.html +1 -1
  384. package/docs/types/react.FiveInjectionFeature.html +1 -1
  385. package/docs/types/react.FiveProviderPropTypes.html +11 -1
  386. package/docs/types/react.FiveProviderType.html +1 -1
  387. package/docs/types/react.StoreActionMapHanlder.html +1 -1
  388. package/docs/types/react.StoreActionMapType.html +1 -1
  389. package/docs/types/react.StoreProviderType.html +1 -1
  390. package/docs/types/react.StoreValueMapType.html +1 -1
  391. package/docs/types/vfx.ParticleGPUType.html +1 -0
  392. package/docs/types/vfx.ParticleType.html +1 -1
  393. package/docs/types/vue.FiveModelIntersectRaycaster.html +1 -1
  394. package/docs/types/vue.FiveProviderComponent.html +1 -1
  395. package/docs/types/vue.Project2d.html +1 -1
  396. package/docs/variables/five.PROXY_CONTROLLER_EVENT_NAMES.html +1 -1
  397. package/docs/variables/five.controllersDefaultInitArgs.html +1 -1
  398. package/docs/variables/five.draco.html +1 -0
  399. package/docs/variables/five.ktx2.html +1 -0
  400. package/docs/variables/react.FiveCanvas.html +6 -0
  401. package/docs/variables/react.INJECTION_PROPNAME.html +1 -1
  402. package/docs/variables/react.useFiveScene.html +7 -0
  403. package/docs/variables/vue.FiveCanvas.html +7 -7
  404. package/docs/variables/vue.FiveProvider.html +5 -5
  405. package/five/index.d.ts +44 -13
  406. package/five/index.js +94 -92
  407. package/five/index.mjs +6436 -6366
  408. package/gltf-loader/index.js +5 -5
  409. package/gltf-loader/index.mjs +160 -172
  410. package/line/index.js +4 -4
  411. package/line/index.mjs +15 -15
  412. package/package.json +4 -7
  413. package/plugins/index.js +10 -10
  414. package/plugins/index.mjs +42 -42
  415. package/react/index.d.ts +46 -37
  416. package/react/index.js +3 -3
  417. package/react/index.mjs +8 -8
  418. package/shader-lib/index.js +7 -7
  419. package/shader-lib/index.mjs +14 -14
  420. package/sticker/index.js +3 -3
  421. package/sticker/index.mjs +9 -9
  422. package/umd/five-gltf-loader.js +5 -5
  423. package/umd/five-line.js +4 -4
  424. package/umd/five-plugins.js +10 -10
  425. package/umd/five-react.js +3 -3
  426. package/umd/five-shader-lib.js +8 -8
  427. package/umd/five-sticker.js +3 -3
  428. package/umd/five-vfx.js +126 -19
  429. package/umd/five-vue.js +3 -3
  430. package/umd/five.js +95 -93
  431. package/vfx/index.d.ts +99 -0
  432. package/vfx/index.js +126 -19
  433. package/vfx/index.mjs +335 -129
  434. package/vue/index.js +2 -2
  435. package/vue/index.mjs +2 -2
  436. package/work-downloader/index.js +3 -3
  437. package/work-downloader/index.mjs +91 -84
  438. package/docs/classes/five.BoxBoundingVolume.html +0 -19
  439. package/docs/classes/five.CullingVolume.html +0 -13
  440. package/docs/classes/five.Draco.html +0 -13
  441. package/docs/classes/five.IntersectMesh.html +0 -4
  442. package/docs/classes/five.KTX2.html +0 -10
  443. package/docs/classes/five.NetworkAbortError.html +0 -2
  444. package/docs/classes/five.NetworkFirbiddenError.html +0 -2
  445. package/docs/classes/five.NetworkProxyError.html +0 -2
  446. package/docs/classes/five.NetworkResponseError.html +0 -3
  447. package/docs/classes/five.NetworkTimeoutError.html +0 -2
  448. package/docs/classes/five.PBMMaterial.html +0 -2
  449. package/docs/classes/five.RegionBoundingVolume.html +0 -22
  450. package/docs/classes/five.SphereBoundingVolume.html +0 -18
  451. package/docs/classes/gltf_loader.DDSLoader.html +0 -3
  452. package/docs/classes/gltf_loader.DRACOLoader.html +0 -8
  453. package/docs/classes/gltf_loader.GLTFLoader.html +0 -19
  454. package/docs/classes/gltf_loader.GLTFObject.html +0 -9
  455. package/docs/classes/gltf_loader.GLTFParser.html +0 -6
  456. package/docs/classes/gltf_loader.THREEGLTFLoader.html +0 -8
  457. package/docs/classes/plugins-1.BackgroundPluginController.html +0 -38
  458. package/docs/classes/plugins-1.BasePlugin.Controller.html +0 -39
  459. package/docs/classes/plugins-1.CSS3DRenderer.html +0 -6
  460. package/docs/classes/plugins-1.ItemMaskController.html +0 -36
  461. package/docs/classes/plugins-1.OrbitControls.html +0 -41
  462. package/docs/classes/plugins-1.OrientationPluginController.html +0 -47
  463. package/docs/classes/plugins-1.PanoAnimeController.html +0 -33
  464. package/docs/classes/plugins-1.RoundedBoxGeometry.html +0 -3
  465. package/docs/classes/plugins-1.TrajectoryController.html +0 -51
  466. package/docs/documents/react_component.html +0 -32
  467. package/docs/enums/plugins-1.BackgroundPluginType.WarningCodeType.html +0 -2
  468. package/docs/functions/plugins-1.BackgroundPlugin.html +0 -1
  469. package/docs/functions/plugins-1.ItemMaskPlugin.html +0 -1
  470. package/docs/functions/plugins-1.OrientationPlugin.html +0 -1
  471. package/docs/functions/plugins-1.PanoAnimePlugin.html +0 -1
  472. package/docs/functions/plugins-1.TrajectoryPlugin.html +0 -1
  473. package/docs/functions/react.FiveCanvas.html +0 -6
  474. package/docs/functions/react.useFiveScene.html +0 -7
  475. package/docs/interfaces/gltf_loader.DDS.html +0 -7
  476. package/docs/interfaces/gltf_loader.GLTF.html +0 -13
  477. package/docs/interfaces/gltf_loader.GLTFReference.html +0 -3
  478. package/docs/interfaces/gltf_loader.THREEGLTF.html +0 -8
  479. package/docs/interfaces/plugins-1.BackgroundPluginType.Config.html +0 -1
  480. package/docs/interfaces/plugins-1.BackgroundPluginType.EventMap.html +0 -20
  481. package/docs/interfaces/plugins-1.BackgroundPluginType.Params.html +0 -3
  482. package/docs/interfaces/plugins-1.BackgroundPluginType.PluginDataItem.html +0 -1
  483. package/docs/interfaces/plugins-1.BasePlugin.BaseOptions.html +0 -3
  484. package/docs/interfaces/plugins-1.BasePlugin.Config.html +0 -5
  485. package/docs/interfaces/plugins-1.BasePlugin.State.html +0 -8
  486. package/docs/interfaces/plugins-1.BasePlugin.StateChangeParams.html +0 -7
  487. package/docs/interfaces/plugins-1.ItemMaskPluginType.Config.html +0 -2
  488. package/docs/interfaces/plugins-1.ItemMaskPluginType.EventMap.html +0 -10
  489. package/docs/interfaces/plugins-1.ItemMaskPluginType.ItemType.html +0 -13
  490. package/docs/interfaces/plugins-1.ItemMaskPluginType.MaskType.html +0 -4
  491. package/docs/interfaces/plugins-1.ItemMaskPluginType.Params.html +0 -4
  492. package/docs/interfaces/plugins-1.ItemMaskPluginType.State.html +0 -14
  493. package/docs/interfaces/plugins-1.Keyframe.html +0 -3
  494. package/docs/interfaces/plugins-1.OrientationPluginType.Config.html +0 -4
  495. package/docs/interfaces/plugins-1.OrientationPluginType.EventMap.html +0 -10
  496. package/docs/interfaces/plugins-1.OrientationPluginType.Params.html +0 -4
  497. package/docs/interfaces/plugins-1.OrientationPluginType.State.html +0 -10
  498. package/docs/interfaces/plugins-1.PanoAnimePluginType.Config.html +0 -2
  499. package/docs/interfaces/plugins-1.PanoAnimePluginType.EventMap.html +0 -11
  500. package/docs/interfaces/plugins-1.PanoAnimePluginType.Params.html +0 -4
  501. package/docs/interfaces/plugins-1.PanoAnimePluginType.State.html +0 -8
  502. package/docs/interfaces/plugins-1.PlayingState.html +0 -3
  503. package/docs/interfaces/plugins-1.PluginTemplateType.Config.html +0 -3
  504. package/docs/interfaces/plugins-1.PluginTemplateType.EventMap.html +0 -10
  505. package/docs/interfaces/plugins-1.PluginTemplateType.Params.html +0 -4
  506. package/docs/interfaces/plugins-1.PluginTemplateType.State.html +0 -8
  507. package/docs/modules/gltf_loader.html +0 -11
  508. package/docs/modules/plugins-1.BackgroundPluginType.html +0 -10
  509. package/docs/modules/plugins-1.BasePlugin.html +0 -7
  510. package/docs/modules/plugins-1.ItemMaskPluginType.html +0 -9
  511. package/docs/modules/plugins-1.OrientationPluginType.html +0 -7
  512. package/docs/modules/plugins-1.PanoAnimePluginType.html +0 -7
  513. package/docs/modules/plugins-1.PluginTemplateType.html +0 -7
  514. package/docs/modules/plugins-1.html +0 -22
  515. package/docs/types/plugins-1.BackgroundPluginType.Mirror.html +0 -1
  516. package/docs/types/plugins-1.BackgroundPluginType.Mode.html +0 -1
  517. package/docs/types/plugins-1.BackgroundPluginType.PluginData.html +0 -1
  518. package/docs/types/plugins-1.BackgroundPluginType.State.html +0 -1
  519. package/docs/types/plugins-1.BasePlugin.EventMap.html +0 -6
  520. package/docs/types/plugins-1.ItemMaskPluginType.PluginData.html +0 -1
  521. package/docs/types/plugins-1.ItemMaskPluginType.ServerData.html +0 -1
  522. package/docs/types/plugins-1.OrientationPluginType.PluginData.html +0 -1
  523. package/docs/types/plugins-1.OrientationPluginType.ServerData.html +0 -1
  524. package/docs/types/plugins-1.PanoAnimePluginType.PluginData.html +0 -1
  525. package/docs/types/plugins-1.PanoAnimePluginType.ServerData.html +0 -1
  526. package/docs/types/plugins-1.PluginTemplateType.PluginData.html +0 -1
  527. package/docs/types/plugins-1.PluginTemplateType.ServerData.html +0 -1
  528. package/docs/variables/five.draco-1.html +0 -1
  529. package/docs/variables/five.ktx2-1.html +0 -1
@@ -1,9 +1,9 @@
1
- <!DOCTYPE html><html class="default" lang="en"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>FiveProvider | 如视 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></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视 Five SDK</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../index.html">如视 Five SDK</a></li><li><a href="../modules/vue.html">vue</a></li><li><a href="vue.FiveProvider.html">FiveProvider</a></li></ul><h1>Variable FiveProvider<code class="tsd-tag">Const</code></h1></div><div class="tsd-signature"><span class="tsd-kind-variable">Five<wbr/>Provider</span><span class="tsd-signature-symbol">:</span> <a href="../types/vue.FiveProviderComponent.html" class="tsd-signature-type tsd-kind-type-alias">FiveProviderComponent</a><span class="tsd-signature-symbol"> = ...</span></div><div class="tsd-comment tsd-typography"><p>Five 实例化Five 组件</p>
1
+ <!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>FiveProvider | 如视 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/vue.html">vue</a></li><li><a href="" aria-current="page">FiveProvider</a></li></ul><h1>Variable FiveProvider<code class="tsd-tag">Const</code></h1></div><div class="tsd-signature"><span class="tsd-kind-variable">FiveProvider</span><span class="tsd-signature-symbol">:</span> <a href="../types/vue.FiveProviderComponent.html" class="tsd-signature-type tsd-kind-type-alias">FiveProviderComponent</a><span class="tsd-signature-symbol"> = ...</span></div><div class="tsd-comment tsd-typography"><p>Five 实例化Five 组件</p>
2
2
  <p>在 FiveProvider 下,可以使用 FiveCanvas 来创建渲染画布。
3
3
  以及使用 useFiveState useFiveEventCallback等 Five Vue Composition API 来对 FiveProvider 进行操作</p>
4
- </div><div class="tsd-comment tsd-typography"><h4 class="tsd-anchor-link"><a id="Description" class="tsd-anchor"></a>Description<a href="#Description" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>Five 创建Five实例的组件</p>
5
- <h4 class="tsd-anchor-link"><a id="Param: FiveProviderComponent" class="tsd-anchor"></a>Param: FiveProviderComponent<a href="#Param: FiveProviderComponent" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>Five 参数</p>
6
- <h4 class="tsd-anchor-link"><a id="Example" class="tsd-anchor"></a>Example<a href="#Example" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><pre><code class="typescript"><span class="hl-1">&lt;</span><span class="hl-15">FiveProvider</span><span class="hl-1"> :</span><span class="hl-4">initialWork</span><span class="hl-1">=</span><span class="hl-2">&quot;work&quot;</span><span class="hl-1">&gt;</span><br/><span class="hl-1"> &lt;</span><span class="hl-4">FiveCanvas</span><span class="hl-1"> </span><span class="hl-4">width</span><span class="hl-1">=</span><span class="hl-2">&quot;512&quot;</span><span class="hl-1"> </span><span class="hl-4">height</span><span class="hl-1">=</span><span class="hl-2">&quot;512&quot;</span><span class="hl-1">/&gt;</span><br/><span class="hl-1">&lt;/</span><span class="hl-4">FiveProvider</span><span class="hl-1">&gt;</span>
4
+ </div><div class="tsd-comment tsd-typography"><div class="tsd-tag-description"><h4 class="tsd-anchor-link" id="description">Description<a href="#description" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>Five 创建Five实例的组件</p>
5
+ </div><div class="tsd-tag-param"><h4 class="tsd-anchor-link" id="param-fiveprovidercomponent">Param: FiveProviderComponent<a href="#param-fiveprovidercomponent" 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>Five 参数</p>
6
+ </div><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 class="typescript"><span class="hl-1">&lt;</span><span class="hl-15">FiveProvider</span><span class="hl-1"> :</span><span class="hl-4">initialWork</span><span class="hl-1">=</span><span class="hl-2">&quot;work&quot;</span><span class="hl-1">&gt;</span><br/><span class="hl-1"> &lt;</span><span class="hl-4">FiveCanvas</span><span class="hl-1"> </span><span class="hl-4">width</span><span class="hl-1">=</span><span class="hl-2">&quot;512&quot;</span><span class="hl-1"> </span><span class="hl-4">height</span><span class="hl-1">=</span><span class="hl-2">&quot;512&quot;</span><span class="hl-1">/&gt;</span><br/><span class="hl-1">&lt;/</span><span class="hl-4">FiveProvider</span><span class="hl-1">&gt;</span>
7
7
  </code><button type="button">Copy</button></pre>
8
8
 
9
- </div><aside class="tsd-sources"><ul><li>Defined in lib/vue/hooks/FiveProvider.ts:70</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"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>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="../index.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>如视 Five SDK</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><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>
9
+ </div></div><aside class="tsd-sources"><ul><li>Defined in lib/vue/hooks/FiveProvider.ts:70</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>
package/five/index.d.ts CHANGED
@@ -83,7 +83,7 @@ export declare interface BoundingVolume {
83
83
  distanceToPoint(point: THREE_2.Vector3): number;
84
84
  distanceToPlane(plane: THREE_2.Plane): number;
85
85
  intersectPlane(plane: THREE_2.Plane): VolumePlaneIntersect;
86
- intersectRay(ray: THREE_2.Ray, far?: number): boolean;
86
+ intersectRay(ray: THREE_2.Ray, threshold?: number, far?: number): boolean;
87
87
  clone(): BoundingVolume;
88
88
  copy(boundingVolume: this): this;
89
89
  fromJson(json: any): this;
@@ -110,7 +110,7 @@ export declare class BoxBoundingVolume implements BoundingVolume {
110
110
  getBoundingBox(target: THREE_2.Box3): THREE_2.Box3;
111
111
  toGeometry(): THREE_2.BufferGeometry;
112
112
  intersectPlane(plane: THREE_2.Plane): VolumePlaneIntersect;
113
- intersectRay(ray: THREE_2.Ray, far?: number): boolean;
113
+ intersectRay(ray: THREE_2.Ray, threshold?: number, far?: number): boolean;
114
114
  }
115
115
 
116
116
  export declare type BoxBoundingVolumeJson = {
@@ -260,6 +260,12 @@ export declare const controllersDefaultInitArgs: {
260
260
  XRPanorama: Required<XRPanoramaControllerCustomInitArgs>;
261
261
  };
262
262
 
263
+ /** 坐标转换成单位向量 */
264
+ export declare function coordinatesToVector(coordinates: {
265
+ longitude: number;
266
+ latitude: number;
267
+ }, target?: THREE_2.Vector3): THREE_2.Vector3;
268
+
263
269
  export declare function createDebugBoundingMesh(boundingVolume: BoundingVolume, level?: number): THREE_2.LineSegments<THREE_2.BufferGeometry, THREE_2.LineBasicMaterial> | null;
264
270
 
265
271
  export declare function createWorks(workArray: Work[]): Works;
@@ -585,7 +591,7 @@ export declare class Five extends Subscribe<EventTypes> {
585
591
  set helperVisible(visible: boolean);
586
592
  private getBuiltinRenderer;
587
593
  get renderEffect(): 'default' | 'edl' | 'hq' | 'luminance';
588
- set renderEffect(value: 'default' | 'edl' | 'hq' | 'luminance');
594
+ set renderEffect(value: "default" | "edl" | "hq" | "luminance");
589
595
  updateConfiguration(args: Pick<FiveInitArgs, "panorama" | "model" | "floorplan" | "topview" | "mapview" | "vrPanorama" | "imageOptions" | "textureOptions">, refresh?: boolean): void;
590
596
  /**
591
597
  * 将显示区域加载到页面 DOM 中
@@ -1143,6 +1149,16 @@ export declare type GestureTypes = "pan" | "tap" | "dbltap" | "pinch" | "press"
1143
1149
 
1144
1150
  export declare function getViewportScale(): number;
1145
1151
 
1152
+ /**
1153
+ * 通过 heading 计算 longitude
1154
+ *
1155
+ * @deprecated
1156
+ * 不再使用 heading 这种计算方式。
1157
+ *
1158
+ * @param heading - 方向
1159
+ */
1160
+ export declare function headingToLongitude(heading: number): number;
1161
+
1146
1162
  /**
1147
1163
  * 图片参数
1148
1164
  */
@@ -1221,6 +1237,7 @@ export declare interface IntersectEvent extends BaseEvent {
1221
1237
  export declare interface Intersection extends THREE_2.Intersection {
1222
1238
  /** 楼层 */
1223
1239
  floor: number;
1240
+ floorIndex: number;
1224
1241
  model?: Model;
1225
1242
  viewLayer?: ViewLayer;
1226
1243
  }
@@ -1781,6 +1798,16 @@ export declare function loadX3p(url: string, options?: {
1781
1798
  fetcher?: Fetcher;
1782
1799
  }): Promise<LoadResultType>;
1783
1800
 
1801
+ /**
1802
+ * 通过经度计算 Heading, Heading 是个古老的参数,新的工程中请不要使用了
1803
+ *
1804
+ * @deprecated
1805
+ * 不再使用 heading 这种计算方式。
1806
+ *
1807
+ * @param longitude - 经度
1808
+ */
1809
+ export declare function longitudeToHeading(longitude: number): number;
1810
+
1784
1811
  export declare interface LoosePanoWork {
1785
1812
  name?: string;
1786
1813
  code?: string;
@@ -2041,11 +2068,10 @@ export declare class Model extends THREE_2.Object3D {
2041
2068
  /**
2042
2069
  * 计算模型射线碰撞检测
2043
2070
  * @param raycaster - THREE 射线对象
2044
- * @param filterFloorIndex - 和某一楼层做碰撞检测, 不传为和所有楼层做碰撞检测
2045
- * @param sortByDistance - 是否对结果进行排序
2071
+ * @param target - 返回碰撞
2046
2072
  * @returns 返回碰撞
2047
2073
  */
2048
- intersectRaycaster(raycaster: THREE_2.Raycaster, filterFloorIndex?: undefined | null | number, sortByDistance?: boolean): Intersection[];
2074
+ intersectRaycaster(raycaster: THREE_2.Raycaster, target?: Intersection[]): Intersection[];
2049
2075
  update(renderer: THREE_2.WebGLRenderer, camera: Camera, modelScene: ModelScene): boolean;
2050
2076
  localToEnu(vector: THREE_2.Vector3): THREE_2.Vector3;
2051
2077
  enuToLocal(vector: THREE_2.Vector3): THREE_2.Vector3;
@@ -2201,11 +2227,10 @@ export declare class ModelScene extends THREE_2.Scene {
2201
2227
  /**
2202
2228
  * 计算模型射线碰撞检测
2203
2229
  * @param raycaster - THREE 射线对象
2204
- * @param floor - 和某一楼层做碰撞检测, 不传为和所有楼层做碰撞检测
2205
- * @param sortByDistance - 根据距离排序
2230
+ * @param target - 返回碰撞点
2206
2231
  * @returns 返回碰撞点
2207
2232
  */
2208
- intersectRaycaster(raycaster: THREE_2.Raycaster, floor?: number | null, sortByDistance?: boolean): Intersection[];
2233
+ intersectRaycaster(raycaster: THREE_2.Raycaster, target?: Intersection[]): Intersection[];
2209
2234
  update(renderer: THREE_2.WebGLRenderer, camera: Camera): boolean;
2210
2235
  /**
2211
2236
  * @deprecated
@@ -3150,7 +3175,7 @@ export declare class RegionBoundingVolume implements BoundingVolume {
3150
3175
  distanceSquaredToPoint(point: THREE_2.Vector3): number;
3151
3176
  distanceToPlane(plane: THREE_2.Plane): number;
3152
3177
  intersectPlane(plane: THREE_2.Plane): VolumePlaneIntersect;
3153
- intersectRay(ray: THREE_2.Ray): boolean;
3178
+ intersectRay(ray: THREE_2.Ray, threshold?: number, far?: number): boolean;
3154
3179
  }
3155
3180
 
3156
3181
  export declare type RegionBoundingVolumeJson = {
@@ -3197,7 +3222,7 @@ export declare class SphereBoundingVolume implements BoundingVolume {
3197
3222
  distanceToPoint(point: THREE_2.Vector3): number;
3198
3223
  distanceToPlane(plane: THREE_2.Plane): number;
3199
3224
  intersectPlane(plane: THREE_2.Plane): VolumePlaneIntersect;
3200
- intersectRay(ray: THREE_2.Ray, far?: number): boolean;
3225
+ intersectRay(ray: THREE_2.Ray, threshold?: number, far?: number): boolean;
3201
3226
  }
3202
3227
 
3203
3228
  export declare type SphereBoundingVolumeJson = {
@@ -3450,7 +3475,7 @@ export declare class Tile3DModel extends THREE_2.Object3D {
3450
3475
  loadAllTilesets(): Promise<void>;
3451
3476
  loadTrajectory(trajectory: Trajectory): Promise<void>;
3452
3477
  unloadTrajectory(trajectory: Trajectory): Promise<void>;
3453
- intersectRaycaster(raycaster: THREE_2.Raycaster, filterFloorIndex?: undefined | null | number, sortByDistance?: boolean, target?: Intersection[]): Intersection[];
3478
+ intersectRaycaster(raycaster: THREE_2.Raycaster, target?: Intersection[]): Intersection[];
3454
3479
  update(renderer: THREE_2.WebGLRenderer, camera: Camera, modelScene: ModelScene, model: Model): boolean;
3455
3480
  dispose(): void;
3456
3481
  /**
@@ -3662,7 +3687,7 @@ export declare class TileNode extends THREE_2.Object3D {
3662
3687
  private disposers;
3663
3688
  constructor(name: string, contentObject: THREE_2.Object3D, disposer?: () => void);
3664
3689
  generateBvhTree(): Promise<this>;
3665
- intersectRaycaster(raycaster: THREE_2.Raycaster, filterFloorIndex?: undefined | null | number, sortByDistance?: boolean, target?: Intersection[]): Intersection[];
3690
+ intersectRaycaster(raycaster: THREE_2.Raycaster, target?: Intersection[]): Intersection[];
3666
3691
  update(renderer: THREE_2.WebGLRenderer, camera: Camera, modelScene: ModelScene, tile3d: Tile3DModel, tile: Tile, parameterValue: ResolvedParameterValue): boolean;
3667
3692
  dispose(): void;
3668
3693
  clone(): this;
@@ -3892,6 +3917,12 @@ export declare class TrajectoryNode extends THREE_2.Object3D {
3892
3917
  clone(): this;
3893
3918
  }
3894
3919
 
3920
+ /** 单位向量转换成坐标 */
3921
+ export declare function vectorToCoordinates(vector: THREE_2.Vector3): {
3922
+ longitude: number;
3923
+ latitude: number;
3924
+ };
3925
+
3895
3926
  export declare interface ViewLayer extends Tile3DModel {
3896
3927
  }
3897
3928