@realsee/five 6.7.2 → 6.8.0-alpha.1

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 (701) hide show
  1. package/README.md +1 -391
  2. package/docs/assets/hierarchy.js +1 -1
  3. package/docs/assets/highlight.css +16 -30
  4. package/docs/assets/icons.js +1 -1
  5. package/docs/assets/icons.svg +1 -1
  6. package/docs/assets/main.js +2 -2
  7. package/docs/assets/navigation.js +1 -1
  8. package/docs/assets/search.js +1 -1
  9. package/docs/assets/style.css +3 -3
  10. package/docs/classes/five.AdaptiveLuminancePass.html +2 -2
  11. package/docs/classes/five.AnimationFrameLoop.html +5 -5
  12. package/docs/classes/five.BoundingMesh.html +1 -1
  13. package/docs/classes/five.Camera.html +5 -5
  14. package/docs/classes/five.EffectComposer.html +1 -1
  15. package/docs/classes/five.EyeDomeLightingPass.html +2 -2
  16. package/docs/classes/five.Five.html +125 -119
  17. package/docs/classes/five.FivePass.html +2 -2
  18. package/docs/classes/five.FullScreenQuad.html +2 -2
  19. package/docs/classes/five.InternalWebGLRenderer.html +1 -1
  20. package/docs/classes/five.Model.html +26 -26
  21. package/docs/classes/five.ModelScene.html +12 -12
  22. package/docs/classes/five.Motion.html +1 -1
  23. package/docs/classes/five.NetworkSubscribe.html +23 -23
  24. package/docs/classes/five.PBMContainer.html +3 -3
  25. package/docs/classes/five.PBMGSObject.html +22 -0
  26. package/docs/classes/five.PBMGroup.html +1 -1
  27. package/docs/classes/five.PBMMesh.html +1 -1
  28. package/docs/classes/five.PBMMeshMaterial.html +3 -3
  29. package/docs/classes/five.PBMPointCloud.html +1 -1
  30. package/docs/classes/five.PBMPointCloudMaterial.html +3 -3
  31. package/docs/classes/five.PBMSkinnedMesh.html +1 -1
  32. package/docs/classes/five.PanoCircleMesh.html +4 -4
  33. package/docs/classes/five.PanoCircleMeshCustom.html +4 -4
  34. package/docs/classes/five.PanoCircleMeshSolid.html +4 -4
  35. package/docs/classes/five.Parameter.html +50 -50
  36. package/docs/classes/five.Scene.html +3 -3
  37. package/docs/classes/five.Subscribe.html +26 -25
  38. package/docs/classes/five.Tile3D.html +26 -26
  39. package/docs/classes/five.TileNode.html +2 -2
  40. package/docs/classes/five.Tileset.html +11 -11
  41. package/docs/classes/five.TrajectoryNode.html +1 -1
  42. package/docs/classes/five.Work.html +14 -14
  43. package/docs/classes/five.WorkResolvedObserver.html +15 -15
  44. package/docs/classes/gltf-loader.DDSLoader.html +1 -1
  45. package/docs/classes/gltf-loader.DRACOLoader.html +1 -1
  46. package/docs/classes/gltf-loader.GLTFLoader.html +6 -6
  47. package/docs/classes/gltf-loader.GLTFObject.html +1 -1
  48. package/docs/classes/gltf-loader.THREEGLTFLoader.html +1 -1
  49. package/docs/classes/line.Line.html +1 -1
  50. package/docs/classes/line.LineGeometry.html +4 -4
  51. package/docs/classes/line.LineMaterial.html +1 -1
  52. package/docs/classes/line.LineSegmentsGeometry.html +4 -4
  53. package/docs/classes/line.THREE_Line2.html +1 -1
  54. package/docs/classes/line.THREE_LineSegments2.html +1 -1
  55. package/docs/classes/plugins.BasePlugin.Controller.html +16 -16
  56. package/docs/classes/plugins.RoundedBoxGeometry.html +1 -1
  57. package/docs/classes/react.Store.html +12 -11
  58. package/docs/classes/sticker.Sticker.html +11 -11
  59. package/docs/classes/vfx.Airflow.html +1 -1
  60. package/docs/classes/vfx.Flame.html +1 -1
  61. package/docs/classes/vfx.Particle.html +31 -31
  62. package/docs/classes/vfx.ParticleGPU.html +7 -7
  63. package/docs/classes/vfx.SpotLight.html +1 -1
  64. package/docs/documents/coordinate.html +7 -3
  65. package/docs/documents/five.FivePlugin.plugins.html +32 -17
  66. package/docs/documents/five.Pose.coordinate.html +7 -3
  67. package/docs/documents/intro.html +6 -0
  68. package/docs/documents/mode.html +15 -0
  69. package/docs/documents/plugins.html +32 -17
  70. package/docs/documents/quick-start.html +54 -0
  71. package/docs/documents/release_notes_6.7.html +209 -0
  72. package/docs/documents/state.html +2 -0
  73. package/docs/documents/support.html +25 -0
  74. package/docs/documents/work.html +67 -0
  75. package/docs/functions/five.coordinatesToVector.html +1 -1
  76. package/docs/functions/five.defaultImageURLTransform.html +3 -3
  77. package/docs/functions/five.headingToLongitude.html +1 -1
  78. package/docs/functions/five.loadSplat.html +1 -0
  79. package/docs/functions/five.loadSpz.html +1 -0
  80. package/docs/functions/five.longitudeToHeading.html +1 -1
  81. package/docs/functions/five.parseWork.html +3 -3
  82. package/docs/functions/five.vectorToCoordinates.html +1 -1
  83. package/docs/functions/react.createFiveProvider.html +2 -2
  84. package/docs/functions/react.createStore.html +8 -8
  85. package/docs/functions/react.useFiveAction.html +5 -5
  86. package/docs/functions/react.useFiveCameraDirection.html +1 -1
  87. package/docs/functions/react.useFiveCameraRaycaster.html +1 -1
  88. package/docs/functions/react.useFiveCurrentObserver.html +1 -1
  89. package/docs/functions/react.useFiveCurrentState.html +1 -1
  90. package/docs/functions/react.useFiveFloor.html +1 -1
  91. package/docs/functions/react.useFiveHelper.html +1 -1
  92. package/docs/functions/react.useFiveModelIntersectRaycaster.html +2 -2
  93. package/docs/functions/react.useFiveModelReadyState.html +1 -1
  94. package/docs/functions/react.useFiveProject2d.html +2 -2
  95. package/docs/functions/react.useFiveSceneEffect.html +1 -1
  96. package/docs/functions/react.useFiveWork.html +2 -2
  97. package/docs/functions/vue.useFiveAction.html +7 -7
  98. package/docs/functions/vue.useFiveCameraDirection.html +1 -1
  99. package/docs/functions/vue.useFiveCameraRaycaster.html +1 -1
  100. package/docs/functions/vue.useFiveCurrentObserver.html +1 -1
  101. package/docs/functions/vue.useFiveCurrentState.html +1 -1
  102. package/docs/functions/vue.useFiveFloor.html +1 -1
  103. package/docs/functions/vue.useFiveHelper.html +1 -1
  104. package/docs/functions/vue.useFiveModel.html +1 -1
  105. package/docs/functions/vue.useFiveModelBounding.html +1 -1
  106. package/docs/functions/vue.useFiveModelIntersectRaycaster.html +2 -2
  107. package/docs/functions/vue.useFiveModelReadyState.html +1 -1
  108. package/docs/functions/vue.useFiveProject2d.html +2 -2
  109. package/docs/functions/vue.useFiveScene.html +1 -1
  110. package/docs/functions/vue.useFiveState.html +1 -1
  111. package/docs/functions/vue.useFiveWorks.html +2 -2
  112. package/docs/hierarchy.html +1 -1
  113. package/docs/index.html +10 -183
  114. package/docs/interfaces/five.AddableObject.html +5 -5
  115. package/docs/interfaces/five.AjaxOptions.html +5 -5
  116. package/docs/interfaces/five.BaseEvent.html +1 -1
  117. package/docs/interfaces/five.EventCallback.html +194 -194
  118. package/docs/interfaces/five.FiveInitArgs.html +18 -18
  119. package/docs/interfaces/five.FiveLoadOptions.html +3 -3
  120. package/docs/interfaces/five.FloorplanControllerCustomInitArgs.html +8 -8
  121. package/docs/interfaces/five.GestureEvent.html +1 -1
  122. package/docs/interfaces/five.ImageOptions.html +11 -11
  123. package/docs/interfaces/five.ImageURLOptions.html +8 -8
  124. package/docs/interfaces/five.IntersectEvent.html +1 -1
  125. package/docs/interfaces/five.IntersectMesh.html +1 -1
  126. package/docs/interfaces/five.IntersectMeshInterface.html +1 -1
  127. package/docs/interfaces/five.Intersection.html +2 -2
  128. package/docs/interfaces/five.LooseWorkWithExtrinsics.html +7 -7
  129. package/docs/interfaces/five.MapviewControllerCustomInitArgs.html +8 -8
  130. package/docs/interfaces/five.ModeChangeEvent.html +1 -1
  131. package/docs/interfaces/five.ModelControllerCustomInitArgs.html +9 -9
  132. package/docs/interfaces/five.ModelEvent.html +1 -1
  133. package/docs/interfaces/five.ModelOptions.html +3 -3
  134. package/docs/interfaces/five.ModelSceneEvent.html +1 -1
  135. package/docs/interfaces/five.MovePanoOptions.html +10 -10
  136. package/docs/interfaces/five.NetworkAbortError.html +1 -1
  137. package/docs/interfaces/five.NetworkFirbiddenError.html +1 -1
  138. package/docs/interfaces/five.NetworkOptions.html +4 -4
  139. package/docs/interfaces/five.NetworkProxyError.html +1 -1
  140. package/docs/interfaces/five.NetworkResourceEvent.html +1 -1
  141. package/docs/interfaces/five.NetworkResponseError.html +1 -1
  142. package/docs/interfaces/five.NetworkTimeoutError.html +1 -1
  143. package/docs/interfaces/five.ObjectEvent.html +1 -1
  144. package/docs/interfaces/five.PBMMaterial.html +1 -1
  145. package/docs/interfaces/five.PBMMeshMaterialParameters.html +1 -1
  146. package/docs/interfaces/five.PBMPanoDepth.html +4 -4
  147. package/docs/interfaces/five.PBMPanoPicture.html +5 -5
  148. package/docs/interfaces/five.PBMPointCloudMaterialParameters.html +1 -1
  149. package/docs/interfaces/five.PanoCircleMeshInterface.html +4 -4
  150. package/docs/interfaces/five.PanoEvent.html +1 -1
  151. package/docs/interfaces/five.PanoTextureEvent.html +1 -1
  152. package/docs/interfaces/five.PanoramaControllerCustomInitArgs.html +15 -15
  153. package/docs/interfaces/five.PanoramaLikeControllerCustomInitArgs.html +9 -9
  154. package/docs/interfaces/five.ParameterMaterialValue.html +36 -36
  155. package/docs/interfaces/five.ParameterTilesetValue.html +15 -15
  156. package/docs/interfaces/five.ParameterValue.html +50 -50
  157. package/docs/interfaces/five.Pass.html +1 -1
  158. package/docs/interfaces/five.Pose.html +6 -6
  159. package/docs/interfaces/five.RenderEvent.html +1 -1
  160. package/docs/interfaces/five.ResolvedParameterValue.html +50 -50
  161. package/docs/interfaces/five.State.html +9 -9
  162. package/docs/interfaces/five.StateEvent.html +1 -1
  163. package/docs/interfaces/five.TextureOptions.html +12 -12
  164. package/docs/interfaces/five.Tile3DOptions.html +2 -2
  165. package/docs/interfaces/five.TileCoordinateSystem.html +2 -2
  166. package/docs/interfaces/five.TilesetHeader.html +12 -12
  167. package/docs/interfaces/five.TopviewControllerCustomInitArgs.html +7 -7
  168. package/docs/interfaces/five.VRPanoramaControllerCustomInitArgs.html +13 -13
  169. package/docs/interfaces/five.ViewLayer.html +26 -26
  170. package/docs/interfaces/five.Viewport.html +4 -4
  171. package/docs/interfaces/five.WorkCubeImage.html +1 -1
  172. package/docs/interfaces/five.WorkImage.html +4 -4
  173. package/docs/interfaces/five.WorkInitial.html +8 -8
  174. package/docs/interfaces/five.WorkModel.html +8 -8
  175. package/docs/interfaces/five.WorkModelLayer.html +5 -5
  176. package/docs/interfaces/five.WorkObserver.html +15 -15
  177. package/docs/interfaces/five.WorkTile.html +4 -4
  178. package/docs/interfaces/five.WorkVideo.html +4 -4
  179. package/docs/interfaces/five.WorksEvent.html +1 -1
  180. package/docs/interfaces/five.XRControllerEvent.html +1 -1
  181. package/docs/interfaces/five.XRGestureEvent.html +1 -1
  182. package/docs/interfaces/five.XRPanoramaControllerCustomInitArgs.html +13 -13
  183. package/docs/interfaces/five.XRSessionEvent.html +1 -1
  184. package/docs/interfaces/plugins.BackgroundPluginController.html +11 -11
  185. package/docs/interfaces/plugins.BackgroundPluginType.EventMap.html +8 -8
  186. package/docs/interfaces/plugins.BasePlugin.BaseOptions.html +1 -1
  187. package/docs/interfaces/plugins.BasePlugin.Config.html +2 -2
  188. package/docs/interfaces/plugins.BasePlugin.State.html +4 -4
  189. package/docs/interfaces/plugins.BasePlugin.StateChangeParams.html +3 -3
  190. package/docs/interfaces/plugins.DynamicPathLinePluginController.html +45 -45
  191. package/docs/interfaces/plugins.DynamicPathLinePluginType.Config.html +18 -18
  192. package/docs/interfaces/plugins.DynamicPathLinePluginType.EventMap.html +13 -13
  193. package/docs/interfaces/plugins.DynamicPathLinePluginType.Params.html +2 -2
  194. package/docs/interfaces/plugins.DynamicPathLinePluginType.PathConfig.html +14 -14
  195. package/docs/interfaces/plugins.DynamicPathLinePluginType.State.html +5 -5
  196. package/docs/interfaces/plugins.ItemMaskController.html +12 -12
  197. package/docs/interfaces/plugins.ItemMaskPluginType.Config.html +1 -1
  198. package/docs/interfaces/plugins.ItemMaskPluginType.EventMap.html +5 -5
  199. package/docs/interfaces/plugins.ItemMaskPluginType.Params.html +1 -1
  200. package/docs/interfaces/plugins.ItemMaskPluginType.State.html +7 -7
  201. package/docs/interfaces/plugins.OrientationPluginController.html +12 -12
  202. package/docs/interfaces/plugins.OrientationPluginType.Config.html +1 -1
  203. package/docs/interfaces/plugins.OrientationPluginType.EventMap.html +5 -5
  204. package/docs/interfaces/plugins.OrientationPluginType.Params.html +1 -1
  205. package/docs/interfaces/plugins.OrientationPluginType.State.html +5 -5
  206. package/docs/interfaces/plugins.PanoAnimeController.html +14 -14
  207. package/docs/interfaces/plugins.PanoAnimePluginType.Config.html +1 -1
  208. package/docs/interfaces/plugins.PanoAnimePluginType.ConfigChangeEvent.html +3 -3
  209. package/docs/interfaces/plugins.PanoAnimePluginType.EventMap.html +6 -6
  210. package/docs/interfaces/plugins.PanoAnimePluginType.Params.html +1 -1
  211. package/docs/interfaces/plugins.PanoAnimePluginType.State.html +4 -4
  212. package/docs/interfaces/plugins.PluginTemplateType.Config.html +1 -1
  213. package/docs/interfaces/plugins.PluginTemplateType.EventMap.html +5 -5
  214. package/docs/interfaces/plugins.PluginTemplateType.Params.html +1 -1
  215. package/docs/interfaces/plugins.PluginTemplateType.State.html +4 -4
  216. package/docs/interfaces/plugins.TrajectoryController.html +19 -21
  217. package/docs/interfaces/react.FiveActionReactCallbacks.html +23 -23
  218. package/docs/interfaces/react.FiveCanvasProps.html +2 -2
  219. package/docs/interfaces/react.FiveInjectionTypes.html +70 -70
  220. package/docs/interfaces/sticker.IntersectionLike.html +2 -2
  221. package/docs/interfaces/vfx.ParticleArgs.html +26 -26
  222. package/docs/interfaces/vfx.ParticleGPUArgs.html +30 -30
  223. package/docs/interfaces/vue.FiveActionVueCallbacks.html +23 -23
  224. package/docs/modules/five.html +1 -1
  225. package/docs/modules.html +1 -1
  226. package/docs/types/five.ControllerEventTypes.html +32 -32
  227. package/docs/types/five.EventTypes.html +23 -23
  228. package/docs/types/five.FivePlugin.html +2 -2
  229. package/docs/types/five.FivePluginInit.html +1 -1
  230. package/docs/types/five.FivePluginInstance.html +1 -1
  231. package/docs/types/five.LegacyEventType.html +142 -142
  232. package/docs/types/five.LoadResultType.html +2 -2
  233. package/docs/types/five.Mode.html +1 -1
  234. package/docs/types/five.MotionCircle.html +1 -1
  235. package/docs/types/five.ParseOptions.html +6 -6
  236. package/docs/types/plugins.BasePlugin.EventMap.html +5 -5
  237. package/docs/types/plugins.DynamicPathLinePluginType.PluginData.html +1 -1
  238. package/docs/types/plugins.DynamicPathLinePluginType.ServerData.html +1 -1
  239. package/docs/variables/react.FiveCanvas.html +1 -1
  240. package/docs/variables/react.useFiveScene.html +1 -1
  241. package/docs/variables/vue.FiveCanvas.html +1 -1
  242. package/docs/variables/vue.FiveProvider.html +1 -1
  243. package/docs_markdown/README.md +33 -0
  244. package/docs_markdown/_media/coordinate.jpg +0 -0
  245. package/docs_markdown/documents/coordinate.md +29 -0
  246. package/docs_markdown/documents/intro.md +15 -0
  247. package/docs_markdown/documents/mode.md +21 -0
  248. package/docs_markdown/documents/plugins.md +226 -0
  249. package/docs_markdown/documents/quick-start.md +105 -0
  250. package/docs_markdown/documents/release_notes/6.7.md +407 -0
  251. package/docs_markdown/documents/state.md +7 -0
  252. package/docs_markdown/documents/support.md +13 -0
  253. package/docs_markdown/documents/work.md +148 -0
  254. package/docs_markdown/five/README.md +309 -0
  255. package/docs_markdown/five/classes/AdaptiveLuminancePass.md +238 -0
  256. package/docs_markdown/five/classes/AnimationFrameLoop.md +195 -0
  257. package/docs_markdown/five/classes/BoundingMesh.md +75 -0
  258. package/docs_markdown/five/classes/Camera.md +527 -0
  259. package/docs_markdown/five/classes/EffectComposer.md +241 -0
  260. package/docs_markdown/five/classes/EyeDomeLightingPass.md +232 -0
  261. package/docs_markdown/five/classes/Fetcher.md +133 -0
  262. package/docs_markdown/five/classes/Five.md +2231 -0
  263. package/docs_markdown/five/classes/FivePass.md +193 -0
  264. package/docs_markdown/five/classes/FiveRenderer.md +107 -0
  265. package/docs_markdown/five/classes/FullScreenQuad.md +95 -0
  266. package/docs_markdown/five/classes/InternalWebGLRenderer.md +65 -0
  267. package/docs_markdown/five/classes/Model.md +1009 -0
  268. package/docs_markdown/five/classes/ModelScene.md +495 -0
  269. package/docs_markdown/five/classes/Motion.md +235 -0
  270. package/docs_markdown/five/classes/NetworkSubscribe.md +289 -0
  271. package/docs_markdown/five/classes/PBMContainer.md +137 -0
  272. package/docs_markdown/five/classes/PBMCustomShader.md +171 -0
  273. package/docs_markdown/five/classes/PBMGSObject.md +257 -0
  274. package/docs_markdown/five/classes/PBMGroup.md +35 -0
  275. package/docs_markdown/five/classes/PBMMesh.md +43 -0
  276. package/docs_markdown/five/classes/PBMMeshMaterial.md +889 -0
  277. package/docs_markdown/five/classes/PBMPointCloud.md +41 -0
  278. package/docs_markdown/five/classes/PBMPointCloudMaterial.md +371 -0
  279. package/docs_markdown/five/classes/PBMSkinnedMesh.md +67 -0
  280. package/docs_markdown/five/classes/PanoCircleMesh.md +296 -0
  281. package/docs_markdown/five/classes/PanoCircleMeshCustom.md +296 -0
  282. package/docs_markdown/five/classes/PanoCircleMeshSolid.md +296 -0
  283. package/docs_markdown/five/classes/Parameter.md +905 -0
  284. package/docs_markdown/five/classes/Scene.md +109 -0
  285. package/docs_markdown/five/classes/Subscribe.md +271 -0
  286. package/docs_markdown/five/classes/TextureLoader.md +199 -0
  287. package/docs_markdown/five/classes/Tile.md +517 -0
  288. package/docs_markdown/five/classes/Tile3D.md +1287 -0
  289. package/docs_markdown/five/classes/TileCache.md +123 -0
  290. package/docs_markdown/five/classes/TileNode.md +171 -0
  291. package/docs_markdown/five/classes/TileRequestScheduler.md +69 -0
  292. package/docs_markdown/five/classes/Tileset.md +379 -0
  293. package/docs_markdown/five/classes/Trajectory.md +111 -0
  294. package/docs_markdown/five/classes/TrajectoryNode.md +129 -0
  295. package/docs_markdown/five/classes/Work.md +299 -0
  296. package/docs_markdown/five/classes/WorkResolvedObserver.md +302 -0
  297. package/docs_markdown/five/classes/XRButton.md +37 -0
  298. package/docs_markdown/five/enumerations/VolumePlaneIntersect.md +33 -0
  299. package/docs_markdown/five/functions/coordinatesToVector.md +33 -0
  300. package/docs_markdown/five/functions/createDebugBoundingMesh.md +25 -0
  301. package/docs_markdown/five/functions/createWorks.md +21 -0
  302. package/docs_markdown/five/functions/defaultImageURLTransform.md +33 -0
  303. package/docs_markdown/five/functions/getViewportScale.md +15 -0
  304. package/docs_markdown/five/functions/headingToLongitude.md +29 -0
  305. package/docs_markdown/five/functions/imageSupport.md +15 -0
  306. package/docs_markdown/five/functions/isBoundingVolume.md +21 -0
  307. package/docs_markdown/five/functions/isPanoId.md +21 -0
  308. package/docs_markdown/five/functions/loadAt3d.md +47 -0
  309. package/docs_markdown/five/functions/loadB3dm.md +39 -0
  310. package/docs_markdown/five/functions/loadDome.md +43 -0
  311. package/docs_markdown/five/functions/loadDomez.md +43 -0
  312. package/docs_markdown/five/functions/loadFbx.md +35 -0
  313. package/docs_markdown/five/functions/loadGltf.md +39 -0
  314. package/docs_markdown/five/functions/loadPbm.md +47 -0
  315. package/docs_markdown/five/functions/loadPly.md +61 -0
  316. package/docs_markdown/five/functions/loadPnts.md +35 -0
  317. package/docs_markdown/five/functions/loadSplat.md +35 -0
  318. package/docs_markdown/five/functions/loadSpz.md +35 -0
  319. package/docs_markdown/five/functions/loadX3p.md +39 -0
  320. package/docs_markdown/five/functions/longitudeToHeading.md +29 -0
  321. package/docs_markdown/five/functions/makeBoundingVolume.md +21 -0
  322. package/docs_markdown/five/functions/panoEqual.md +25 -0
  323. package/docs_markdown/five/functions/panoParse.md +21 -0
  324. package/docs_markdown/five/functions/panoStringify.md +21 -0
  325. package/docs_markdown/five/functions/parseWork.md +33 -0
  326. package/docs_markdown/five/functions/vectorToCoordinates.md +31 -0
  327. package/docs_markdown/five/functions/workToJson.md +21 -0
  328. package/docs_markdown/five/interfaces/AddableObject.md +77 -0
  329. package/docs_markdown/five/interfaces/AjaxOptions.md +81 -0
  330. package/docs_markdown/five/interfaces/AnimationFrame.md +67 -0
  331. package/docs_markdown/five/interfaces/AnimationFrameContext.md +55 -0
  332. package/docs_markdown/five/interfaces/BaseEvent.md +60 -0
  333. package/docs_markdown/five/interfaces/BoundingVolume.md +241 -0
  334. package/docs_markdown/five/interfaces/BoxBoundingVolume.md +325 -0
  335. package/docs_markdown/five/interfaces/CameraPose.md +49 -0
  336. package/docs_markdown/five/interfaces/CullingVolume.md +141 -0
  337. package/docs_markdown/five/interfaces/Draco.md +219 -0
  338. package/docs_markdown/five/interfaces/EventCallback.md +3374 -0
  339. package/docs_markdown/five/interfaces/FiveInitArgs.md +435 -0
  340. package/docs_markdown/five/interfaces/FiveLoadOptions.md +71 -0
  341. package/docs_markdown/five/interfaces/FloorplanControllerCustomInitArgs.md +93 -0
  342. package/docs_markdown/five/interfaces/GestureEvent.md +233 -0
  343. package/docs_markdown/five/interfaces/ImageOptions.md +147 -0
  344. package/docs_markdown/five/interfaces/ImageURLMappings.md +13 -0
  345. package/docs_markdown/five/interfaces/ImageURLOptions.md +89 -0
  346. package/docs_markdown/five/interfaces/IntersectEvent.md +89 -0
  347. package/docs_markdown/five/interfaces/IntersectMesh.md +33 -0
  348. package/docs_markdown/five/interfaces/IntersectMeshInterface.md +27 -0
  349. package/docs_markdown/five/interfaces/Intersection.md +53 -0
  350. package/docs_markdown/five/interfaces/KTX2.md +131 -0
  351. package/docs_markdown/five/interfaces/LoosePanoWork.md +81 -0
  352. package/docs_markdown/five/interfaces/LooseWork.md +145 -0
  353. package/docs_markdown/five/interfaces/LooseWorkInitial.md +89 -0
  354. package/docs_markdown/five/interfaces/LooseWorkModel.md +113 -0
  355. package/docs_markdown/five/interfaces/LooseWorkObserver.md +153 -0
  356. package/docs_markdown/five/interfaces/LooseWorkPanorama.md +121 -0
  357. package/docs_markdown/five/interfaces/LooseWorkVideo.md +33 -0
  358. package/docs_markdown/five/interfaces/LooseWorkWithExtrinsics.md +93 -0
  359. package/docs_markdown/five/interfaces/MapviewControllerCustomInitArgs.md +96 -0
  360. package/docs_markdown/five/interfaces/ModeChangeEvent.md +105 -0
  361. package/docs_markdown/five/interfaces/ModelControllerCustomInitArgs.md +147 -0
  362. package/docs_markdown/five/interfaces/ModelEvent.md +89 -0
  363. package/docs_markdown/five/interfaces/ModelOptions.md +54 -0
  364. package/docs_markdown/five/interfaces/ModelSceneEvent.md +73 -0
  365. package/docs_markdown/five/interfaces/MotionKeyframe.md +39 -0
  366. package/docs_markdown/five/interfaces/MovePanoOptions.md +192 -0
  367. package/docs_markdown/five/interfaces/NetworkAbortError.md +13 -0
  368. package/docs_markdown/five/interfaces/NetworkFirbiddenError.md +13 -0
  369. package/docs_markdown/five/interfaces/NetworkOptions.md +53 -0
  370. package/docs_markdown/five/interfaces/NetworkProxyError.md +13 -0
  371. package/docs_markdown/five/interfaces/NetworkResourceEvent.md +97 -0
  372. package/docs_markdown/five/interfaces/NetworkResponseError.md +21 -0
  373. package/docs_markdown/five/interfaces/NetworkTimeoutError.md +13 -0
  374. package/docs_markdown/five/interfaces/ObjectEvent.md +73 -0
  375. package/docs_markdown/five/interfaces/PBMClipperParameter.md +25 -0
  376. package/docs_markdown/five/interfaces/PBMCustomShaderInitArgs.md +57 -0
  377. package/docs_markdown/five/interfaces/PBMCustomShaderSlots.md +53 -0
  378. package/docs_markdown/five/interfaces/PBMMaterial.md +18 -0
  379. package/docs_markdown/five/interfaces/PBMMeshMaterialParameters.md +221 -0
  380. package/docs_markdown/five/interfaces/PBMPanoDepth.md +49 -0
  381. package/docs_markdown/five/interfaces/PBMPanoPicture.md +59 -0
  382. package/docs_markdown/five/interfaces/PBMPointCloudMaterialParameters.md +221 -0
  383. package/docs_markdown/five/interfaces/PBMRefinedScreen.md +49 -0
  384. package/docs_markdown/five/interfaces/PanoCircleMeshCustomOptions.md +73 -0
  385. package/docs_markdown/five/interfaces/PanoCircleMeshInterface.md +222 -0
  386. package/docs_markdown/five/interfaces/PanoCircleMeshOptions.md +25 -0
  387. package/docs_markdown/five/interfaces/PanoCircleMeshSolidOptions.md +25 -0
  388. package/docs_markdown/five/interfaces/PanoEvent.md +121 -0
  389. package/docs_markdown/five/interfaces/PanoTextureEvent.md +97 -0
  390. package/docs_markdown/five/interfaces/PanoramaControllerCustomInitArgs.md +260 -0
  391. package/docs_markdown/five/interfaces/PanoramaLikeControllerCustomInitArgs.md +112 -0
  392. package/docs_markdown/five/interfaces/ParameterMaterialValue.md +363 -0
  393. package/docs_markdown/five/interfaces/ParameterTilesetValue.md +161 -0
  394. package/docs_markdown/five/interfaces/ParameterValue.md +715 -0
  395. package/docs_markdown/five/interfaces/Pass.md +100 -0
  396. package/docs_markdown/five/interfaces/Pose.md +69 -0
  397. package/docs_markdown/five/interfaces/RegionBoundingVolume.md +349 -0
  398. package/docs_markdown/five/interfaces/RenderEvent.md +73 -0
  399. package/docs_markdown/five/interfaces/ResolvedParameterValue.md +727 -0
  400. package/docs_markdown/five/interfaces/SphereBoundingVolume.md +317 -0
  401. package/docs_markdown/five/interfaces/State.md +123 -0
  402. package/docs_markdown/five/interfaces/StateEvent.md +87 -0
  403. package/docs_markdown/five/interfaces/TextureOptions.md +157 -0
  404. package/docs_markdown/five/interfaces/Tile3DOptions.md +83 -0
  405. package/docs_markdown/five/interfaces/TileCoordinateSystem.md +25 -0
  406. package/docs_markdown/five/interfaces/TileHeader.md +89 -0
  407. package/docs_markdown/five/interfaces/TilesetHeader.md +209 -0
  408. package/docs_markdown/five/interfaces/TilesetOptions.md +205 -0
  409. package/docs_markdown/five/interfaces/TopviewControllerCustomInitArgs.md +101 -0
  410. package/docs_markdown/five/interfaces/TrajectoryHeader.md +41 -0
  411. package/docs_markdown/five/interfaces/VRPanoramaControllerCustomInitArgs.md +264 -0
  412. package/docs_markdown/five/interfaces/ViewLayer.md +1505 -0
  413. package/docs_markdown/five/interfaces/Viewport.md +57 -0
  414. package/docs_markdown/five/interfaces/WebXRAxesParams.md +57 -0
  415. package/docs_markdown/five/interfaces/WebXRControllerParams.md +25 -0
  416. package/docs_markdown/five/interfaces/WorkCubeImage.md +86 -0
  417. package/docs_markdown/five/interfaces/WorkImage.md +117 -0
  418. package/docs_markdown/five/interfaces/WorkInitial.md +89 -0
  419. package/docs_markdown/five/interfaces/WorkInitialJson.md +65 -0
  420. package/docs_markdown/five/interfaces/WorkJson.md +89 -0
  421. package/docs_markdown/five/interfaces/WorkModel.md +113 -0
  422. package/docs_markdown/five/interfaces/WorkModelJson.md +49 -0
  423. package/docs_markdown/five/interfaces/WorkModelLayer.md +59 -0
  424. package/docs_markdown/five/interfaces/WorkModelLayerJson.md +41 -0
  425. package/docs_markdown/five/interfaces/WorkObserver.md +184 -0
  426. package/docs_markdown/five/interfaces/WorkObserverJson.md +97 -0
  427. package/docs_markdown/five/interfaces/WorkPanoramaJson.md +125 -0
  428. package/docs_markdown/five/interfaces/WorkPanoramasJson.md +25 -0
  429. package/docs_markdown/five/interfaces/WorkTile.md +115 -0
  430. package/docs_markdown/five/interfaces/WorkVideo.md +49 -0
  431. package/docs_markdown/five/interfaces/WorksEvent.md +89 -0
  432. package/docs_markdown/five/interfaces/XRControllerEvent.md +177 -0
  433. package/docs_markdown/five/interfaces/XRGestureEvent.md +125 -0
  434. package/docs_markdown/five/interfaces/XRPanoramaControllerCustomInitArgs.md +264 -0
  435. package/docs_markdown/five/interfaces/XRSessionEvent.md +81 -0
  436. package/docs_markdown/five/interfaces/documents/coordinate.md +29 -0
  437. package/docs_markdown/five/type-aliases/AjaxResponseType.md +11 -0
  438. package/docs_markdown/five/type-aliases/AjaxResponseTypeMapping.md +17 -0
  439. package/docs_markdown/five/type-aliases/AnimationFrameLoopType.md +11 -0
  440. package/docs_markdown/five/type-aliases/BoundingVolumeJson.md +11 -0
  441. package/docs_markdown/five/type-aliases/BoxBoundingVolumeJson.md +19 -0
  442. package/docs_markdown/five/type-aliases/ControllerCustomInitTypes.md +67 -0
  443. package/docs_markdown/five/type-aliases/ControllerEventTypes.md +669 -0
  444. package/docs_markdown/five/type-aliases/CubeFace.md +11 -0
  445. package/docs_markdown/five/type-aliases/EventTypes.md +381 -0
  446. package/docs_markdown/five/type-aliases/FivePlugin.md +31 -0
  447. package/docs_markdown/five/type-aliases/FivePluginInit.md +21 -0
  448. package/docs_markdown/five/type-aliases/FivePluginInstance.md +21 -0
  449. package/docs_markdown/five/type-aliases/GestureTypes.md +11 -0
  450. package/docs_markdown/five/type-aliases/LegacyEventType.md +1852 -0
  451. package/docs_markdown/five/type-aliases/LoadResultType.md +109 -0
  452. package/docs_markdown/five/type-aliases/Mode.md +19 -0
  453. package/docs_markdown/five/type-aliases/Models.md +121 -0
  454. package/docs_markdown/five/type-aliases/MotionCircle.md +13 -0
  455. package/docs_markdown/five/type-aliases/MotionConfig.md +17 -0
  456. package/docs_markdown/five/type-aliases/MotionInitalValue.md +17 -0
  457. package/docs_markdown/five/type-aliases/MotionValue.md +17 -0
  458. package/docs_markdown/five/type-aliases/MovePanoEffect.md +24 -0
  459. package/docs_markdown/five/type-aliases/NetWorkMeta.md +71 -0
  460. package/docs_markdown/five/type-aliases/NetworkError.md +11 -0
  461. package/docs_markdown/five/type-aliases/NetworkErrorCallback.md +21 -0
  462. package/docs_markdown/five/type-aliases/NetworkProgressCallback.md +21 -0
  463. package/docs_markdown/five/type-aliases/NetworkResponse.md +37 -0
  464. package/docs_markdown/five/type-aliases/NetworkState.md +11 -0
  465. package/docs_markdown/five/type-aliases/NetworkSuccessCallback.md +27 -0
  466. package/docs_markdown/five/type-aliases/NetworkType.md +11 -0
  467. package/docs_markdown/five/type-aliases/PBMAlphaMode.md +11 -0
  468. package/docs_markdown/five/type-aliases/PBMColorStyle.md +11 -0
  469. package/docs_markdown/five/type-aliases/PBMFloorStyle.md +11 -0
  470. package/docs_markdown/five/type-aliases/PBMMeshShaderType.md +11 -0
  471. package/docs_markdown/five/type-aliases/PBMPointBack.md +11 -0
  472. package/docs_markdown/five/type-aliases/PBMPointCloudShaderType.md +11 -0
  473. package/docs_markdown/five/type-aliases/PBMPointShape.md +11 -0
  474. package/docs_markdown/five/type-aliases/PBMPointSize.md +11 -0
  475. package/docs_markdown/five/type-aliases/PBMTransition.md +11 -0
  476. package/docs_markdown/five/type-aliases/Pano.md +27 -0
  477. package/docs_markdown/five/type-aliases/PanoId.md +11 -0
  478. package/docs_markdown/five/type-aliases/ParseOptions.md +65 -0
  479. package/docs_markdown/five/type-aliases/PostProcessingType.md +11 -0
  480. package/docs_markdown/five/type-aliases/RegionBoundingVolumeJson.md +19 -0
  481. package/docs_markdown/five/type-aliases/RequestAnimationFrameArgs.md +17 -0
  482. package/docs_markdown/five/type-aliases/Scissor.md +15 -0
  483. package/docs_markdown/five/type-aliases/SphereBoundingVolumeJson.md +19 -0
  484. package/docs_markdown/five/type-aliases/SubscribeEventMap.md +15 -0
  485. package/docs_markdown/five/type-aliases/TileCacheOptions.md +47 -0
  486. package/docs_markdown/five/type-aliases/TileContentData.md +51 -0
  487. package/docs_markdown/five/type-aliases/TileRequestOrder.md +11 -0
  488. package/docs_markdown/five/type-aliases/TileRequestSchedulerOptions.md +69 -0
  489. package/docs_markdown/five/type-aliases/TilesetFrameState.md +199 -0
  490. package/docs_markdown/five/type-aliases/TrajectoryContentData.md +59 -0
  491. package/docs_markdown/five/type-aliases/WebXRControllerKey.md +11 -0
  492. package/docs_markdown/five/type-aliases/WebXRControllerType.md +11 -0
  493. package/docs_markdown/five/type-aliases/Works.md +59 -0
  494. package/docs_markdown/five/type-aliases/documents/plugins.md +226 -0
  495. package/docs_markdown/five/variables/PROXY_CONTROLLER_EVENT_NAMES.md +11 -0
  496. package/docs_markdown/five/variables/controllersDefaultInitArgs.md +41 -0
  497. package/docs_markdown/five/variables/draco.md +11 -0
  498. package/docs_markdown/five/variables/ktx2.md +11 -0
  499. package/docs_markdown/gltf-loader/README.md +23 -0
  500. package/docs_markdown/gltf-loader/classes/DDSLoader.md +57 -0
  501. package/docs_markdown/gltf-loader/classes/DRACOLoader.md +143 -0
  502. package/docs_markdown/gltf-loader/classes/GLTFLoader.md +208 -0
  503. package/docs_markdown/gltf-loader/classes/GLTFObject.md +76 -0
  504. package/docs_markdown/gltf-loader/classes/GLTFParser.md +75 -0
  505. package/docs_markdown/gltf-loader/classes/THREEGLTFLoader.md +151 -0
  506. package/docs_markdown/gltf-loader/interfaces/DDS.md +57 -0
  507. package/docs_markdown/gltf-loader/interfaces/GLTF.md +98 -0
  508. package/docs_markdown/gltf-loader/interfaces/GLTFReference.md +25 -0
  509. package/docs_markdown/gltf-loader/interfaces/THREEGLTF.md +89 -0
  510. package/docs_markdown/line/README.md +20 -0
  511. package/docs_markdown/line/classes/Line.md +151 -0
  512. package/docs_markdown/line/classes/LineGeometry.md +273 -0
  513. package/docs_markdown/line/classes/LineMaterial.md +83 -0
  514. package/docs_markdown/line/classes/LineSegmentsGeometry.md +219 -0
  515. package/docs_markdown/line/classes/THREE_Line2.md +81 -0
  516. package/docs_markdown/line/classes/THREE_LineSegments2.md +81 -0
  517. package/docs_markdown/line/type-aliases/LineMaterialParameters.md +67 -0
  518. package/docs_markdown/modules.md +28 -0
  519. package/docs_markdown/plugins/README.md +43 -0
  520. package/docs_markdown/plugins/classes/CSS3DRenderer.md +93 -0
  521. package/docs_markdown/plugins/classes/OrbitControls.md +461 -0
  522. package/docs_markdown/plugins/classes/RoundedBoxGeometry.md +79 -0
  523. package/docs_markdown/plugins/functions/BackgroundPlugin.md +25 -0
  524. package/docs_markdown/plugins/functions/DynamicPathLinePlugin.md +25 -0
  525. package/docs_markdown/plugins/functions/ItemMaskPlugin.md +25 -0
  526. package/docs_markdown/plugins/functions/OrientationPlugin.md +25 -0
  527. package/docs_markdown/plugins/functions/PanoAnimePlugin.md +25 -0
  528. package/docs_markdown/plugins/functions/TrajectoryPlugin.md +25 -0
  529. package/docs_markdown/plugins/interfaces/BackgroundPluginController.md +313 -0
  530. package/docs_markdown/plugins/interfaces/DynamicPathLinePluginController.md +755 -0
  531. package/docs_markdown/plugins/interfaces/ItemMaskController.md +393 -0
  532. package/docs_markdown/plugins/interfaces/Keyframe.md +25 -0
  533. package/docs_markdown/plugins/interfaces/OrientationPluginController.md +491 -0
  534. package/docs_markdown/plugins/interfaces/PanoAnimeController.md +365 -0
  535. package/docs_markdown/plugins/interfaces/PlayingState.md +25 -0
  536. package/docs_markdown/plugins/interfaces/TrajectoryController.md +609 -0
  537. package/docs_markdown/plugins/namespaces/BackgroundPluginType/README.md +25 -0
  538. package/docs_markdown/plugins/namespaces/BackgroundPluginType/enumerations/WarningCodeType.md +17 -0
  539. package/docs_markdown/plugins/namespaces/BackgroundPluginType/interfaces/Config.md +9 -0
  540. package/docs_markdown/plugins/namespaces/BackgroundPluginType/interfaces/EventMap.md +205 -0
  541. package/docs_markdown/plugins/namespaces/BackgroundPluginType/interfaces/Params.md +25 -0
  542. package/docs_markdown/plugins/namespaces/BackgroundPluginType/interfaces/PluginDataItem.md +9 -0
  543. package/docs_markdown/plugins/namespaces/BackgroundPluginType/type-aliases/Mirror.md +17 -0
  544. package/docs_markdown/plugins/namespaces/BackgroundPluginType/type-aliases/Mode.md +11 -0
  545. package/docs_markdown/plugins/namespaces/BackgroundPluginType/type-aliases/PluginData.md +11 -0
  546. package/docs_markdown/plugins/namespaces/BackgroundPluginType/type-aliases/State.md +19 -0
  547. package/docs_markdown/plugins/namespaces/BasePlugin/README.md +22 -0
  548. package/docs_markdown/plugins/namespaces/BasePlugin/classes/Controller.md +318 -0
  549. package/docs_markdown/plugins/namespaces/BasePlugin/interfaces/BaseOptions.md +19 -0
  550. package/docs_markdown/plugins/namespaces/BasePlugin/interfaces/Config.md +39 -0
  551. package/docs_markdown/plugins/namespaces/BasePlugin/interfaces/State.md +49 -0
  552. package/docs_markdown/plugins/namespaces/BasePlugin/interfaces/StateChangeParams.md +45 -0
  553. package/docs_markdown/plugins/namespaces/BasePlugin/type-aliases/EventMap.md +110 -0
  554. package/docs_markdown/plugins/namespaces/DynamicPathLinePluginType/README.md +20 -0
  555. package/docs_markdown/plugins/namespaces/DynamicPathLinePluginType/interfaces/Config.md +181 -0
  556. package/docs_markdown/plugins/namespaces/DynamicPathLinePluginType/interfaces/EventMap.md +261 -0
  557. package/docs_markdown/plugins/namespaces/DynamicPathLinePluginType/interfaces/Params.md +37 -0
  558. package/docs_markdown/plugins/namespaces/DynamicPathLinePluginType/interfaces/PathConfig.md +141 -0
  559. package/docs_markdown/plugins/namespaces/DynamicPathLinePluginType/interfaces/State.md +67 -0
  560. package/docs_markdown/plugins/namespaces/DynamicPathLinePluginType/type-aliases/PluginData.md +21 -0
  561. package/docs_markdown/plugins/namespaces/DynamicPathLinePluginType/type-aliases/ServerData.md +73 -0
  562. package/docs_markdown/plugins/namespaces/ItemMaskPluginType/README.md +21 -0
  563. package/docs_markdown/plugins/namespaces/ItemMaskPluginType/interfaces/Config.md +11 -0
  564. package/docs_markdown/plugins/namespaces/ItemMaskPluginType/interfaces/EventMap.md +109 -0
  565. package/docs_markdown/plugins/namespaces/ItemMaskPluginType/interfaces/ItemType.md +121 -0
  566. package/docs_markdown/plugins/namespaces/ItemMaskPluginType/interfaces/MaskType.md +33 -0
  567. package/docs_markdown/plugins/namespaces/ItemMaskPluginType/interfaces/Params.md +27 -0
  568. package/docs_markdown/plugins/namespaces/ItemMaskPluginType/interfaces/State.md +87 -0
  569. package/docs_markdown/plugins/namespaces/ItemMaskPluginType/type-aliases/PluginData.md +27 -0
  570. package/docs_markdown/plugins/namespaces/ItemMaskPluginType/type-aliases/ServerData.md +27 -0
  571. package/docs_markdown/plugins/namespaces/OrientationPluginType/README.md +19 -0
  572. package/docs_markdown/plugins/namespaces/OrientationPluginType/interfaces/Config.md +27 -0
  573. package/docs_markdown/plugins/namespaces/OrientationPluginType/interfaces/EventMap.md +109 -0
  574. package/docs_markdown/plugins/namespaces/OrientationPluginType/interfaces/Params.md +27 -0
  575. package/docs_markdown/plugins/namespaces/OrientationPluginType/interfaces/State.md +67 -0
  576. package/docs_markdown/plugins/namespaces/OrientationPluginType/type-aliases/PluginData.md +11 -0
  577. package/docs_markdown/plugins/namespaces/OrientationPluginType/type-aliases/ServerData.md +11 -0
  578. package/docs_markdown/plugins/namespaces/PanoAnimePluginType/README.md +20 -0
  579. package/docs_markdown/plugins/namespaces/PanoAnimePluginType/interfaces/Config.md +19 -0
  580. package/docs_markdown/plugins/namespaces/PanoAnimePluginType/interfaces/ConfigChangeEvent.md +39 -0
  581. package/docs_markdown/plugins/namespaces/PanoAnimePluginType/interfaces/EventMap.md +157 -0
  582. package/docs_markdown/plugins/namespaces/PanoAnimePluginType/interfaces/Params.md +27 -0
  583. package/docs_markdown/plugins/namespaces/PanoAnimePluginType/interfaces/State.md +57 -0
  584. package/docs_markdown/plugins/namespaces/PanoAnimePluginType/type-aliases/PluginData.md +11 -0
  585. package/docs_markdown/plugins/namespaces/PanoAnimePluginType/type-aliases/ServerData.md +11 -0
  586. package/docs_markdown/plugins/namespaces/PluginTemplateType/README.md +19 -0
  587. package/docs_markdown/plugins/namespaces/PluginTemplateType/interfaces/Config.md +19 -0
  588. package/docs_markdown/plugins/namespaces/PluginTemplateType/interfaces/EventMap.md +109 -0
  589. package/docs_markdown/plugins/namespaces/PluginTemplateType/interfaces/Params.md +27 -0
  590. package/docs_markdown/plugins/namespaces/PluginTemplateType/interfaces/State.md +57 -0
  591. package/docs_markdown/plugins/namespaces/PluginTemplateType/type-aliases/PluginData.md +11 -0
  592. package/docs_markdown/plugins/namespaces/PluginTemplateType/type-aliases/ServerData.md +19 -0
  593. package/docs_markdown/react/README.md +58 -0
  594. package/docs_markdown/react/classes/Store.md +184 -0
  595. package/docs_markdown/react/functions/createFiveFeature.md +27 -0
  596. package/docs_markdown/react/functions/createFiveProvider.md +42 -0
  597. package/docs_markdown/react/functions/createStore.md +158 -0
  598. package/docs_markdown/react/functions/unsafe__useFiveInstance.md +27 -0
  599. package/docs_markdown/react/functions/useFiveAction.md +82 -0
  600. package/docs_markdown/react/functions/useFiveCameraDirection.md +19 -0
  601. package/docs_markdown/react/functions/useFiveCameraRaycaster.md +19 -0
  602. package/docs_markdown/react/functions/useFiveCurrentObserver.md +25 -0
  603. package/docs_markdown/react/functions/useFiveCurrentState.md +25 -0
  604. package/docs_markdown/react/functions/useFiveEventCallback.md +44 -0
  605. package/docs_markdown/react/functions/useFiveFloor.md +25 -0
  606. package/docs_markdown/react/functions/useFiveHelper.md +25 -0
  607. package/docs_markdown/react/functions/useFiveModelIntersectRaycaster.md +45 -0
  608. package/docs_markdown/react/functions/useFiveModelReadyState.md +20 -0
  609. package/docs_markdown/react/functions/useFiveProject2d.md +49 -0
  610. package/docs_markdown/react/functions/useFiveSceneEffect.md +39 -0
  611. package/docs_markdown/react/functions/useFiveState.md +15 -0
  612. package/docs_markdown/react/functions/useFiveWork.md +39 -0
  613. package/docs_markdown/react/functions/withFive.md +47 -0
  614. package/docs_markdown/react/interfaces/FiveActionReactCallbacks.md +270 -0
  615. package/docs_markdown/react/interfaces/FiveCanvasProps.md +29 -0
  616. package/docs_markdown/react/interfaces/FiveInjectionTypes.md +1075 -0
  617. package/docs_markdown/react/interfaces/PropTypeOfFiveFeatures.md +23 -0
  618. package/docs_markdown/react/type-aliases/FiveInjectionActionFeature.md +11 -0
  619. package/docs_markdown/react/type-aliases/FiveInjectionDataFeature.md +11 -0
  620. package/docs_markdown/react/type-aliases/FiveInjectionFeature.md +11 -0
  621. package/docs_markdown/react/type-aliases/FiveProviderPropTypes.md +139 -0
  622. package/docs_markdown/react/type-aliases/FiveProviderType.md +11 -0
  623. package/docs_markdown/react/type-aliases/StoreActionMapHanlder.md +25 -0
  624. package/docs_markdown/react/type-aliases/StoreActionMapType.md +15 -0
  625. package/docs_markdown/react/type-aliases/StoreProviderType.md +11 -0
  626. package/docs_markdown/react/type-aliases/StoreValueMapType.md +11 -0
  627. package/docs_markdown/react/variables/FiveCanvas.md +25 -0
  628. package/docs_markdown/react/variables/INJECTION_PROPNAME.md +11 -0
  629. package/docs_markdown/react/variables/useFiveScene.md +43 -0
  630. package/docs_markdown/sticker/README.md +15 -0
  631. package/docs_markdown/sticker/classes/Sticker.md +208 -0
  632. package/docs_markdown/sticker/interfaces/IntersectionLike.md +39 -0
  633. package/docs_markdown/vfx/README.md +27 -0
  634. package/docs_markdown/vfx/classes/Airflow.md +175 -0
  635. package/docs_markdown/vfx/classes/Flame.md +241 -0
  636. package/docs_markdown/vfx/classes/Particle.md +488 -0
  637. package/docs_markdown/vfx/classes/ParticleGPU.md +195 -0
  638. package/docs_markdown/vfx/classes/SpotLight.md +159 -0
  639. package/docs_markdown/vfx/interfaces/ParticleArgs.md +338 -0
  640. package/docs_markdown/vfx/interfaces/ParticleGPUArgs.md +301 -0
  641. package/docs_markdown/vfx/interfaces/ParticleGPUTweenKeyframe.md +31 -0
  642. package/docs_markdown/vfx/interfaces/ParticleTweenKeyframe.md +31 -0
  643. package/docs_markdown/vfx/type-aliases/ParticleGPUType.md +11 -0
  644. package/docs_markdown/vfx/type-aliases/ParticleType.md +11 -0
  645. package/docs_markdown/vue/README.md +42 -0
  646. package/docs_markdown/vue/functions/unsafe__useFiveInject.md +27 -0
  647. package/docs_markdown/vue/functions/useFiveAction.md +104 -0
  648. package/docs_markdown/vue/functions/useFiveCameraDirection.md +19 -0
  649. package/docs_markdown/vue/functions/useFiveCameraRaycaster.md +19 -0
  650. package/docs_markdown/vue/functions/useFiveCurrentObserver.md +25 -0
  651. package/docs_markdown/vue/functions/useFiveCurrentState.md +25 -0
  652. package/docs_markdown/vue/functions/useFiveEventCallback.md +40 -0
  653. package/docs_markdown/vue/functions/useFiveFloor.md +25 -0
  654. package/docs_markdown/vue/functions/useFiveHelper.md +25 -0
  655. package/docs_markdown/vue/functions/useFiveModel.md +17 -0
  656. package/docs_markdown/vue/functions/useFiveModelBounding.md +17 -0
  657. package/docs_markdown/vue/functions/useFiveModelIntersectRaycaster.md +35 -0
  658. package/docs_markdown/vue/functions/useFiveModelReadyState.md +20 -0
  659. package/docs_markdown/vue/functions/useFiveProject2d.md +38 -0
  660. package/docs_markdown/vue/functions/useFiveScene.md +17 -0
  661. package/docs_markdown/vue/functions/useFiveState.md +25 -0
  662. package/docs_markdown/vue/functions/useFiveWorks.md +39 -0
  663. package/docs_markdown/vue/interfaces/FiveActionVueCallbacks.md +301 -0
  664. package/docs_markdown/vue/type-aliases/FiveModelIntersectRaycaster.md +21 -0
  665. package/docs_markdown/vue/type-aliases/FiveProviderComponent.md +11 -0
  666. package/docs_markdown/vue/type-aliases/Project2d.md +25 -0
  667. package/docs_markdown/vue/variables/FiveCanvas.md +37 -0
  668. package/docs_markdown/vue/variables/FiveProvider.md +32 -0
  669. package/five/index.d.ts +64 -2
  670. package/five/index.js +160 -72
  671. package/five/index.mjs +7500 -6606
  672. package/gltf-loader/index.js +3 -3
  673. package/gltf-loader/index.mjs +146 -146
  674. package/line/index.js +3 -3
  675. package/line/index.mjs +10 -10
  676. package/package.json +1 -1
  677. package/plugins/index.d.ts +0 -2
  678. package/plugins/index.js +2 -2
  679. package/plugins/index.mjs +2 -2
  680. package/react/index.js +2 -2
  681. package/react/index.mjs +2 -2
  682. package/shader-lib/index.js +2 -2
  683. package/shader-lib/index.mjs +2 -2
  684. package/sticker/index.js +3 -3
  685. package/sticker/index.mjs +7 -7
  686. package/umd/five-gltf-loader.js +3 -3
  687. package/umd/five-line.js +3 -3
  688. package/umd/five-plugins.js +2 -2
  689. package/umd/five-react.js +2 -2
  690. package/umd/five-shader-lib.js +2 -2
  691. package/umd/five-sticker.js +3 -3
  692. package/umd/five-vfx.js +2 -2
  693. package/umd/five-vue.js +2 -2
  694. package/umd/five.js +160 -72
  695. package/vfx/index.js +2 -2
  696. package/vfx/index.mjs +2 -2
  697. package/vue/index.js +2 -2
  698. package/vue/index.mjs +2 -2
  699. package/work-downloader/index.js +2 -2
  700. package/work-downloader/index.mjs +2 -2
  701. package/docs/documents/react-component.html +0 -32
@@ -1,14 +1,14 @@
1
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>useFiveAction | 如视 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/react.html">react</a></li><li><a href="" aria-current="page">useFiveAction</a></li></ul><h1>Function useFiveAction</h1></div><section class="tsd-panel"><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="usefiveaction"><span class="tsd-kind-call-signature">useFiveAction</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/react.FiveActionReactCallbacks.html" class="tsd-signature-type tsd-kind-interface">FiveActionReactCallbacks</a><a href="#usefiveaction" 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></div><div class="tsd-description"><code class="tsd-tag">Function</code><div class="tsd-comment tsd-typography"><p>Five React Hooks: 使用 Five 的命令</p>
2
2
  <p>updateCamera</p>
3
- <pre><code><span class="hl-4">移动相机</span><span class="hl-1">。(</span><span class="hl-4">不触发点位移动</span><span class="hl-1">)</span><br/><span class="hl-4">如果动画中途被打断</span><span class="hl-1">(</span><span class="hl-4">用户触发行为</span><span class="hl-1">,</span><span class="hl-4">或者调用</span><span class="hl-1"> </span><span class="hl-4">setState</span><span class="hl-1">, </span><span class="hl-4">load</span><span class="hl-1">, </span><span class="hl-4">changeMode</span><span class="hl-1">)</span><span class="hl-4">的等</span><br/><span class="hl-4">会</span><span class="hl-1"> </span><span class="hl-8">Promise</span><span class="hl-1">.</span><span class="hl-4">reject</span><span class="hl-1">。</span><span class="hl-4">运动完成则</span><span class="hl-1"> </span><span class="hl-8">Promise</span><span class="hl-1">.</span><span class="hl-4">resolve</span><br/><br/><span class="hl-5">// params pose - 相机目标位置</span><br/><span class="hl-5">// params duration - 动画触发的时常</span><br/><span class="hl-5">// params Promise - 是否移动成功</span><br/><span class="hl-0">updateCamera</span><span class="hl-1">(</span><span class="hl-4">pose</span><span class="hl-1">: </span><span class="hl-4">Pose</span><span class="hl-1">, </span><span class="hl-4">duration</span><span class="hl-1">: </span><span class="hl-4">number</span><span class="hl-1">): </span><span class="hl-8">Promise</span><span class="hl-1">&lt;</span><span class="hl-6">void</span><span class="hl-1">&gt;</span>
3
+ <pre><code><span class="hl-4">移动相机</span><span class="hl-1">。(</span><span class="hl-4">不触发点位移动</span><span class="hl-1">)</span><br/><span class="hl-4">如果动画中途被打断</span><span class="hl-1">(</span><span class="hl-4">用户触发行为</span><span class="hl-1">,</span><span class="hl-4">或者调用</span><span class="hl-1"> </span><span class="hl-4">setState</span><span class="hl-1">, </span><span class="hl-4">load</span><span class="hl-1">, </span><span class="hl-4">changeMode</span><span class="hl-1">)</span><span class="hl-4">的等</span><br/><span class="hl-4">会</span><span class="hl-1"> </span><span class="hl-7">Promise</span><span class="hl-1">.</span><span class="hl-4">reject</span><span class="hl-1">。</span><span class="hl-4">运动完成则</span><span class="hl-1"> </span><span class="hl-7">Promise</span><span class="hl-1">.</span><span class="hl-4">resolve</span><br/><br/><span class="hl-8">// params pose - 相机目标位置</span><br/><span class="hl-8">// params duration - 动画触发的时常</span><br/><span class="hl-8">// params Promise - 是否移动成功</span><br/><span class="hl-0">updateCamera</span><span class="hl-1">(</span><span class="hl-4">pose</span><span class="hl-1">: </span><span class="hl-4">Pose</span><span class="hl-1">, </span><span class="hl-4">duration</span><span class="hl-1">: </span><span class="hl-4">number</span><span class="hl-1">): </span><span class="hl-7">Promise</span><span class="hl-1">&lt;</span><span class="hl-6">void</span><span class="hl-1">&gt;</span>
4
4
  </code><button>Copy</button></pre>
5
5
 
6
6
  <p>getPixels</p>
7
- <pre><code><span class="hl-4">获取画面中的像素颜色</span><br/><span class="hl-5">// param x - 获取像素区域的起始坐标 x</span><br/><span class="hl-5">// param y - 获取像素区域的起始坐标 y</span><br/><span class="hl-5">// param width - 获取像素区域的宽度</span><br/><span class="hl-5">// param height - 获取像素区域的高度</span><br/><span class="hl-5">// param pixelRatio - 获取区域的像素比</span><br/><span class="hl-5">// returns rgba颜色平铺的 Uint8Array</span><br/><span class="hl-0">getPixels</span><span class="hl-1">(</span><span class="hl-4">x</span><span class="hl-1">: </span><span class="hl-4">number</span><span class="hl-1">, </span><span class="hl-4">y</span><span class="hl-1">: </span><span class="hl-4">number</span><span class="hl-1">, </span><span class="hl-4">width</span><span class="hl-1">: </span><span class="hl-4">number</span><span class="hl-1">, </span><span class="hl-4">height</span><span class="hl-1">: </span><span class="hl-4">number</span><span class="hl-1">, </span><span class="hl-4">pixelRatio</span><span class="hl-1">?: </span><span class="hl-4">number</span><span class="hl-1">): </span><span class="hl-4">Uint8Array</span><span class="hl-1">,</span>
7
+ <pre><code><span class="hl-4">获取画面中的像素颜色</span><br/><span class="hl-8">// param x - 获取像素区域的起始坐标 x</span><br/><span class="hl-8">// param y - 获取像素区域的起始坐标 y</span><br/><span class="hl-8">// param width - 获取像素区域的宽度</span><br/><span class="hl-8">// param height - 获取像素区域的高度</span><br/><span class="hl-8">// param pixelRatio - 获取区域的像素比</span><br/><span class="hl-8">// returns rgba颜色平铺的 Uint8Array</span><br/><span class="hl-0">getPixels</span><span class="hl-1">(</span><span class="hl-4">x</span><span class="hl-1">: </span><span class="hl-4">number</span><span class="hl-1">, </span><span class="hl-4">y</span><span class="hl-1">: </span><span class="hl-4">number</span><span class="hl-1">, </span><span class="hl-4">width</span><span class="hl-1">: </span><span class="hl-4">number</span><span class="hl-1">, </span><span class="hl-4">height</span><span class="hl-1">: </span><span class="hl-4">number</span><span class="hl-1">, </span><span class="hl-4">pixelRatio</span><span class="hl-1">?: </span><span class="hl-4">number</span><span class="hl-1">): </span><span class="hl-4">Uint8Array</span><span class="hl-1">,</span>
8
8
  </code><button>Copy</button></pre>
9
9
 
10
10
  <p>render</p>
11
- <pre><code><span class="hl-4">强制渲染</span><br/><span class="hl-4">调用</span><span class="hl-1"> </span><span class="hl-0">render</span><span class="hl-1">() </span><span class="hl-4">和</span><span class="hl-1"> </span><span class="hl-0">needsRender</span><span class="hl-1">() </span><span class="hl-4">均可在按需渲染时</span><span class="hl-1">,</span><span class="hl-4">使得画面渲染一次</span><br/><span class="hl-4">区别在于</span><span class="hl-1">:</span><br/><span class="hl-1">- </span><span class="hl-0">needsRender</span><span class="hl-1">() </span><span class="hl-4">为在下帧渲染画面</span><br/><span class="hl-1">- </span><span class="hl-0">render</span><span class="hl-1">() </span><span class="hl-4">在当前帧渲染画面</span><br/><span class="hl-4">推荐使用</span><span class="hl-1"> </span><span class="hl-0">needsRender</span><span class="hl-1">(), </span><span class="hl-4">可以更加流畅</span><span class="hl-1">。</span><span class="hl-4">但是如果需要截图等同步操作</span><span class="hl-1">,</span><span class="hl-4">可以使用</span><span class="hl-1"> </span><span class="hl-0">render</span><span class="hl-1">()</span><br/><br/><span class="hl-5">// param callback 渲染完成回调</span><br/><span class="hl-0">render</span><span class="hl-1">(</span><span class="hl-4">callback</span><span class="hl-1">?: () </span><span class="hl-6">=&gt;</span><span class="hl-1"> </span><span class="hl-6">void</span><span class="hl-1">): </span><span class="hl-6">void</span><span class="hl-1">,</span>
11
+ <pre><code><span class="hl-4">强制渲染</span><br/><span class="hl-4">调用</span><span class="hl-1"> </span><span class="hl-0">render</span><span class="hl-1">() </span><span class="hl-4">和</span><span class="hl-1"> </span><span class="hl-0">needsRender</span><span class="hl-1">() </span><span class="hl-4">均可在按需渲染时</span><span class="hl-1">,</span><span class="hl-4">使得画面渲染一次</span><br/><span class="hl-4">区别在于</span><span class="hl-1">:</span><br/><span class="hl-1">- </span><span class="hl-0">needsRender</span><span class="hl-1">() </span><span class="hl-4">为在下帧渲染画面</span><br/><span class="hl-1">- </span><span class="hl-0">render</span><span class="hl-1">() </span><span class="hl-4">在当前帧渲染画面</span><br/><span class="hl-4">推荐使用</span><span class="hl-1"> </span><span class="hl-0">needsRender</span><span class="hl-1">(), </span><span class="hl-4">可以更加流畅</span><span class="hl-1">。</span><span class="hl-4">但是如果需要截图等同步操作</span><span class="hl-1">,</span><span class="hl-4">可以使用</span><span class="hl-1"> </span><span class="hl-0">render</span><span class="hl-1">()</span><br/><br/><span class="hl-8">// param callback 渲染完成回调</span><br/><span class="hl-0">render</span><span class="hl-1">(</span><span class="hl-4">callback</span><span class="hl-1">?: () </span><span class="hl-6">=&gt;</span><span class="hl-1"> </span><span class="hl-6">void</span><span class="hl-1">): </span><span class="hl-6">void</span><span class="hl-1">,</span>
12
12
  </code><button>Copy</button></pre>
13
13
 
14
14
  <p>needsRender</p>
@@ -16,10 +16,10 @@
16
16
  </code><button>Copy</button></pre>
17
17
 
18
18
  <p>preloadPano</p>
19
- <pre><code><span class="hl-4">预加载点位图片资源</span><br/><span class="hl-5">// param panoIndex - 观察点序号</span><br/><span class="hl-5">// param callback - 加载完成回调, 并传递加载用时。</span><br/><span class="hl-5">// returns 加载完成的 Promise 参数同 callback</span><br/><span class="hl-0">preloadPano</span><span class="hl-1">(</span><span class="hl-4">panoIndex</span><span class="hl-1">: </span><span class="hl-4">number</span><span class="hl-1">, </span><span class="hl-4">callback</span><span class="hl-1">?: (</span><span class="hl-4">costs</span><span class="hl-1">: </span><span class="hl-8">number</span><span class="hl-1">) </span><span class="hl-6">=&gt;</span><span class="hl-1"> </span><span class="hl-6">void</span><span class="hl-1">): </span><span class="hl-8">Promise</span><span class="hl-1">&lt;</span><span class="hl-4">number</span><span class="hl-1">&gt;</span>
19
+ <pre><code><span class="hl-4">预加载点位图片资源</span><br/><span class="hl-8">// param panoIndex - 观察点序号</span><br/><span class="hl-8">// param callback - 加载完成回调, 并传递加载用时。</span><br/><span class="hl-8">// returns 加载完成的 Promise 参数同 callback</span><br/><span class="hl-0">preloadPano</span><span class="hl-1">(</span><span class="hl-4">panoIndex</span><span class="hl-1">: </span><span class="hl-4">number</span><span class="hl-1">, </span><span class="hl-4">callback</span><span class="hl-1">?: (</span><span class="hl-4">costs</span><span class="hl-1">: </span><span class="hl-7">number</span><span class="hl-1">) </span><span class="hl-6">=&gt;</span><span class="hl-1"> </span><span class="hl-6">void</span><span class="hl-1">): </span><span class="hl-7">Promise</span><span class="hl-1">&lt;</span><span class="hl-4">number</span><span class="hl-1">&gt;</span>
20
20
  </code><button>Copy</button></pre>
21
21
 
22
- </div><h4 class="tsd-returns-title">Returns <a href="../interfaces/react.FiveActionReactCallbacks.html" class="tsd-signature-type tsd-kind-interface">FiveActionReactCallbacks</a></h4><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-6">const</span><span class="hl-1"> { </span><span class="hl-7">updateCamera</span><span class="hl-1">, </span><span class="hl-7">initBasisLoader</span><span class="hl-1">, </span><span class="hl-7">getPixels</span><span class="hl-1">, </span><span class="hl-7">render</span><span class="hl-1">, </span><span class="hl-7">needsRender</span><span class="hl-1">, </span><span class="hl-7">preloadPano</span><span class="hl-1"> } = </span><span class="hl-0">useFiveAction</span><span class="hl-1">();</span>
22
+ </div><h4 class="tsd-returns-title">Returns <a href="../interfaces/react.FiveActionReactCallbacks.html" class="tsd-signature-type tsd-kind-interface">FiveActionReactCallbacks</a></h4><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-6">const</span><span class="hl-1"> { </span><span class="hl-5">updateCamera</span><span class="hl-1">, </span><span class="hl-5">initBasisLoader</span><span class="hl-1">, </span><span class="hl-5">getPixels</span><span class="hl-1">, </span><span class="hl-5">render</span><span class="hl-1">, </span><span class="hl-5">needsRender</span><span class="hl-1">, </span><span class="hl-5">preloadPano</span><span class="hl-1"> } = </span><span class="hl-0">useFiveAction</span><span class="hl-1">();</span>
23
23
  </code><button>Copy</button></pre>
24
24
 
25
25
  </div></div><aside class="tsd-sources"><ul><li>Defined in lib/react/hooks/useFiveAction.ts:166</li></ul></aside></div></li></ul></section></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,3 +1,3 @@
1
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>useFiveCameraDirection | 如视 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/react.html">react</a></li><li><a href="" aria-current="page">useFiveCameraDirection</a></li></ul><h1>Function useFiveCameraDirection</h1></div><section class="tsd-panel"><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="usefivecameradirection"><span class="tsd-kind-call-signature">useFiveCameraDirection</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Vector3</span><a href="#usefivecameradirection" 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></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Five React Hooks: 得到当前相机的方向(单位向量)</p>
2
2
  </div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Vector3</span></h4><p>当前相机的方向的单位向量</p>
3
- <div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/react/hooks/useFiveCameraDirection.ts:14</li></ul></aside></div></li></ul></section></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>
3
+ <aside class="tsd-sources"><ul><li>Defined in lib/react/hooks/useFiveCameraDirection.ts:14</li></ul></aside></div></li></ul></section></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,3 +1,3 @@
1
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>useFiveCameraRaycaster | 如视 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/react.html">react</a></li><li><a href="" aria-current="page">useFiveCameraRaycaster</a></li></ul><h1>Function useFiveCameraRaycaster</h1></div><section class="tsd-panel"><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="usefivecameraraycaster"><span class="tsd-kind-call-signature">useFiveCameraRaycaster</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Raycaster</span><a href="#usefivecameraraycaster" 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></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Five React Hooks: 得到当前相机的方向(射线对象)</p>
2
2
  </div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Raycaster</span></h4><p>当前相机的方向的射线对象</p>
3
- <div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/react/hooks/useFiveCameraRaycaster.ts:16</li></ul></aside></div></li></ul></section></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>
3
+ <aside class="tsd-sources"><ul><li>Defined in lib/react/hooks/useFiveCameraRaycaster.ts:16</li></ul></aside></div></li></ul></section></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,6 +1,6 @@
1
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>useFiveCurrentObserver | 如视 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/react.html">react</a></li><li><a href="" aria-current="page">useFiveCurrentObserver</a></li></ul><h1>Function useFiveCurrentObserver</h1></div><section class="tsd-panel"><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="usefivecurrentobserver"><span class="tsd-kind-call-signature">useFiveCurrentObserver</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/five.WorkObserver.html" class="tsd-signature-type tsd-kind-interface">WorkObserver</a><a href="#usefivecurrentobserver" 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></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Five React Hooks: Five 的当前观测点</p>
2
2
  </div><h4 class="tsd-returns-title">Returns <a href="../interfaces/five.WorkObserver.html" class="tsd-signature-type tsd-kind-interface">WorkObserver</a></h4><p>Work.observers[number] 当前观测点, 如果 work 未加载则为 undefined</p>
3
- <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-6">const</span><span class="hl-1"> </span><span class="hl-7">observer</span><span class="hl-1"> = </span><span class="hl-0">useFiveCurrentObserver</span><span class="hl-1">();</span>
3
+ <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-6">const</span><span class="hl-1"> </span><span class="hl-5">observer</span><span class="hl-1"> = </span><span class="hl-0">useFiveCurrentObserver</span><span class="hl-1">();</span>
4
4
  </code><button>Copy</button></pre>
5
5
 
6
6
  </div></div><aside class="tsd-sources"><ul><li>Defined in lib/react/hooks/useFiveCurrentObserver.ts:13</li></ul></aside></div></li></ul></section></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,6 +1,6 @@
1
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>useFiveCurrentState | 如视 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/react.html">react</a></li><li><a href="" aria-current="page">useFiveCurrentState</a></li></ul><h1>Function useFiveCurrentState</h1></div><section class="tsd-panel"><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="usefivecurrentstate"><span class="tsd-kind-call-signature">useFiveCurrentState</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">[</span><br/>    currentState<span class="tsd-signature-symbol">:</span> <a href="../interfaces/five.State.html" class="tsd-signature-type tsd-kind-interface">State</a><span class="tsd-signature-symbol">,</span><br/>    setState<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span><br/>        <span class="tsd-kind-parameter">state</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.State.html" class="tsd-signature-type tsd-kind-interface">State</a><span class="tsd-signature-symbol">&gt;</span> <span class="tsd-signature-symbol">|</span> (<span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">prevState</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/five.State.html" class="tsd-signature-type tsd-kind-interface">State</a><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=&gt;</span> <span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/five.State.html" class="tsd-signature-type tsd-kind-interface">State</a><span class="tsd-signature-symbol">&gt;</span>)<span class="tsd-signature-symbol">,</span><br/>        <span class="tsd-kind-parameter">immediately</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">,</span><br/>        <span class="tsd-kind-parameter">userAction</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=&gt;</span> <span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">]</span><a href="#usefivecurrentstate" 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></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Five React Hooks: Five 的实时状态</p>
2
2
  </div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">[</span><br/>    currentState<span class="tsd-signature-symbol">:</span> <a href="../interfaces/five.State.html" class="tsd-signature-type tsd-kind-interface">State</a><span class="tsd-signature-symbol">,</span><br/>    setState<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span><br/>        <span class="tsd-kind-parameter">state</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.State.html" class="tsd-signature-type tsd-kind-interface">State</a><span class="tsd-signature-symbol">&gt;</span> <span class="tsd-signature-symbol">|</span> (<span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">prevState</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/five.State.html" class="tsd-signature-type tsd-kind-interface">State</a><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=&gt;</span> <span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/five.State.html" class="tsd-signature-type tsd-kind-interface">State</a><span class="tsd-signature-symbol">&gt;</span>)<span class="tsd-signature-symbol">,</span><br/>        <span class="tsd-kind-parameter">immediately</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">,</span><br/>        <span class="tsd-kind-parameter">userAction</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=&gt;</span> <span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">]</span></h4><p>[ currentState: Five 的实时状态, setState: 设置 Five 的状态 ]</p>
3
- <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-6">const</span><span class="hl-1"> [ </span><span class="hl-7">currentState</span><span class="hl-1">, </span><span class="hl-7">setState</span><span class="hl-1"> ] = </span><span class="hl-4">useFiveCurrentState</span><span class="hl-1">;</span>
3
+ <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-6">const</span><span class="hl-1"> [ </span><span class="hl-5">currentState</span><span class="hl-1">, </span><span class="hl-5">setState</span><span class="hl-1"> ] = </span><span class="hl-4">useFiveCurrentState</span><span class="hl-1">;</span>
4
4
  </code><button>Copy</button></pre>
5
5
 
6
6
  </div></div><aside class="tsd-sources"><ul><li>Defined in lib/react/hooks/useFiveCurrentState.ts:14</li></ul></aside></div></li></ul></section></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,6 +1,6 @@
1
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>useFiveFloor | 如视 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/react.html">react</a></li><li><a href="" aria-current="page">useFiveFloor</a></li></ul><h1>Function useFiveFloor</h1></div><section class="tsd-panel"><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="usefivefloor"><span class="tsd-kind-call-signature">useFiveFloor</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">[</span><br/>    shownFloor<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">,</span><br/>    totalFloorLength<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">,</span><br/>    showFloor<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">floorIndex</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">=&gt;</span> <span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">]</span><a href="#usefivefloor" 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></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Five React Hooks: Five 楼层</p>
2
2
  </div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">[</span><br/>    shownFloor<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">,</span><br/>    totalFloorLength<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">,</span><br/>    showFloor<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">floorIndex</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">=&gt;</span> <span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">]</span></h4><p>[ shownFloor: Five 当前显示的楼层, null 为都显示, showFloor: 设置显示楼层,不传参数为都显示 ]</p>
3
- <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-6">const</span><span class="hl-1"> [ </span><span class="hl-7">shownFloor</span><span class="hl-1">, </span><span class="hl-7">showFloor</span><span class="hl-1"> ] = </span><span class="hl-4">useFiveFloor</span><span class="hl-1">;</span>
3
+ <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-6">const</span><span class="hl-1"> [ </span><span class="hl-5">shownFloor</span><span class="hl-1">, </span><span class="hl-5">showFloor</span><span class="hl-1"> ] = </span><span class="hl-4">useFiveFloor</span><span class="hl-1">;</span>
4
4
  </code><button>Copy</button></pre>
5
5
 
6
6
  </div></div><aside class="tsd-sources"><ul><li>Defined in lib/react/hooks/useFiveFloor.ts:15</li></ul></aside></div></li></ul></section></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,6 +1,6 @@
1
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>useFiveHelper | 如视 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/react.html">react</a></li><li><a href="" aria-current="page">useFiveHelper</a></li></ul><h1>Function useFiveHelper</h1></div><section class="tsd-panel"><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="usefivehelper"><span class="tsd-kind-call-signature">useFiveHelper</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">[</span><br/>    helperVisible<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">,</span><br/>    toggleHelperVisible<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">visible</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=&gt;</span> <span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">]</span><a href="#usefivehelper" 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></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Five React Hooks: Five 帮助元素的隐藏/显示</p>
2
2
  </div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">[</span>helperVisible<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">,</span> toggleHelperVisible<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">visible</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=&gt;</span> <span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">]</span></h4><p>[ helperVisible: Five 帮助元素是否显示显示, toggleHelperVisible: 设置 帮助元素的隐藏/显示 ]</p>
3
- <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-6">const</span><span class="hl-1"> [ </span><span class="hl-7">helperVisible</span><span class="hl-1">, </span><span class="hl-7">toggleHelperVisible</span><span class="hl-1"> ] = </span><span class="hl-4">useFiveHelper</span><span class="hl-1">;</span>
3
+ <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-6">const</span><span class="hl-1"> [ </span><span class="hl-5">helperVisible</span><span class="hl-1">, </span><span class="hl-5">toggleHelperVisible</span><span class="hl-1"> ] = </span><span class="hl-4">useFiveHelper</span><span class="hl-1">;</span>
4
4
  </code><button>Copy</button></pre>
5
5
 
6
6
  </div></div><aside class="tsd-sources"><ul><li>Defined in lib/react/hooks/useFiveHelper.ts:14</li></ul></aside></div></li></ul></section></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,9 +1,9 @@
1
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>useFiveModelIntersectRaycaster | 如视 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/react.html">react</a></li><li><a href="" aria-current="page">useFiveModelIntersectRaycaster</a></li></ul><h1>Function useFiveModelIntersectRaycaster</h1></div><section class="tsd-panel"><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="usefivemodelintersectraycaster"><span class="tsd-kind-call-signature">useFiveModelIntersectRaycaster</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</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">=&gt;</span> <a href="../interfaces/five.Intersection.html" class="tsd-signature-type tsd-kind-interface">Intersection</a><span class="tsd-signature-symbol">[]</span><a href="#usefivemodelintersectraycaster" 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></div><div class="tsd-description"><code class="tsd-tag">Function</code><div class="tsd-comment tsd-typography"><p>Five React Hooks: 获取当前模型碰撞检测方法</p>
2
2
  <p>fiveModelIntersectRaycaster</p>
3
- <pre><code><span class="hl-4">计算模型射线碰撞检测</span><br/><span class="hl-5">// param raycaster THREE 射线对象</span><br/><span class="hl-5">// param floors 和某一楼层做碰撞检测, 不传为和所有楼层做碰撞检测</span><br/><span class="hl-5">// returns 返回碰撞</span><br/><span class="hl-0">intersectRaycaster</span><span class="hl-1">(</span><span class="hl-4">raycaster</span><span class="hl-1">: </span><span class="hl-7">THREE</span><span class="hl-1">.</span><span class="hl-4">Raycaster</span><span class="hl-1">, </span><span class="hl-4">floors</span><span class="hl-1">?: </span><span class="hl-4">number</span><span class="hl-1"> | </span><span class="hl-4">number</span><span class="hl-1">[]): </span><span class="hl-4">Intersection</span><span class="hl-1">[]</span>
3
+ <pre><code><span class="hl-4">计算模型射线碰撞检测</span><br/><span class="hl-8">// param raycaster THREE 射线对象</span><br/><span class="hl-8">// param floors 和某一楼层做碰撞检测, 不传为和所有楼层做碰撞检测</span><br/><span class="hl-8">// returns 返回碰撞</span><br/><span class="hl-0">intersectRaycaster</span><span class="hl-1">(</span><span class="hl-4">raycaster</span><span class="hl-1">: </span><span class="hl-5">THREE</span><span class="hl-1">.</span><span class="hl-4">Raycaster</span><span class="hl-1">, </span><span class="hl-4">floors</span><span class="hl-1">?: </span><span class="hl-4">number</span><span class="hl-1"> | </span><span class="hl-4">number</span><span class="hl-1">[]): </span><span class="hl-4">Intersection</span><span class="hl-1">[]</span>
4
4
  </code><button>Copy</button></pre>
5
5
 
6
- </div><h4 class="tsd-returns-title">Returns <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">=&gt;</span> <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-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-6">const</span><span class="hl-1"> </span><span class="hl-7">fiveModelIntersectRaycaster</span><span class="hl-1"> = </span><span class="hl-0">useFiveModelIntersectRaycaster</span><span class="hl-1">();</span><br/><span class="hl-6">const</span><span class="hl-1"> </span><span class="hl-7">intersects</span><span class="hl-1"> = </span><span class="hl-0">fiveModelIntersectRaycaster</span><span class="hl-1">(</span><span class="hl-4">raycaster</span><span class="hl-1">);</span>
6
+ </div><h4 class="tsd-returns-title">Returns <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">=&gt;</span> <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-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-6">const</span><span class="hl-1"> </span><span class="hl-5">fiveModelIntersectRaycaster</span><span class="hl-1"> = </span><span class="hl-0">useFiveModelIntersectRaycaster</span><span class="hl-1">();</span><br/><span class="hl-6">const</span><span class="hl-1"> </span><span class="hl-5">intersects</span><span class="hl-1"> = </span><span class="hl-0">fiveModelIntersectRaycaster</span><span class="hl-1">(</span><span class="hl-4">raycaster</span><span class="hl-1">);</span>
7
7
  </code><button>Copy</button></pre>
8
8
 
9
9
  </div></div><aside class="tsd-sources"><ul><li>Defined in lib/react/hooks/useFiveModelIntersectRaycaster.ts:24</li></ul></aside></div></li></ul></section></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
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>useFiveModelReadyState | 如视 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/react.html">react</a></li><li><a href="" aria-current="page">useFiveModelReadyState</a></li></ul><h1>Function useFiveModelReadyState</h1></div><section class="tsd-panel"><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="usefivemodelreadystate"><span class="tsd-kind-call-signature">useFiveModelReadyState</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;Empty&quot;</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">&quot;Loaded&quot;</span><a href="#usefivemodelreadystate" 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></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Five React Hooks: 获取当前模型加载状态</p>
2
2
  </div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">&quot;Empty&quot;</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">&quot;Loaded&quot;</span></h4><p>&quot;Loaded&quot;: 加载完成
3
3
  &quot;Empty&quot; 加载未完成</p>
4
- <div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/react/hooks/useFiveModelReadyState.ts:15</li></ul></aside></div></li></ul></section></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>
4
+ <aside class="tsd-sources"><ul><li>Defined in lib/react/hooks/useFiveModelReadyState.ts:15</li></ul></aside></div></li></ul></section></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,9 +1,9 @@
1
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>useFiveProject2d | 如视 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/react.html">react</a></li><li><a href="" aria-current="page">useFiveProject2d</a></li></ul><h1>Function useFiveProject2d</h1></div><section class="tsd-panel"><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="usefiveproject2d"><span class="tsd-kind-call-signature">useFiveProject2d</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">vector</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Vector3</span><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">testModel</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=&gt;</span> <span class="tsd-signature-type">Vector2</span><a href="#usefiveproject2d" 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></div><div class="tsd-description"><code class="tsd-tag">Function</code><div class="tsd-comment tsd-typography"><p>Five React Hooks: 将三维的坐标对应到而为屏幕</p>
2
2
  <p>preject2d</p>
3
- <pre><code><span class="hl-4">计算模型射线碰撞检测</span><br/><span class="hl-5">// param vector 三维的坐标</span><br/><span class="hl-5">// param testModel 是否和模型检测,如果检测,则被模型遮挡会返回 null</span><br/><span class="hl-5">// returns 三维的坐标 或者 null</span><br/><span class="hl-0">preject2d</span><span class="hl-1">(</span><span class="hl-4">vector</span><span class="hl-1">: </span><span class="hl-7">THREE</span><span class="hl-1">.</span><span class="hl-4">Vector3</span><span class="hl-1">, </span><span class="hl-4">testModel</span><span class="hl-1">: </span><span class="hl-4">boolean</span><span class="hl-1">): </span><span class="hl-7">THREE</span><span class="hl-1">.</span><span class="hl-4">Vector2</span><span class="hl-1"> | </span><span class="hl-6">null</span>
3
+ <pre><code><span class="hl-4">计算模型射线碰撞检测</span><br/><span class="hl-8">// param vector 三维的坐标</span><br/><span class="hl-8">// param testModel 是否和模型检测,如果检测,则被模型遮挡会返回 null</span><br/><span class="hl-8">// returns 三维的坐标 或者 null</span><br/><span class="hl-0">preject2d</span><span class="hl-1">(</span><span class="hl-4">vector</span><span class="hl-1">: </span><span class="hl-5">THREE</span><span class="hl-1">.</span><span class="hl-4">Vector3</span><span class="hl-1">, </span><span class="hl-4">testModel</span><span class="hl-1">: </span><span class="hl-4">boolean</span><span class="hl-1">): </span><span class="hl-5">THREE</span><span class="hl-1">.</span><span class="hl-4">Vector2</span><span class="hl-1"> | </span><span class="hl-6">null</span>
4
4
  </code><button>Copy</button></pre>
5
5
 
6
- </div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">vector</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Vector3</span><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">testModel</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=&gt;</span> <span class="tsd-signature-type">Vector2</span></h4><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-6">const</span><span class="hl-1"> </span><span class="hl-7">preject2d</span><span class="hl-1"> = </span><span class="hl-0">useFiveProject2d</span><span class="hl-1">();</span><br/><span class="hl-6">const</span><span class="hl-1"> { </span><span class="hl-4">x</span><span class="hl-1">: </span><span class="hl-7">width</span><span class="hl-1">, </span><span class="hl-4">y</span><span class="hl-1">: </span><span class="hl-7">height</span><span class="hl-1"> } = </span><span class="hl-0">preject2d</span><span class="hl-1">(</span><span class="hl-6">new</span><span class="hl-1"> </span><span class="hl-7">THREE</span><span class="hl-1">.</span><span class="hl-0">Vector3</span><span class="hl-1">(</span><span class="hl-13">0</span><span class="hl-1">, </span><span class="hl-13">0</span><span class="hl-1">, </span><span class="hl-13">0</span><span class="hl-1">));</span>
6
+ </div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">vector</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Vector3</span><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">testModel</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=&gt;</span> <span class="tsd-signature-type">Vector2</span></h4><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-6">const</span><span class="hl-1"> </span><span class="hl-5">preject2d</span><span class="hl-1"> = </span><span class="hl-0">useFiveProject2d</span><span class="hl-1">();</span><br/><span class="hl-6">const</span><span class="hl-1"> { </span><span class="hl-4">x</span><span class="hl-1">: </span><span class="hl-5">width</span><span class="hl-1">, </span><span class="hl-4">y</span><span class="hl-1">: </span><span class="hl-5">height</span><span class="hl-1"> } = </span><span class="hl-0">preject2d</span><span class="hl-1">(</span><span class="hl-6">new</span><span class="hl-1"> </span><span class="hl-5">THREE</span><span class="hl-1">.</span><span class="hl-0">Vector3</span><span class="hl-1">(</span><span class="hl-10">0</span><span class="hl-1">, </span><span class="hl-10">0</span><span class="hl-1">, </span><span class="hl-10">0</span><span class="hl-1">));</span>
7
7
  </code><button>Copy</button></pre>
8
8
 
9
9
  </div></div><aside class="tsd-sources"><ul><li>Defined in lib/react/hooks/useFiveProject2d.ts:22</li></ul></aside></div></li></ul></section></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,6 +1,6 @@
1
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>useFiveSceneEffect | 如视 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/react.html">react</a></li><li><a href="" aria-current="page">useFiveSceneEffect</a></li></ul><h1>Function useFiveSceneEffect</h1></div><section class="tsd-panel"><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="usefivesceneeffect"><span class="tsd-kind-call-signature">useFiveSceneEffect</span><span class="tsd-signature-symbol">(</span><br/>    <span class="tsd-kind-parameter">callback</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">scene</span><span class="tsd-signature-symbol">:</span> <a href="../classes/five.Scene.html" class="tsd-signature-type tsd-kind-class">Scene</a><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=&gt;</span> <span class="tsd-signature-type">void</span> <span class="tsd-signature-symbol">|</span> (<span class="tsd-signature-symbol">()</span> <span class="tsd-signature-symbol">=&gt;</span> <span class="tsd-signature-type">void</span>)<span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">deps</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">DependencyList</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#usefivesceneeffect" 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></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Five React Hooks: 操作 Five 的 Scene</p>
2
2
  </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">callback</span>: <span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">scene</span><span class="tsd-signature-symbol">:</span> <a href="../classes/five.Scene.html" class="tsd-signature-type tsd-kind-class">Scene</a><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=&gt;</span> <span class="tsd-signature-type">void</span> <span class="tsd-signature-symbol">|</span> (<span class="tsd-signature-symbol">()</span> <span class="tsd-signature-symbol">=&gt;</span> <span class="tsd-signature-type">void</span>)</span><div class="tsd-comment tsd-typography"><p>获取 Five 的 Scene 的回调函数</p>
3
- </div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">deps</span>: <span class="tsd-signature-type">DependencyList</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-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-0">useFiveSceneEffect</span><span class="hl-1">(</span><span class="hl-4">scene</span><span class="hl-1"> </span><span class="hl-6">=&gt;</span><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-5">// object is a THREE.Object3D</span><br/><span class="hl-1"> </span><span class="hl-4">scene</span><span class="hl-1">.</span><span class="hl-0">add</span><span class="hl-1">(</span><span class="hl-4">object</span><span class="hl-1">);</span><br/><span class="hl-1"> </span><span class="hl-3">return</span><span class="hl-1"> () </span><span class="hl-6">=&gt;</span><span class="hl-1"> </span><span class="hl-4">scene</span><span class="hl-1">.</span><span class="hl-0">remove</span><span class="hl-1">(</span><span class="hl-4">object</span><span class="hl-1">); </span><span class="hl-5">// 析构函数</span><br/><span class="hl-1">});</span>
3
+ </div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">deps</span>: <span class="tsd-signature-type">DependencyList</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-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-0">useFiveSceneEffect</span><span class="hl-1">(</span><span class="hl-4">scene</span><span class="hl-1"> </span><span class="hl-6">=&gt;</span><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-8">// object is a THREE.Object3D</span><br/><span class="hl-1"> </span><span class="hl-4">scene</span><span class="hl-1">.</span><span class="hl-0">add</span><span class="hl-1">(</span><span class="hl-4">object</span><span class="hl-1">);</span><br/><span class="hl-1"> </span><span class="hl-3">return</span><span class="hl-1"> () </span><span class="hl-6">=&gt;</span><span class="hl-1"> </span><span class="hl-4">scene</span><span class="hl-1">.</span><span class="hl-0">remove</span><span class="hl-1">(</span><span class="hl-4">object</span><span class="hl-1">); </span><span class="hl-8">// 析构函数</span><br/><span class="hl-1">});</span>
4
4
  </code><button>Copy</button></pre>
5
5
 
6
6
  </div></div><aside class="tsd-sources"><ul><li>Defined in lib/react/hooks/useFiveSceneEffect.ts:17</li></ul></aside></div></li></ul></section></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,10 +1,10 @@
1
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>useFiveWork | 如视 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/react.html">react</a></li><li><a href="" aria-current="page">useFiveWork</a></li></ul><h1>Function useFiveWork</h1></div><section class="tsd-panel"><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="usefivework"><span class="tsd-kind-call-signature">useFiveWork</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">[</span><br/>    works<span class="tsd-signature-symbol">:</span> <a href="../types/five.Works.html" class="tsd-signature-type tsd-kind-type-alias">Works</a><span class="tsd-signature-symbol">,</span><br/>    loadWork<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span><br/>        <span class="tsd-kind-parameter">work</span><span class="tsd-signature-symbol">:</span> <a href="../classes/five.Work.html" class="tsd-signature-type tsd-kind-class">Work</a> <span class="tsd-signature-symbol">|</span> <a href="../classes/five.Work.html" class="tsd-signature-type tsd-kind-class">Work</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">,</span><br/>        <span class="tsd-kind-parameter">state</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">&quot;initial&quot;</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">&quot;inherit&quot;</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Omit</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/five.State.html" class="tsd-signature-type tsd-kind-interface">State</a><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">&quot;offset&quot;</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">,</span><br/>        <span class="tsd-kind-parameter">options</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span> <span class="tsd-signature-symbol">|</span> <a href="../interfaces/five.FiveLoadOptions.html" class="tsd-signature-type tsd-kind-interface">FiveLoadOptions</a><span class="tsd-signature-symbol">,</span><br/>        <span class="tsd-kind-parameter">userAction</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=&gt;</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">]</span><a href="#usefivework" 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></div><div class="tsd-description"><code class="tsd-tag">Function</code><div class="tsd-comment tsd-typography"><p>Five React Hooks: 获取/设置当前的 Work</p>
2
2
  </div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">[</span><br/>    works<span class="tsd-signature-symbol">:</span> <a href="../types/five.Works.html" class="tsd-signature-type tsd-kind-type-alias">Works</a><span class="tsd-signature-symbol">,</span><br/>    loadWork<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span><br/>        <span class="tsd-kind-parameter">work</span><span class="tsd-signature-symbol">:</span> <a href="../classes/five.Work.html" class="tsd-signature-type tsd-kind-class">Work</a> <span class="tsd-signature-symbol">|</span> <a href="../classes/five.Work.html" class="tsd-signature-type tsd-kind-class">Work</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">,</span><br/>        <span class="tsd-kind-parameter">state</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">&quot;initial&quot;</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">&quot;inherit&quot;</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Omit</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/five.State.html" class="tsd-signature-type tsd-kind-interface">State</a><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">&quot;offset&quot;</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">,</span><br/>        <span class="tsd-kind-parameter">options</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span> <span class="tsd-signature-symbol">|</span> <a href="../interfaces/five.FiveLoadOptions.html" class="tsd-signature-type tsd-kind-interface">FiveLoadOptions</a><span class="tsd-signature-symbol">,</span><br/>        <span class="tsd-kind-parameter">userAction</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=&gt;</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">]</span></h4><p>[ work: 获取当前的 Work, loadWork: 设置 Work ]</p>
3
3
  <p>loadWork</p>
4
- <pre><code><span class="hl-4">加载</span><span class="hl-1"> </span><span class="hl-4">Work</span><span class="hl-1"> </span><span class="hl-4">数据</span><br/><span class="hl-5">// param work Work 数据</span><br/><span class="hl-5">// param state 初始化姿态</span><br/><span class="hl-5">// - &quot;inherit&quot; 使用当前姿态</span><br/><span class="hl-5">// - &quot;initial&quot; 使用 Work 数据中的 initial 姿态</span><br/><span class="hl-5">// - State 自定义姿态</span><br/><span class="hl-5">// param duration 切换时间</span><br/><span class="hl-1">(</span><span class="hl-4">work</span><span class="hl-1">: </span><span class="hl-8">Work</span><span class="hl-1">, </span><span class="hl-4">state</span><span class="hl-1">?: </span><span class="hl-2">&quot;inherit&quot;</span><span class="hl-1"> | </span><span class="hl-2">&quot;initial&quot;</span><span class="hl-1"> | </span><span class="hl-8">Partial</span><span class="hl-1">&lt;</span><span class="hl-8">Omit</span><span class="hl-1">&lt;</span><span class="hl-8">State</span><span class="hl-1">, </span><span class="hl-2">&quot;offset&quot;</span><span class="hl-1">&gt;&gt;, </span><span class="hl-4">duration</span><span class="hl-1">?: </span><span class="hl-8">number</span><span class="hl-1">) </span><span class="hl-6">=&gt;</span><span class="hl-1"> </span><span class="hl-6">void</span>
4
+ <pre><code><span class="hl-4">加载</span><span class="hl-1"> </span><span class="hl-4">Work</span><span class="hl-1"> </span><span class="hl-4">数据</span><br/><span class="hl-8">// param work Work 数据</span><br/><span class="hl-8">// param state 初始化姿态</span><br/><span class="hl-8">// - &quot;inherit&quot; 使用当前姿态</span><br/><span class="hl-8">// - &quot;initial&quot; 使用 Work 数据中的 initial 姿态</span><br/><span class="hl-8">// - State 自定义姿态</span><br/><span class="hl-8">// param duration 切换时间</span><br/><span class="hl-1">(</span><span class="hl-4">work</span><span class="hl-1">: </span><span class="hl-7">Work</span><span class="hl-1">, </span><span class="hl-4">state</span><span class="hl-1">?: </span><span class="hl-2">&quot;inherit&quot;</span><span class="hl-1"> | </span><span class="hl-2">&quot;initial&quot;</span><span class="hl-1"> | </span><span class="hl-7">Partial</span><span class="hl-1">&lt;</span><span class="hl-7">Omit</span><span class="hl-1">&lt;</span><span class="hl-7">State</span><span class="hl-1">, </span><span class="hl-2">&quot;offset&quot;</span><span class="hl-1">&gt;&gt;, </span><span class="hl-4">duration</span><span class="hl-1">?: </span><span class="hl-7">number</span><span class="hl-1">) </span><span class="hl-6">=&gt;</span><span class="hl-1"> </span><span class="hl-6">void</span>
5
5
  </code><button>Copy</button></pre>
6
6
 
7
- <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-6">const</span><span class="hl-1"> [ </span><span class="hl-7">work</span><span class="hl-1">, </span><span class="hl-7">loadWork</span><span class="hl-1"> ] = </span><span class="hl-4">useFiveWork</span><span class="hl-1">;</span>
7
+ <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-6">const</span><span class="hl-1"> [ </span><span class="hl-5">work</span><span class="hl-1">, </span><span class="hl-5">loadWork</span><span class="hl-1"> ] = </span><span class="hl-4">useFiveWork</span><span class="hl-1">;</span>
8
8
  </code><button>Copy</button></pre>
9
9
 
10
10
  </div></div><aside class="tsd-sources"><ul><li>Defined in lib/react/hooks/useFiveWork.ts:28</li></ul></aside></div></li></ul></section></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>