@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.
- package/README.md +1 -391
- package/docs/assets/hierarchy.js +1 -1
- package/docs/assets/highlight.css +16 -30
- package/docs/assets/icons.js +1 -1
- package/docs/assets/icons.svg +1 -1
- package/docs/assets/main.js +2 -2
- package/docs/assets/navigation.js +1 -1
- package/docs/assets/search.js +1 -1
- package/docs/assets/style.css +3 -3
- package/docs/classes/five.AdaptiveLuminancePass.html +2 -2
- package/docs/classes/five.AnimationFrameLoop.html +5 -5
- package/docs/classes/five.BoundingMesh.html +1 -1
- package/docs/classes/five.Camera.html +5 -5
- package/docs/classes/five.EffectComposer.html +1 -1
- package/docs/classes/five.EyeDomeLightingPass.html +2 -2
- package/docs/classes/five.Five.html +125 -119
- package/docs/classes/five.FivePass.html +2 -2
- package/docs/classes/five.FullScreenQuad.html +2 -2
- package/docs/classes/five.InternalWebGLRenderer.html +1 -1
- package/docs/classes/five.Model.html +26 -26
- package/docs/classes/five.ModelScene.html +12 -12
- package/docs/classes/five.Motion.html +1 -1
- package/docs/classes/five.NetworkSubscribe.html +23 -23
- package/docs/classes/five.PBMContainer.html +3 -3
- package/docs/classes/five.PBMGSObject.html +22 -0
- package/docs/classes/five.PBMGroup.html +1 -1
- package/docs/classes/five.PBMMesh.html +1 -1
- package/docs/classes/five.PBMMeshMaterial.html +3 -3
- package/docs/classes/five.PBMPointCloud.html +1 -1
- package/docs/classes/five.PBMPointCloudMaterial.html +3 -3
- package/docs/classes/five.PBMSkinnedMesh.html +1 -1
- package/docs/classes/five.PanoCircleMesh.html +4 -4
- package/docs/classes/five.PanoCircleMeshCustom.html +4 -4
- package/docs/classes/five.PanoCircleMeshSolid.html +4 -4
- package/docs/classes/five.Parameter.html +50 -50
- package/docs/classes/five.Scene.html +3 -3
- package/docs/classes/five.Subscribe.html +26 -25
- package/docs/classes/five.Tile3D.html +26 -26
- package/docs/classes/five.TileNode.html +2 -2
- package/docs/classes/five.Tileset.html +11 -11
- package/docs/classes/five.TrajectoryNode.html +1 -1
- package/docs/classes/five.Work.html +14 -14
- package/docs/classes/five.WorkResolvedObserver.html +15 -15
- package/docs/classes/gltf-loader.DDSLoader.html +1 -1
- package/docs/classes/gltf-loader.DRACOLoader.html +1 -1
- package/docs/classes/gltf-loader.GLTFLoader.html +6 -6
- package/docs/classes/gltf-loader.GLTFObject.html +1 -1
- package/docs/classes/gltf-loader.THREEGLTFLoader.html +1 -1
- package/docs/classes/line.Line.html +1 -1
- package/docs/classes/line.LineGeometry.html +4 -4
- package/docs/classes/line.LineMaterial.html +1 -1
- package/docs/classes/line.LineSegmentsGeometry.html +4 -4
- package/docs/classes/line.THREE_Line2.html +1 -1
- package/docs/classes/line.THREE_LineSegments2.html +1 -1
- package/docs/classes/plugins.BasePlugin.Controller.html +16 -16
- package/docs/classes/plugins.RoundedBoxGeometry.html +1 -1
- package/docs/classes/react.Store.html +12 -11
- package/docs/classes/sticker.Sticker.html +11 -11
- package/docs/classes/vfx.Airflow.html +1 -1
- package/docs/classes/vfx.Flame.html +1 -1
- package/docs/classes/vfx.Particle.html +31 -31
- package/docs/classes/vfx.ParticleGPU.html +7 -7
- package/docs/classes/vfx.SpotLight.html +1 -1
- package/docs/documents/coordinate.html +7 -3
- package/docs/documents/five.FivePlugin.plugins.html +32 -17
- package/docs/documents/five.Pose.coordinate.html +7 -3
- package/docs/documents/intro.html +6 -0
- package/docs/documents/mode.html +15 -0
- package/docs/documents/plugins.html +32 -17
- package/docs/documents/quick-start.html +54 -0
- package/docs/documents/release_notes_6.7.html +209 -0
- package/docs/documents/state.html +2 -0
- package/docs/documents/support.html +25 -0
- package/docs/documents/work.html +67 -0
- package/docs/functions/five.coordinatesToVector.html +1 -1
- package/docs/functions/five.defaultImageURLTransform.html +3 -3
- package/docs/functions/five.headingToLongitude.html +1 -1
- package/docs/functions/five.loadSplat.html +1 -0
- package/docs/functions/five.loadSpz.html +1 -0
- package/docs/functions/five.longitudeToHeading.html +1 -1
- package/docs/functions/five.parseWork.html +3 -3
- package/docs/functions/five.vectorToCoordinates.html +1 -1
- package/docs/functions/react.createFiveProvider.html +2 -2
- package/docs/functions/react.createStore.html +8 -8
- package/docs/functions/react.useFiveAction.html +5 -5
- package/docs/functions/react.useFiveCameraDirection.html +1 -1
- package/docs/functions/react.useFiveCameraRaycaster.html +1 -1
- package/docs/functions/react.useFiveCurrentObserver.html +1 -1
- package/docs/functions/react.useFiveCurrentState.html +1 -1
- package/docs/functions/react.useFiveFloor.html +1 -1
- package/docs/functions/react.useFiveHelper.html +1 -1
- package/docs/functions/react.useFiveModelIntersectRaycaster.html +2 -2
- package/docs/functions/react.useFiveModelReadyState.html +1 -1
- package/docs/functions/react.useFiveProject2d.html +2 -2
- package/docs/functions/react.useFiveSceneEffect.html +1 -1
- package/docs/functions/react.useFiveWork.html +2 -2
- package/docs/functions/vue.useFiveAction.html +7 -7
- package/docs/functions/vue.useFiveCameraDirection.html +1 -1
- package/docs/functions/vue.useFiveCameraRaycaster.html +1 -1
- package/docs/functions/vue.useFiveCurrentObserver.html +1 -1
- package/docs/functions/vue.useFiveCurrentState.html +1 -1
- package/docs/functions/vue.useFiveFloor.html +1 -1
- package/docs/functions/vue.useFiveHelper.html +1 -1
- package/docs/functions/vue.useFiveModel.html +1 -1
- package/docs/functions/vue.useFiveModelBounding.html +1 -1
- package/docs/functions/vue.useFiveModelIntersectRaycaster.html +2 -2
- package/docs/functions/vue.useFiveModelReadyState.html +1 -1
- package/docs/functions/vue.useFiveProject2d.html +2 -2
- package/docs/functions/vue.useFiveScene.html +1 -1
- package/docs/functions/vue.useFiveState.html +1 -1
- package/docs/functions/vue.useFiveWorks.html +2 -2
- package/docs/hierarchy.html +1 -1
- package/docs/index.html +10 -183
- package/docs/interfaces/five.AddableObject.html +5 -5
- package/docs/interfaces/five.AjaxOptions.html +5 -5
- package/docs/interfaces/five.BaseEvent.html +1 -1
- package/docs/interfaces/five.EventCallback.html +194 -194
- package/docs/interfaces/five.FiveInitArgs.html +18 -18
- package/docs/interfaces/five.FiveLoadOptions.html +3 -3
- package/docs/interfaces/five.FloorplanControllerCustomInitArgs.html +8 -8
- package/docs/interfaces/five.GestureEvent.html +1 -1
- package/docs/interfaces/five.ImageOptions.html +11 -11
- package/docs/interfaces/five.ImageURLOptions.html +8 -8
- package/docs/interfaces/five.IntersectEvent.html +1 -1
- package/docs/interfaces/five.IntersectMesh.html +1 -1
- package/docs/interfaces/five.IntersectMeshInterface.html +1 -1
- package/docs/interfaces/five.Intersection.html +2 -2
- package/docs/interfaces/five.LooseWorkWithExtrinsics.html +7 -7
- package/docs/interfaces/five.MapviewControllerCustomInitArgs.html +8 -8
- package/docs/interfaces/five.ModeChangeEvent.html +1 -1
- package/docs/interfaces/five.ModelControllerCustomInitArgs.html +9 -9
- package/docs/interfaces/five.ModelEvent.html +1 -1
- package/docs/interfaces/five.ModelOptions.html +3 -3
- package/docs/interfaces/five.ModelSceneEvent.html +1 -1
- package/docs/interfaces/five.MovePanoOptions.html +10 -10
- package/docs/interfaces/five.NetworkAbortError.html +1 -1
- package/docs/interfaces/five.NetworkFirbiddenError.html +1 -1
- package/docs/interfaces/five.NetworkOptions.html +4 -4
- package/docs/interfaces/five.NetworkProxyError.html +1 -1
- package/docs/interfaces/five.NetworkResourceEvent.html +1 -1
- package/docs/interfaces/five.NetworkResponseError.html +1 -1
- package/docs/interfaces/five.NetworkTimeoutError.html +1 -1
- package/docs/interfaces/five.ObjectEvent.html +1 -1
- package/docs/interfaces/five.PBMMaterial.html +1 -1
- package/docs/interfaces/five.PBMMeshMaterialParameters.html +1 -1
- package/docs/interfaces/five.PBMPanoDepth.html +4 -4
- package/docs/interfaces/five.PBMPanoPicture.html +5 -5
- package/docs/interfaces/five.PBMPointCloudMaterialParameters.html +1 -1
- package/docs/interfaces/five.PanoCircleMeshInterface.html +4 -4
- package/docs/interfaces/five.PanoEvent.html +1 -1
- package/docs/interfaces/five.PanoTextureEvent.html +1 -1
- package/docs/interfaces/five.PanoramaControllerCustomInitArgs.html +15 -15
- package/docs/interfaces/five.PanoramaLikeControllerCustomInitArgs.html +9 -9
- package/docs/interfaces/five.ParameterMaterialValue.html +36 -36
- package/docs/interfaces/five.ParameterTilesetValue.html +15 -15
- package/docs/interfaces/five.ParameterValue.html +50 -50
- package/docs/interfaces/five.Pass.html +1 -1
- package/docs/interfaces/five.Pose.html +6 -6
- package/docs/interfaces/five.RenderEvent.html +1 -1
- package/docs/interfaces/five.ResolvedParameterValue.html +50 -50
- package/docs/interfaces/five.State.html +9 -9
- package/docs/interfaces/five.StateEvent.html +1 -1
- package/docs/interfaces/five.TextureOptions.html +12 -12
- package/docs/interfaces/five.Tile3DOptions.html +2 -2
- package/docs/interfaces/five.TileCoordinateSystem.html +2 -2
- package/docs/interfaces/five.TilesetHeader.html +12 -12
- package/docs/interfaces/five.TopviewControllerCustomInitArgs.html +7 -7
- package/docs/interfaces/five.VRPanoramaControllerCustomInitArgs.html +13 -13
- package/docs/interfaces/five.ViewLayer.html +26 -26
- package/docs/interfaces/five.Viewport.html +4 -4
- package/docs/interfaces/five.WorkCubeImage.html +1 -1
- package/docs/interfaces/five.WorkImage.html +4 -4
- package/docs/interfaces/five.WorkInitial.html +8 -8
- package/docs/interfaces/five.WorkModel.html +8 -8
- package/docs/interfaces/five.WorkModelLayer.html +5 -5
- package/docs/interfaces/five.WorkObserver.html +15 -15
- package/docs/interfaces/five.WorkTile.html +4 -4
- package/docs/interfaces/five.WorkVideo.html +4 -4
- package/docs/interfaces/five.WorksEvent.html +1 -1
- package/docs/interfaces/five.XRControllerEvent.html +1 -1
- package/docs/interfaces/five.XRGestureEvent.html +1 -1
- package/docs/interfaces/five.XRPanoramaControllerCustomInitArgs.html +13 -13
- package/docs/interfaces/five.XRSessionEvent.html +1 -1
- package/docs/interfaces/plugins.BackgroundPluginController.html +11 -11
- package/docs/interfaces/plugins.BackgroundPluginType.EventMap.html +8 -8
- package/docs/interfaces/plugins.BasePlugin.BaseOptions.html +1 -1
- package/docs/interfaces/plugins.BasePlugin.Config.html +2 -2
- package/docs/interfaces/plugins.BasePlugin.State.html +4 -4
- package/docs/interfaces/plugins.BasePlugin.StateChangeParams.html +3 -3
- package/docs/interfaces/plugins.DynamicPathLinePluginController.html +45 -45
- package/docs/interfaces/plugins.DynamicPathLinePluginType.Config.html +18 -18
- package/docs/interfaces/plugins.DynamicPathLinePluginType.EventMap.html +13 -13
- package/docs/interfaces/plugins.DynamicPathLinePluginType.Params.html +2 -2
- package/docs/interfaces/plugins.DynamicPathLinePluginType.PathConfig.html +14 -14
- package/docs/interfaces/plugins.DynamicPathLinePluginType.State.html +5 -5
- package/docs/interfaces/plugins.ItemMaskController.html +12 -12
- package/docs/interfaces/plugins.ItemMaskPluginType.Config.html +1 -1
- package/docs/interfaces/plugins.ItemMaskPluginType.EventMap.html +5 -5
- package/docs/interfaces/plugins.ItemMaskPluginType.Params.html +1 -1
- package/docs/interfaces/plugins.ItemMaskPluginType.State.html +7 -7
- package/docs/interfaces/plugins.OrientationPluginController.html +12 -12
- package/docs/interfaces/plugins.OrientationPluginType.Config.html +1 -1
- package/docs/interfaces/plugins.OrientationPluginType.EventMap.html +5 -5
- package/docs/interfaces/plugins.OrientationPluginType.Params.html +1 -1
- package/docs/interfaces/plugins.OrientationPluginType.State.html +5 -5
- package/docs/interfaces/plugins.PanoAnimeController.html +14 -14
- package/docs/interfaces/plugins.PanoAnimePluginType.Config.html +1 -1
- package/docs/interfaces/plugins.PanoAnimePluginType.ConfigChangeEvent.html +3 -3
- package/docs/interfaces/plugins.PanoAnimePluginType.EventMap.html +6 -6
- package/docs/interfaces/plugins.PanoAnimePluginType.Params.html +1 -1
- package/docs/interfaces/plugins.PanoAnimePluginType.State.html +4 -4
- package/docs/interfaces/plugins.PluginTemplateType.Config.html +1 -1
- package/docs/interfaces/plugins.PluginTemplateType.EventMap.html +5 -5
- package/docs/interfaces/plugins.PluginTemplateType.Params.html +1 -1
- package/docs/interfaces/plugins.PluginTemplateType.State.html +4 -4
- package/docs/interfaces/plugins.TrajectoryController.html +19 -21
- package/docs/interfaces/react.FiveActionReactCallbacks.html +23 -23
- package/docs/interfaces/react.FiveCanvasProps.html +2 -2
- package/docs/interfaces/react.FiveInjectionTypes.html +70 -70
- package/docs/interfaces/sticker.IntersectionLike.html +2 -2
- package/docs/interfaces/vfx.ParticleArgs.html +26 -26
- package/docs/interfaces/vfx.ParticleGPUArgs.html +30 -30
- package/docs/interfaces/vue.FiveActionVueCallbacks.html +23 -23
- package/docs/modules/five.html +1 -1
- package/docs/modules.html +1 -1
- package/docs/types/five.ControllerEventTypes.html +32 -32
- package/docs/types/five.EventTypes.html +23 -23
- package/docs/types/five.FivePlugin.html +2 -2
- package/docs/types/five.FivePluginInit.html +1 -1
- package/docs/types/five.FivePluginInstance.html +1 -1
- package/docs/types/five.LegacyEventType.html +142 -142
- package/docs/types/five.LoadResultType.html +2 -2
- package/docs/types/five.Mode.html +1 -1
- package/docs/types/five.MotionCircle.html +1 -1
- package/docs/types/five.ParseOptions.html +6 -6
- package/docs/types/plugins.BasePlugin.EventMap.html +5 -5
- package/docs/types/plugins.DynamicPathLinePluginType.PluginData.html +1 -1
- package/docs/types/plugins.DynamicPathLinePluginType.ServerData.html +1 -1
- package/docs/variables/react.FiveCanvas.html +1 -1
- package/docs/variables/react.useFiveScene.html +1 -1
- package/docs/variables/vue.FiveCanvas.html +1 -1
- package/docs/variables/vue.FiveProvider.html +1 -1
- package/docs_markdown/README.md +33 -0
- package/docs_markdown/_media/coordinate.jpg +0 -0
- package/docs_markdown/documents/coordinate.md +29 -0
- package/docs_markdown/documents/intro.md +15 -0
- package/docs_markdown/documents/mode.md +21 -0
- package/docs_markdown/documents/plugins.md +226 -0
- package/docs_markdown/documents/quick-start.md +105 -0
- package/docs_markdown/documents/release_notes/6.7.md +407 -0
- package/docs_markdown/documents/state.md +7 -0
- package/docs_markdown/documents/support.md +13 -0
- package/docs_markdown/documents/work.md +148 -0
- package/docs_markdown/five/README.md +309 -0
- package/docs_markdown/five/classes/AdaptiveLuminancePass.md +238 -0
- package/docs_markdown/five/classes/AnimationFrameLoop.md +195 -0
- package/docs_markdown/five/classes/BoundingMesh.md +75 -0
- package/docs_markdown/five/classes/Camera.md +527 -0
- package/docs_markdown/five/classes/EffectComposer.md +241 -0
- package/docs_markdown/five/classes/EyeDomeLightingPass.md +232 -0
- package/docs_markdown/five/classes/Fetcher.md +133 -0
- package/docs_markdown/five/classes/Five.md +2231 -0
- package/docs_markdown/five/classes/FivePass.md +193 -0
- package/docs_markdown/five/classes/FiveRenderer.md +107 -0
- package/docs_markdown/five/classes/FullScreenQuad.md +95 -0
- package/docs_markdown/five/classes/InternalWebGLRenderer.md +65 -0
- package/docs_markdown/five/classes/Model.md +1009 -0
- package/docs_markdown/five/classes/ModelScene.md +495 -0
- package/docs_markdown/five/classes/Motion.md +235 -0
- package/docs_markdown/five/classes/NetworkSubscribe.md +289 -0
- package/docs_markdown/five/classes/PBMContainer.md +137 -0
- package/docs_markdown/five/classes/PBMCustomShader.md +171 -0
- package/docs_markdown/five/classes/PBMGSObject.md +257 -0
- package/docs_markdown/five/classes/PBMGroup.md +35 -0
- package/docs_markdown/five/classes/PBMMesh.md +43 -0
- package/docs_markdown/five/classes/PBMMeshMaterial.md +889 -0
- package/docs_markdown/five/classes/PBMPointCloud.md +41 -0
- package/docs_markdown/five/classes/PBMPointCloudMaterial.md +371 -0
- package/docs_markdown/five/classes/PBMSkinnedMesh.md +67 -0
- package/docs_markdown/five/classes/PanoCircleMesh.md +296 -0
- package/docs_markdown/five/classes/PanoCircleMeshCustom.md +296 -0
- package/docs_markdown/five/classes/PanoCircleMeshSolid.md +296 -0
- package/docs_markdown/five/classes/Parameter.md +905 -0
- package/docs_markdown/five/classes/Scene.md +109 -0
- package/docs_markdown/five/classes/Subscribe.md +271 -0
- package/docs_markdown/five/classes/TextureLoader.md +199 -0
- package/docs_markdown/five/classes/Tile.md +517 -0
- package/docs_markdown/five/classes/Tile3D.md +1287 -0
- package/docs_markdown/five/classes/TileCache.md +123 -0
- package/docs_markdown/five/classes/TileNode.md +171 -0
- package/docs_markdown/five/classes/TileRequestScheduler.md +69 -0
- package/docs_markdown/five/classes/Tileset.md +379 -0
- package/docs_markdown/five/classes/Trajectory.md +111 -0
- package/docs_markdown/five/classes/TrajectoryNode.md +129 -0
- package/docs_markdown/five/classes/Work.md +299 -0
- package/docs_markdown/five/classes/WorkResolvedObserver.md +302 -0
- package/docs_markdown/five/classes/XRButton.md +37 -0
- package/docs_markdown/five/enumerations/VolumePlaneIntersect.md +33 -0
- package/docs_markdown/five/functions/coordinatesToVector.md +33 -0
- package/docs_markdown/five/functions/createDebugBoundingMesh.md +25 -0
- package/docs_markdown/five/functions/createWorks.md +21 -0
- package/docs_markdown/five/functions/defaultImageURLTransform.md +33 -0
- package/docs_markdown/five/functions/getViewportScale.md +15 -0
- package/docs_markdown/five/functions/headingToLongitude.md +29 -0
- package/docs_markdown/five/functions/imageSupport.md +15 -0
- package/docs_markdown/five/functions/isBoundingVolume.md +21 -0
- package/docs_markdown/five/functions/isPanoId.md +21 -0
- package/docs_markdown/five/functions/loadAt3d.md +47 -0
- package/docs_markdown/five/functions/loadB3dm.md +39 -0
- package/docs_markdown/five/functions/loadDome.md +43 -0
- package/docs_markdown/five/functions/loadDomez.md +43 -0
- package/docs_markdown/five/functions/loadFbx.md +35 -0
- package/docs_markdown/five/functions/loadGltf.md +39 -0
- package/docs_markdown/five/functions/loadPbm.md +47 -0
- package/docs_markdown/five/functions/loadPly.md +61 -0
- package/docs_markdown/five/functions/loadPnts.md +35 -0
- package/docs_markdown/five/functions/loadSplat.md +35 -0
- package/docs_markdown/five/functions/loadSpz.md +35 -0
- package/docs_markdown/five/functions/loadX3p.md +39 -0
- package/docs_markdown/five/functions/longitudeToHeading.md +29 -0
- package/docs_markdown/five/functions/makeBoundingVolume.md +21 -0
- package/docs_markdown/five/functions/panoEqual.md +25 -0
- package/docs_markdown/five/functions/panoParse.md +21 -0
- package/docs_markdown/five/functions/panoStringify.md +21 -0
- package/docs_markdown/five/functions/parseWork.md +33 -0
- package/docs_markdown/five/functions/vectorToCoordinates.md +31 -0
- package/docs_markdown/five/functions/workToJson.md +21 -0
- package/docs_markdown/five/interfaces/AddableObject.md +77 -0
- package/docs_markdown/five/interfaces/AjaxOptions.md +81 -0
- package/docs_markdown/five/interfaces/AnimationFrame.md +67 -0
- package/docs_markdown/five/interfaces/AnimationFrameContext.md +55 -0
- package/docs_markdown/five/interfaces/BaseEvent.md +60 -0
- package/docs_markdown/five/interfaces/BoundingVolume.md +241 -0
- package/docs_markdown/five/interfaces/BoxBoundingVolume.md +325 -0
- package/docs_markdown/five/interfaces/CameraPose.md +49 -0
- package/docs_markdown/five/interfaces/CullingVolume.md +141 -0
- package/docs_markdown/five/interfaces/Draco.md +219 -0
- package/docs_markdown/five/interfaces/EventCallback.md +3374 -0
- package/docs_markdown/five/interfaces/FiveInitArgs.md +435 -0
- package/docs_markdown/five/interfaces/FiveLoadOptions.md +71 -0
- package/docs_markdown/five/interfaces/FloorplanControllerCustomInitArgs.md +93 -0
- package/docs_markdown/five/interfaces/GestureEvent.md +233 -0
- package/docs_markdown/five/interfaces/ImageOptions.md +147 -0
- package/docs_markdown/five/interfaces/ImageURLMappings.md +13 -0
- package/docs_markdown/five/interfaces/ImageURLOptions.md +89 -0
- package/docs_markdown/five/interfaces/IntersectEvent.md +89 -0
- package/docs_markdown/five/interfaces/IntersectMesh.md +33 -0
- package/docs_markdown/five/interfaces/IntersectMeshInterface.md +27 -0
- package/docs_markdown/five/interfaces/Intersection.md +53 -0
- package/docs_markdown/five/interfaces/KTX2.md +131 -0
- package/docs_markdown/five/interfaces/LoosePanoWork.md +81 -0
- package/docs_markdown/five/interfaces/LooseWork.md +145 -0
- package/docs_markdown/five/interfaces/LooseWorkInitial.md +89 -0
- package/docs_markdown/five/interfaces/LooseWorkModel.md +113 -0
- package/docs_markdown/five/interfaces/LooseWorkObserver.md +153 -0
- package/docs_markdown/five/interfaces/LooseWorkPanorama.md +121 -0
- package/docs_markdown/five/interfaces/LooseWorkVideo.md +33 -0
- package/docs_markdown/five/interfaces/LooseWorkWithExtrinsics.md +93 -0
- package/docs_markdown/five/interfaces/MapviewControllerCustomInitArgs.md +96 -0
- package/docs_markdown/five/interfaces/ModeChangeEvent.md +105 -0
- package/docs_markdown/five/interfaces/ModelControllerCustomInitArgs.md +147 -0
- package/docs_markdown/five/interfaces/ModelEvent.md +89 -0
- package/docs_markdown/five/interfaces/ModelOptions.md +54 -0
- package/docs_markdown/five/interfaces/ModelSceneEvent.md +73 -0
- package/docs_markdown/five/interfaces/MotionKeyframe.md +39 -0
- package/docs_markdown/five/interfaces/MovePanoOptions.md +192 -0
- package/docs_markdown/five/interfaces/NetworkAbortError.md +13 -0
- package/docs_markdown/five/interfaces/NetworkFirbiddenError.md +13 -0
- package/docs_markdown/five/interfaces/NetworkOptions.md +53 -0
- package/docs_markdown/five/interfaces/NetworkProxyError.md +13 -0
- package/docs_markdown/five/interfaces/NetworkResourceEvent.md +97 -0
- package/docs_markdown/five/interfaces/NetworkResponseError.md +21 -0
- package/docs_markdown/five/interfaces/NetworkTimeoutError.md +13 -0
- package/docs_markdown/five/interfaces/ObjectEvent.md +73 -0
- package/docs_markdown/five/interfaces/PBMClipperParameter.md +25 -0
- package/docs_markdown/five/interfaces/PBMCustomShaderInitArgs.md +57 -0
- package/docs_markdown/five/interfaces/PBMCustomShaderSlots.md +53 -0
- package/docs_markdown/five/interfaces/PBMMaterial.md +18 -0
- package/docs_markdown/five/interfaces/PBMMeshMaterialParameters.md +221 -0
- package/docs_markdown/five/interfaces/PBMPanoDepth.md +49 -0
- package/docs_markdown/five/interfaces/PBMPanoPicture.md +59 -0
- package/docs_markdown/five/interfaces/PBMPointCloudMaterialParameters.md +221 -0
- package/docs_markdown/five/interfaces/PBMRefinedScreen.md +49 -0
- package/docs_markdown/five/interfaces/PanoCircleMeshCustomOptions.md +73 -0
- package/docs_markdown/five/interfaces/PanoCircleMeshInterface.md +222 -0
- package/docs_markdown/five/interfaces/PanoCircleMeshOptions.md +25 -0
- package/docs_markdown/five/interfaces/PanoCircleMeshSolidOptions.md +25 -0
- package/docs_markdown/five/interfaces/PanoEvent.md +121 -0
- package/docs_markdown/five/interfaces/PanoTextureEvent.md +97 -0
- package/docs_markdown/five/interfaces/PanoramaControllerCustomInitArgs.md +260 -0
- package/docs_markdown/five/interfaces/PanoramaLikeControllerCustomInitArgs.md +112 -0
- package/docs_markdown/five/interfaces/ParameterMaterialValue.md +363 -0
- package/docs_markdown/five/interfaces/ParameterTilesetValue.md +161 -0
- package/docs_markdown/five/interfaces/ParameterValue.md +715 -0
- package/docs_markdown/five/interfaces/Pass.md +100 -0
- package/docs_markdown/five/interfaces/Pose.md +69 -0
- package/docs_markdown/five/interfaces/RegionBoundingVolume.md +349 -0
- package/docs_markdown/five/interfaces/RenderEvent.md +73 -0
- package/docs_markdown/five/interfaces/ResolvedParameterValue.md +727 -0
- package/docs_markdown/five/interfaces/SphereBoundingVolume.md +317 -0
- package/docs_markdown/five/interfaces/State.md +123 -0
- package/docs_markdown/five/interfaces/StateEvent.md +87 -0
- package/docs_markdown/five/interfaces/TextureOptions.md +157 -0
- package/docs_markdown/five/interfaces/Tile3DOptions.md +83 -0
- package/docs_markdown/five/interfaces/TileCoordinateSystem.md +25 -0
- package/docs_markdown/five/interfaces/TileHeader.md +89 -0
- package/docs_markdown/five/interfaces/TilesetHeader.md +209 -0
- package/docs_markdown/five/interfaces/TilesetOptions.md +205 -0
- package/docs_markdown/five/interfaces/TopviewControllerCustomInitArgs.md +101 -0
- package/docs_markdown/five/interfaces/TrajectoryHeader.md +41 -0
- package/docs_markdown/five/interfaces/VRPanoramaControllerCustomInitArgs.md +264 -0
- package/docs_markdown/five/interfaces/ViewLayer.md +1505 -0
- package/docs_markdown/five/interfaces/Viewport.md +57 -0
- package/docs_markdown/five/interfaces/WebXRAxesParams.md +57 -0
- package/docs_markdown/five/interfaces/WebXRControllerParams.md +25 -0
- package/docs_markdown/five/interfaces/WorkCubeImage.md +86 -0
- package/docs_markdown/five/interfaces/WorkImage.md +117 -0
- package/docs_markdown/five/interfaces/WorkInitial.md +89 -0
- package/docs_markdown/five/interfaces/WorkInitialJson.md +65 -0
- package/docs_markdown/five/interfaces/WorkJson.md +89 -0
- package/docs_markdown/five/interfaces/WorkModel.md +113 -0
- package/docs_markdown/five/interfaces/WorkModelJson.md +49 -0
- package/docs_markdown/five/interfaces/WorkModelLayer.md +59 -0
- package/docs_markdown/five/interfaces/WorkModelLayerJson.md +41 -0
- package/docs_markdown/five/interfaces/WorkObserver.md +184 -0
- package/docs_markdown/five/interfaces/WorkObserverJson.md +97 -0
- package/docs_markdown/five/interfaces/WorkPanoramaJson.md +125 -0
- package/docs_markdown/five/interfaces/WorkPanoramasJson.md +25 -0
- package/docs_markdown/five/interfaces/WorkTile.md +115 -0
- package/docs_markdown/five/interfaces/WorkVideo.md +49 -0
- package/docs_markdown/five/interfaces/WorksEvent.md +89 -0
- package/docs_markdown/five/interfaces/XRControllerEvent.md +177 -0
- package/docs_markdown/five/interfaces/XRGestureEvent.md +125 -0
- package/docs_markdown/five/interfaces/XRPanoramaControllerCustomInitArgs.md +264 -0
- package/docs_markdown/five/interfaces/XRSessionEvent.md +81 -0
- package/docs_markdown/five/interfaces/documents/coordinate.md +29 -0
- package/docs_markdown/five/type-aliases/AjaxResponseType.md +11 -0
- package/docs_markdown/five/type-aliases/AjaxResponseTypeMapping.md +17 -0
- package/docs_markdown/five/type-aliases/AnimationFrameLoopType.md +11 -0
- package/docs_markdown/five/type-aliases/BoundingVolumeJson.md +11 -0
- package/docs_markdown/five/type-aliases/BoxBoundingVolumeJson.md +19 -0
- package/docs_markdown/five/type-aliases/ControllerCustomInitTypes.md +67 -0
- package/docs_markdown/five/type-aliases/ControllerEventTypes.md +669 -0
- package/docs_markdown/five/type-aliases/CubeFace.md +11 -0
- package/docs_markdown/five/type-aliases/EventTypes.md +381 -0
- package/docs_markdown/five/type-aliases/FivePlugin.md +31 -0
- package/docs_markdown/five/type-aliases/FivePluginInit.md +21 -0
- package/docs_markdown/five/type-aliases/FivePluginInstance.md +21 -0
- package/docs_markdown/five/type-aliases/GestureTypes.md +11 -0
- package/docs_markdown/five/type-aliases/LegacyEventType.md +1852 -0
- package/docs_markdown/five/type-aliases/LoadResultType.md +109 -0
- package/docs_markdown/five/type-aliases/Mode.md +19 -0
- package/docs_markdown/five/type-aliases/Models.md +121 -0
- package/docs_markdown/five/type-aliases/MotionCircle.md +13 -0
- package/docs_markdown/five/type-aliases/MotionConfig.md +17 -0
- package/docs_markdown/five/type-aliases/MotionInitalValue.md +17 -0
- package/docs_markdown/five/type-aliases/MotionValue.md +17 -0
- package/docs_markdown/five/type-aliases/MovePanoEffect.md +24 -0
- package/docs_markdown/five/type-aliases/NetWorkMeta.md +71 -0
- package/docs_markdown/five/type-aliases/NetworkError.md +11 -0
- package/docs_markdown/five/type-aliases/NetworkErrorCallback.md +21 -0
- package/docs_markdown/five/type-aliases/NetworkProgressCallback.md +21 -0
- package/docs_markdown/five/type-aliases/NetworkResponse.md +37 -0
- package/docs_markdown/five/type-aliases/NetworkState.md +11 -0
- package/docs_markdown/five/type-aliases/NetworkSuccessCallback.md +27 -0
- package/docs_markdown/five/type-aliases/NetworkType.md +11 -0
- package/docs_markdown/five/type-aliases/PBMAlphaMode.md +11 -0
- package/docs_markdown/five/type-aliases/PBMColorStyle.md +11 -0
- package/docs_markdown/five/type-aliases/PBMFloorStyle.md +11 -0
- package/docs_markdown/five/type-aliases/PBMMeshShaderType.md +11 -0
- package/docs_markdown/five/type-aliases/PBMPointBack.md +11 -0
- package/docs_markdown/five/type-aliases/PBMPointCloudShaderType.md +11 -0
- package/docs_markdown/five/type-aliases/PBMPointShape.md +11 -0
- package/docs_markdown/five/type-aliases/PBMPointSize.md +11 -0
- package/docs_markdown/five/type-aliases/PBMTransition.md +11 -0
- package/docs_markdown/five/type-aliases/Pano.md +27 -0
- package/docs_markdown/five/type-aliases/PanoId.md +11 -0
- package/docs_markdown/five/type-aliases/ParseOptions.md +65 -0
- package/docs_markdown/five/type-aliases/PostProcessingType.md +11 -0
- package/docs_markdown/five/type-aliases/RegionBoundingVolumeJson.md +19 -0
- package/docs_markdown/five/type-aliases/RequestAnimationFrameArgs.md +17 -0
- package/docs_markdown/five/type-aliases/Scissor.md +15 -0
- package/docs_markdown/five/type-aliases/SphereBoundingVolumeJson.md +19 -0
- package/docs_markdown/five/type-aliases/SubscribeEventMap.md +15 -0
- package/docs_markdown/five/type-aliases/TileCacheOptions.md +47 -0
- package/docs_markdown/five/type-aliases/TileContentData.md +51 -0
- package/docs_markdown/five/type-aliases/TileRequestOrder.md +11 -0
- package/docs_markdown/five/type-aliases/TileRequestSchedulerOptions.md +69 -0
- package/docs_markdown/five/type-aliases/TilesetFrameState.md +199 -0
- package/docs_markdown/five/type-aliases/TrajectoryContentData.md +59 -0
- package/docs_markdown/five/type-aliases/WebXRControllerKey.md +11 -0
- package/docs_markdown/five/type-aliases/WebXRControllerType.md +11 -0
- package/docs_markdown/five/type-aliases/Works.md +59 -0
- package/docs_markdown/five/type-aliases/documents/plugins.md +226 -0
- package/docs_markdown/five/variables/PROXY_CONTROLLER_EVENT_NAMES.md +11 -0
- package/docs_markdown/five/variables/controllersDefaultInitArgs.md +41 -0
- package/docs_markdown/five/variables/draco.md +11 -0
- package/docs_markdown/five/variables/ktx2.md +11 -0
- package/docs_markdown/gltf-loader/README.md +23 -0
- package/docs_markdown/gltf-loader/classes/DDSLoader.md +57 -0
- package/docs_markdown/gltf-loader/classes/DRACOLoader.md +143 -0
- package/docs_markdown/gltf-loader/classes/GLTFLoader.md +208 -0
- package/docs_markdown/gltf-loader/classes/GLTFObject.md +76 -0
- package/docs_markdown/gltf-loader/classes/GLTFParser.md +75 -0
- package/docs_markdown/gltf-loader/classes/THREEGLTFLoader.md +151 -0
- package/docs_markdown/gltf-loader/interfaces/DDS.md +57 -0
- package/docs_markdown/gltf-loader/interfaces/GLTF.md +98 -0
- package/docs_markdown/gltf-loader/interfaces/GLTFReference.md +25 -0
- package/docs_markdown/gltf-loader/interfaces/THREEGLTF.md +89 -0
- package/docs_markdown/line/README.md +20 -0
- package/docs_markdown/line/classes/Line.md +151 -0
- package/docs_markdown/line/classes/LineGeometry.md +273 -0
- package/docs_markdown/line/classes/LineMaterial.md +83 -0
- package/docs_markdown/line/classes/LineSegmentsGeometry.md +219 -0
- package/docs_markdown/line/classes/THREE_Line2.md +81 -0
- package/docs_markdown/line/classes/THREE_LineSegments2.md +81 -0
- package/docs_markdown/line/type-aliases/LineMaterialParameters.md +67 -0
- package/docs_markdown/modules.md +28 -0
- package/docs_markdown/plugins/README.md +43 -0
- package/docs_markdown/plugins/classes/CSS3DRenderer.md +93 -0
- package/docs_markdown/plugins/classes/OrbitControls.md +461 -0
- package/docs_markdown/plugins/classes/RoundedBoxGeometry.md +79 -0
- package/docs_markdown/plugins/functions/BackgroundPlugin.md +25 -0
- package/docs_markdown/plugins/functions/DynamicPathLinePlugin.md +25 -0
- package/docs_markdown/plugins/functions/ItemMaskPlugin.md +25 -0
- package/docs_markdown/plugins/functions/OrientationPlugin.md +25 -0
- package/docs_markdown/plugins/functions/PanoAnimePlugin.md +25 -0
- package/docs_markdown/plugins/functions/TrajectoryPlugin.md +25 -0
- package/docs_markdown/plugins/interfaces/BackgroundPluginController.md +313 -0
- package/docs_markdown/plugins/interfaces/DynamicPathLinePluginController.md +755 -0
- package/docs_markdown/plugins/interfaces/ItemMaskController.md +393 -0
- package/docs_markdown/plugins/interfaces/Keyframe.md +25 -0
- package/docs_markdown/plugins/interfaces/OrientationPluginController.md +491 -0
- package/docs_markdown/plugins/interfaces/PanoAnimeController.md +365 -0
- package/docs_markdown/plugins/interfaces/PlayingState.md +25 -0
- package/docs_markdown/plugins/interfaces/TrajectoryController.md +609 -0
- package/docs_markdown/plugins/namespaces/BackgroundPluginType/README.md +25 -0
- package/docs_markdown/plugins/namespaces/BackgroundPluginType/enumerations/WarningCodeType.md +17 -0
- package/docs_markdown/plugins/namespaces/BackgroundPluginType/interfaces/Config.md +9 -0
- package/docs_markdown/plugins/namespaces/BackgroundPluginType/interfaces/EventMap.md +205 -0
- package/docs_markdown/plugins/namespaces/BackgroundPluginType/interfaces/Params.md +25 -0
- package/docs_markdown/plugins/namespaces/BackgroundPluginType/interfaces/PluginDataItem.md +9 -0
- package/docs_markdown/plugins/namespaces/BackgroundPluginType/type-aliases/Mirror.md +17 -0
- package/docs_markdown/plugins/namespaces/BackgroundPluginType/type-aliases/Mode.md +11 -0
- package/docs_markdown/plugins/namespaces/BackgroundPluginType/type-aliases/PluginData.md +11 -0
- package/docs_markdown/plugins/namespaces/BackgroundPluginType/type-aliases/State.md +19 -0
- package/docs_markdown/plugins/namespaces/BasePlugin/README.md +22 -0
- package/docs_markdown/plugins/namespaces/BasePlugin/classes/Controller.md +318 -0
- package/docs_markdown/plugins/namespaces/BasePlugin/interfaces/BaseOptions.md +19 -0
- package/docs_markdown/plugins/namespaces/BasePlugin/interfaces/Config.md +39 -0
- package/docs_markdown/plugins/namespaces/BasePlugin/interfaces/State.md +49 -0
- package/docs_markdown/plugins/namespaces/BasePlugin/interfaces/StateChangeParams.md +45 -0
- package/docs_markdown/plugins/namespaces/BasePlugin/type-aliases/EventMap.md +110 -0
- package/docs_markdown/plugins/namespaces/DynamicPathLinePluginType/README.md +20 -0
- package/docs_markdown/plugins/namespaces/DynamicPathLinePluginType/interfaces/Config.md +181 -0
- package/docs_markdown/plugins/namespaces/DynamicPathLinePluginType/interfaces/EventMap.md +261 -0
- package/docs_markdown/plugins/namespaces/DynamicPathLinePluginType/interfaces/Params.md +37 -0
- package/docs_markdown/plugins/namespaces/DynamicPathLinePluginType/interfaces/PathConfig.md +141 -0
- package/docs_markdown/plugins/namespaces/DynamicPathLinePluginType/interfaces/State.md +67 -0
- package/docs_markdown/plugins/namespaces/DynamicPathLinePluginType/type-aliases/PluginData.md +21 -0
- package/docs_markdown/plugins/namespaces/DynamicPathLinePluginType/type-aliases/ServerData.md +73 -0
- package/docs_markdown/plugins/namespaces/ItemMaskPluginType/README.md +21 -0
- package/docs_markdown/plugins/namespaces/ItemMaskPluginType/interfaces/Config.md +11 -0
- package/docs_markdown/plugins/namespaces/ItemMaskPluginType/interfaces/EventMap.md +109 -0
- package/docs_markdown/plugins/namespaces/ItemMaskPluginType/interfaces/ItemType.md +121 -0
- package/docs_markdown/plugins/namespaces/ItemMaskPluginType/interfaces/MaskType.md +33 -0
- package/docs_markdown/plugins/namespaces/ItemMaskPluginType/interfaces/Params.md +27 -0
- package/docs_markdown/plugins/namespaces/ItemMaskPluginType/interfaces/State.md +87 -0
- package/docs_markdown/plugins/namespaces/ItemMaskPluginType/type-aliases/PluginData.md +27 -0
- package/docs_markdown/plugins/namespaces/ItemMaskPluginType/type-aliases/ServerData.md +27 -0
- package/docs_markdown/plugins/namespaces/OrientationPluginType/README.md +19 -0
- package/docs_markdown/plugins/namespaces/OrientationPluginType/interfaces/Config.md +27 -0
- package/docs_markdown/plugins/namespaces/OrientationPluginType/interfaces/EventMap.md +109 -0
- package/docs_markdown/plugins/namespaces/OrientationPluginType/interfaces/Params.md +27 -0
- package/docs_markdown/plugins/namespaces/OrientationPluginType/interfaces/State.md +67 -0
- package/docs_markdown/plugins/namespaces/OrientationPluginType/type-aliases/PluginData.md +11 -0
- package/docs_markdown/plugins/namespaces/OrientationPluginType/type-aliases/ServerData.md +11 -0
- package/docs_markdown/plugins/namespaces/PanoAnimePluginType/README.md +20 -0
- package/docs_markdown/plugins/namespaces/PanoAnimePluginType/interfaces/Config.md +19 -0
- package/docs_markdown/plugins/namespaces/PanoAnimePluginType/interfaces/ConfigChangeEvent.md +39 -0
- package/docs_markdown/plugins/namespaces/PanoAnimePluginType/interfaces/EventMap.md +157 -0
- package/docs_markdown/plugins/namespaces/PanoAnimePluginType/interfaces/Params.md +27 -0
- package/docs_markdown/plugins/namespaces/PanoAnimePluginType/interfaces/State.md +57 -0
- package/docs_markdown/plugins/namespaces/PanoAnimePluginType/type-aliases/PluginData.md +11 -0
- package/docs_markdown/plugins/namespaces/PanoAnimePluginType/type-aliases/ServerData.md +11 -0
- package/docs_markdown/plugins/namespaces/PluginTemplateType/README.md +19 -0
- package/docs_markdown/plugins/namespaces/PluginTemplateType/interfaces/Config.md +19 -0
- package/docs_markdown/plugins/namespaces/PluginTemplateType/interfaces/EventMap.md +109 -0
- package/docs_markdown/plugins/namespaces/PluginTemplateType/interfaces/Params.md +27 -0
- package/docs_markdown/plugins/namespaces/PluginTemplateType/interfaces/State.md +57 -0
- package/docs_markdown/plugins/namespaces/PluginTemplateType/type-aliases/PluginData.md +11 -0
- package/docs_markdown/plugins/namespaces/PluginTemplateType/type-aliases/ServerData.md +19 -0
- package/docs_markdown/react/README.md +58 -0
- package/docs_markdown/react/classes/Store.md +184 -0
- package/docs_markdown/react/functions/createFiveFeature.md +27 -0
- package/docs_markdown/react/functions/createFiveProvider.md +42 -0
- package/docs_markdown/react/functions/createStore.md +158 -0
- package/docs_markdown/react/functions/unsafe__useFiveInstance.md +27 -0
- package/docs_markdown/react/functions/useFiveAction.md +82 -0
- package/docs_markdown/react/functions/useFiveCameraDirection.md +19 -0
- package/docs_markdown/react/functions/useFiveCameraRaycaster.md +19 -0
- package/docs_markdown/react/functions/useFiveCurrentObserver.md +25 -0
- package/docs_markdown/react/functions/useFiveCurrentState.md +25 -0
- package/docs_markdown/react/functions/useFiveEventCallback.md +44 -0
- package/docs_markdown/react/functions/useFiveFloor.md +25 -0
- package/docs_markdown/react/functions/useFiveHelper.md +25 -0
- package/docs_markdown/react/functions/useFiveModelIntersectRaycaster.md +45 -0
- package/docs_markdown/react/functions/useFiveModelReadyState.md +20 -0
- package/docs_markdown/react/functions/useFiveProject2d.md +49 -0
- package/docs_markdown/react/functions/useFiveSceneEffect.md +39 -0
- package/docs_markdown/react/functions/useFiveState.md +15 -0
- package/docs_markdown/react/functions/useFiveWork.md +39 -0
- package/docs_markdown/react/functions/withFive.md +47 -0
- package/docs_markdown/react/interfaces/FiveActionReactCallbacks.md +270 -0
- package/docs_markdown/react/interfaces/FiveCanvasProps.md +29 -0
- package/docs_markdown/react/interfaces/FiveInjectionTypes.md +1075 -0
- package/docs_markdown/react/interfaces/PropTypeOfFiveFeatures.md +23 -0
- package/docs_markdown/react/type-aliases/FiveInjectionActionFeature.md +11 -0
- package/docs_markdown/react/type-aliases/FiveInjectionDataFeature.md +11 -0
- package/docs_markdown/react/type-aliases/FiveInjectionFeature.md +11 -0
- package/docs_markdown/react/type-aliases/FiveProviderPropTypes.md +139 -0
- package/docs_markdown/react/type-aliases/FiveProviderType.md +11 -0
- package/docs_markdown/react/type-aliases/StoreActionMapHanlder.md +25 -0
- package/docs_markdown/react/type-aliases/StoreActionMapType.md +15 -0
- package/docs_markdown/react/type-aliases/StoreProviderType.md +11 -0
- package/docs_markdown/react/type-aliases/StoreValueMapType.md +11 -0
- package/docs_markdown/react/variables/FiveCanvas.md +25 -0
- package/docs_markdown/react/variables/INJECTION_PROPNAME.md +11 -0
- package/docs_markdown/react/variables/useFiveScene.md +43 -0
- package/docs_markdown/sticker/README.md +15 -0
- package/docs_markdown/sticker/classes/Sticker.md +208 -0
- package/docs_markdown/sticker/interfaces/IntersectionLike.md +39 -0
- package/docs_markdown/vfx/README.md +27 -0
- package/docs_markdown/vfx/classes/Airflow.md +175 -0
- package/docs_markdown/vfx/classes/Flame.md +241 -0
- package/docs_markdown/vfx/classes/Particle.md +488 -0
- package/docs_markdown/vfx/classes/ParticleGPU.md +195 -0
- package/docs_markdown/vfx/classes/SpotLight.md +159 -0
- package/docs_markdown/vfx/interfaces/ParticleArgs.md +338 -0
- package/docs_markdown/vfx/interfaces/ParticleGPUArgs.md +301 -0
- package/docs_markdown/vfx/interfaces/ParticleGPUTweenKeyframe.md +31 -0
- package/docs_markdown/vfx/interfaces/ParticleTweenKeyframe.md +31 -0
- package/docs_markdown/vfx/type-aliases/ParticleGPUType.md +11 -0
- package/docs_markdown/vfx/type-aliases/ParticleType.md +11 -0
- package/docs_markdown/vue/README.md +42 -0
- package/docs_markdown/vue/functions/unsafe__useFiveInject.md +27 -0
- package/docs_markdown/vue/functions/useFiveAction.md +104 -0
- package/docs_markdown/vue/functions/useFiveCameraDirection.md +19 -0
- package/docs_markdown/vue/functions/useFiveCameraRaycaster.md +19 -0
- package/docs_markdown/vue/functions/useFiveCurrentObserver.md +25 -0
- package/docs_markdown/vue/functions/useFiveCurrentState.md +25 -0
- package/docs_markdown/vue/functions/useFiveEventCallback.md +40 -0
- package/docs_markdown/vue/functions/useFiveFloor.md +25 -0
- package/docs_markdown/vue/functions/useFiveHelper.md +25 -0
- package/docs_markdown/vue/functions/useFiveModel.md +17 -0
- package/docs_markdown/vue/functions/useFiveModelBounding.md +17 -0
- package/docs_markdown/vue/functions/useFiveModelIntersectRaycaster.md +35 -0
- package/docs_markdown/vue/functions/useFiveModelReadyState.md +20 -0
- package/docs_markdown/vue/functions/useFiveProject2d.md +38 -0
- package/docs_markdown/vue/functions/useFiveScene.md +17 -0
- package/docs_markdown/vue/functions/useFiveState.md +25 -0
- package/docs_markdown/vue/functions/useFiveWorks.md +39 -0
- package/docs_markdown/vue/interfaces/FiveActionVueCallbacks.md +301 -0
- package/docs_markdown/vue/type-aliases/FiveModelIntersectRaycaster.md +21 -0
- package/docs_markdown/vue/type-aliases/FiveProviderComponent.md +11 -0
- package/docs_markdown/vue/type-aliases/Project2d.md +25 -0
- package/docs_markdown/vue/variables/FiveCanvas.md +37 -0
- package/docs_markdown/vue/variables/FiveProvider.md +32 -0
- package/five/index.d.ts +64 -2
- package/five/index.js +160 -72
- package/five/index.mjs +7500 -6606
- package/gltf-loader/index.js +3 -3
- package/gltf-loader/index.mjs +146 -146
- package/line/index.js +3 -3
- package/line/index.mjs +10 -10
- package/package.json +1 -1
- package/plugins/index.d.ts +0 -2
- package/plugins/index.js +2 -2
- package/plugins/index.mjs +2 -2
- package/react/index.js +2 -2
- package/react/index.mjs +2 -2
- package/shader-lib/index.js +2 -2
- package/shader-lib/index.mjs +2 -2
- package/sticker/index.js +3 -3
- package/sticker/index.mjs +7 -7
- package/umd/five-gltf-loader.js +3 -3
- package/umd/five-line.js +3 -3
- package/umd/five-plugins.js +2 -2
- package/umd/five-react.js +2 -2
- package/umd/five-shader-lib.js +2 -2
- package/umd/five-sticker.js +3 -3
- package/umd/five-vfx.js +2 -2
- package/umd/five-vue.js +2 -2
- package/umd/five.js +160 -72
- package/vfx/index.js +2 -2
- package/vfx/index.mjs +2 -2
- package/vue/index.js +2 -2
- package/vue/index.mjs +2 -2
- package/work-downloader/index.js +2 -2
- package/work-downloader/index.mjs +2 -2
- package/docs/documents/react-component.html +0 -32
|
@@ -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>FiveCanvas | 如视 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">FiveCanvas</a></li></ul><h1>Variable FiveCanvas<code class="tsd-tag">Const</code></h1></div><div class="tsd-signature"><span class="tsd-kind-variable">FiveCanvas</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">React.FC</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/react.FiveCanvasProps.html" class="tsd-signature-type tsd-kind-interface">FiveCanvasProps</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = ...</span></div><div class="tsd-comment tsd-typography"><p>Five 渲染区域组件</p>
|
|
2
2
|
</div><div class="tsd-comment tsd-typography"><div class="tsd-tag-description"><h4 class="tsd-anchor-link" id="description">Description<a href="#description" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>Five 渲染区域组件,请在 FiveProvider 内使用</p>
|
|
3
|
-
</div><div class="tsd-tag-example"><h4 class="tsd-anchor-link" id="example">Example<a href="#example" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><pre><code class="typescript"><span class="hl-1"><</span><span class="hl-4">FiveProvider</span><span class="hl-1"> </span><span class="hl-4">initialWork</span><span class="hl-1">={</span><span class="hl-4">work</span><span class="hl-1">}></span><br/><span class="hl-1"> <</span><span class="hl-4">FiveCanvas</span><span class="hl-1"> </span><span class="hl-4">width</span><span class="hl-1">={</span><span class="hl-
|
|
3
|
+
</div><div class="tsd-tag-example"><h4 class="tsd-anchor-link" id="example">Example<a href="#example" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><pre><code class="typescript"><span class="hl-1"><</span><span class="hl-4">FiveProvider</span><span class="hl-1"> </span><span class="hl-4">initialWork</span><span class="hl-1">={</span><span class="hl-4">work</span><span class="hl-1">}></span><br/><span class="hl-1"> <</span><span class="hl-4">FiveCanvas</span><span class="hl-1"> </span><span class="hl-4">width</span><span class="hl-1">={</span><span class="hl-10">512</span><span class="hl-1">} </span><span class="hl-4">height</span><span class="hl-1">={</span><span class="hl-10">512</span><span class="hl-1">}/></span><br/><span class="hl-1"></</span><span class="hl-4">FiveProvider</span><span class="hl-1">></span>
|
|
4
4
|
</code><button type="button">Copy</button></pre>
|
|
5
5
|
|
|
6
6
|
</div></div><aside class="tsd-sources"><ul><li>Defined in lib/react/canvas.ts:30</li></ul></aside></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html">如视 Five SDK</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>
|
|
@@ -1,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>useFiveScene | 如视 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">useFiveScene</a></li></ul><h1 class="deprecated">Variable useFiveScene<code class="tsd-tag">Const</code></h1></div><div class="tsd-signature"><span class="tsd-kind-variable">useFiveScene</span><span class="tsd-signature-symbol">:</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">=></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">=></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><span class="tsd-signature-symbol"> = useFiveSceneEffect</span></div><div class="tsd-type-declaration"><h4>Type Declaration</h4><ul class="tsd-parameters"><li class="tsd-parameter-signature"><ul class="tsd-signatures"><li class="tsd-signature" id="__type"><span class="tsd-signature-symbol">(</span><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">=></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">=></span> <span class="tsd-signature-type">void</span>)<span class="tsd-signature-symbol">,</span> <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><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span></li><li 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">=></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">=></span> <span class="tsd-signature-type">void</span>)</span><div class="tsd-comment tsd-typography"><p>获取 Five 的 Scene 的回调函数</p>
|
|
3
|
-
</div
|
|
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">=></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">=></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></li></ul></li></ul></div><div class="tsd-comment tsd-typography"><div class="tsd-tag-deprecated"><h4 class="tsd-anchor-link" id="deprecated">Deprecated<a href="#deprecated" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>请使用 <code>useFiveSceneEffect</code> 替代</p>
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
</div><div class="tsd-tag-param"><h4 class="tsd-anchor-link" id="param-width">Param: width<a href="#param-width" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>渲染区域的宽度</p>
|
|
4
4
|
</div><div class="tsd-tag-param"><h4 class="tsd-anchor-link" id="param-height">Param: height<a href="#param-height" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>渲染区域的高度</p>
|
|
5
5
|
</div><div class="tsd-tag-returns"><h4 class="tsd-anchor-link" id="returns">Returns<a href="#returns" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>Vue 元素</p>
|
|
6
|
-
</div><div class="tsd-tag-example"><h4 class="tsd-anchor-link" id="example">Example<a href="#example" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><pre><code class="typescript"><span class="hl-1"><</span><span class="hl-
|
|
6
|
+
</div><div class="tsd-tag-example"><h4 class="tsd-anchor-link" id="example">Example<a href="#example" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><pre><code class="typescript"><span class="hl-1"><</span><span class="hl-13">FiveProvider</span><span class="hl-1"> :</span><span class="hl-4">initialWork</span><span class="hl-1">=</span><span class="hl-2">"work"</span><span class="hl-1">></span><br/><span class="hl-1"> <</span><span class="hl-4">FiveCanvas</span><span class="hl-1"> </span><span class="hl-4">width</span><span class="hl-1">=</span><span class="hl-2">"512"</span><span class="hl-1"> </span><span class="hl-4">height</span><span class="hl-1">=</span><span class="hl-2">"512"</span><span class="hl-1">/></span><br/><span class="hl-1"></</span><span class="hl-4">FiveProvider</span><span class="hl-1">></span>
|
|
7
7
|
</code><button type="button">Copy</button></pre>
|
|
8
8
|
|
|
9
9
|
</div></div><aside class="tsd-sources"><ul><li>Defined in lib/vue/hooks/FiveCanvas.ts:23</li></ul></aside></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html">如视 Five SDK</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
以及使用 useFiveState useFiveEventCallback等 Five Vue Composition API 来对 FiveProvider 进行操作</p>
|
|
4
4
|
</div><div class="tsd-comment tsd-typography"><div class="tsd-tag-description"><h4 class="tsd-anchor-link" id="description">Description<a href="#description" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>Five 创建Five实例的组件</p>
|
|
5
5
|
</div><div class="tsd-tag-param"><h4 class="tsd-anchor-link" id="param-fiveprovidercomponent">Param: FiveProviderComponent<a href="#param-fiveprovidercomponent" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>Five 参数</p>
|
|
6
|
-
</div><div class="tsd-tag-example"><h4 class="tsd-anchor-link" id="example">Example<a href="#example" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><pre><code class="typescript"><span class="hl-1"><</span><span class="hl-
|
|
6
|
+
</div><div class="tsd-tag-example"><h4 class="tsd-anchor-link" id="example">Example<a href="#example" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><pre><code class="typescript"><span class="hl-1"><</span><span class="hl-13">FiveProvider</span><span class="hl-1"> :</span><span class="hl-4">initialWork</span><span class="hl-1">=</span><span class="hl-2">"work"</span><span class="hl-1">></span><br/><span class="hl-1"> <</span><span class="hl-4">FiveCanvas</span><span class="hl-1"> </span><span class="hl-4">width</span><span class="hl-1">=</span><span class="hl-2">"512"</span><span class="hl-1"> </span><span class="hl-4">height</span><span class="hl-1">=</span><span class="hl-2">"512"</span><span class="hl-1">/></span><br/><span class="hl-1"></</span><span class="hl-4">FiveProvider</span><span class="hl-1">></span>
|
|
7
7
|
</code><button type="button">Copy</button></pre>
|
|
8
8
|
|
|
9
9
|
</div></div><aside class="tsd-sources"><ul><li>Defined in lib/vue/hooks/FiveProvider.ts:70</li></ul></aside></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html">如视 Five SDK</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
**如视 Five SDK**
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
# Five.js
|
|
6
|
+
|
|
7
|
+
[](https://www.npmjs.com/package/@realsee/five)
|
|
8
|
+
|
|
9
|
+
贝壳如视三维渲染框架
|
|
10
|
+
|
|
11
|
+
## 什么是**Five**
|
|
12
|
+
|
|
13
|
+
**Five**是 [贝壳如视(realsee.com)](https://realsee.com) 提供的在浏览器中运行的三维空间渲染 Javascript SDK。您可以通过[如视开发者中心](https://developers.realsee.com)的数据服务,并结合**Five**,制作丰富多彩的三维空间应用。
|
|
14
|
+
|
|
15
|
+
并且**Five**提供了一系列的方法、事件、生命周期函数。您可以方便地基于**Five**进行二次开发,并结合到您自身的项目中,为您的项目添砖加瓦。
|
|
16
|
+
|
|
17
|
+
**Five**通过 [TypeScript](https://www.typescriptlang.org/) 编写,保证开发的质量以及编程体验,推荐通过 [Visual Studio Code](https://code.visualstudio.com)、[WebStorm](https://www.jetbrains.com/webstorm/) 等现代源代码编辑器,您将可以体验到友好的代码提示以及自动补全。
|
|
18
|
+
|
|
19
|
+
## 安装**Five**
|
|
20
|
+
|
|
21
|
+
**Five**提供通过 [npm](https://www.npmjs.com) 的方式安装。**Five**基于 [Three.js](https://threejs.org), 所以同时您需要安装相关依赖。
|
|
22
|
+
|
|
23
|
+
目前依赖的**three**版本为 117 的版本
|
|
24
|
+
|
|
25
|
+
```shell
|
|
26
|
+
npm install @realsee/five three@0.117.1
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
## 浏览器兼容性
|
|
30
|
+
|
|
31
|
+
| Safari | Safari on iOS | Chrome | Chrome for Android | Edge | Firefox |
|
|
32
|
+
|:------:|:-------------:|--------:|:------------------:|:----:|:-------:|
|
|
33
|
+
| >= 9 | >= 9 | >= 49 | >= 93 | >= 13| >= 45 |
|
|
Binary file
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
[**如视 Five SDK**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
[如视 Five SDK](../modules.md) / coordinate
|
|
6
|
+
|
|
7
|
+
# 坐标系以及方向角度说明
|
|
8
|
+
|
|
9
|
+
## 坐标系说明
|
|
10
|
+
|
|
11
|
+

|
|
12
|
+
|
|
13
|
+
场景使用三位笛卡尔右手坐标系。 `XZ`平米平行于地面, `Y`轴垂直于地面。
|
|
14
|
+
|
|
15
|
+
## longitude 水平角度
|
|
16
|
+
|
|
17
|
+
longitude 为水平角度,单位是弧度值
|
|
18
|
+
|
|
19
|
+
可以认为是相对于 `Y` 轴为轴旋转的角度,Five中返回的 longitude 必定在 [0, 2PI) 这个区间内,但是方法调用是传入的可以随意。
|
|
20
|
+
|
|
21
|
+
longitude `0度` 相对于 `Y` 轴负方向。 绕 `Y` 轴顺时针方向为 `正`, 逆时针方向为 `负`
|
|
22
|
+
|
|
23
|
+
## latitude 俯仰角度
|
|
24
|
+
|
|
25
|
+
latitude 为水平角度,单位是弧度值
|
|
26
|
+
|
|
27
|
+
可以认为是相对于 `ZX` 平面的夹角,Five中返回的 latitude 必定在 [-PI, PI]这个区间内,但是方法调用是传入的可以随意。
|
|
28
|
+
|
|
29
|
+
latitude `0度` 相对于 平行于`ZX` 平面。 仰视为 `正`, 俯视为 `负`
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
[**如视 Five SDK**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
[如视 Five SDK](../modules.md) / intro
|
|
6
|
+
|
|
7
|
+
# Intro - 介绍
|
|
8
|
+
|
|
9
|
+
## 什么是 **Five**
|
|
10
|
+
|
|
11
|
+
**Five** 是 [贝壳如视(realsee.com)](https://realsee.com) 提供的在浏览器中运行的三维空间渲染 Javascript SDK。您可以通过[如视开发者中心](https://developers.realsee.com)的数据服务,并结合**Five**,制作丰富多彩的三维空间应用。
|
|
12
|
+
|
|
13
|
+
并且 **Five** 提供了一系列的方法、事件、生命周期函数。您可以方便地基于**Five**进行二次开发,并结合到您自身的项目中,为您的项目添砖加瓦。
|
|
14
|
+
|
|
15
|
+
**Five** 通过 [TypeScript](https://www.typescriptlang.org/) 编写,保证开发的质量以及编程体验,推荐通过 [Visual Studio Code](https://code.visualstudio.com)、[WebStorm](https://www.jetbrains.com/webstorm/) 等现代源代码编辑器,您将可以体验到友好的代码提示以及自动补全。
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
[**如视 Five SDK**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
[如视 Five SDK](../modules.md) / mode
|
|
6
|
+
|
|
7
|
+
# Mode - 模式
|
|
8
|
+
|
|
9
|
+
```ts
|
|
10
|
+
import { type Mode } from 'five';
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Five 支持多种模式
|
|
14
|
+
|
|
15
|
+
- Panorama - 全景图游走模式
|
|
16
|
+
- Mapview - 模型地图模式
|
|
17
|
+
- Floorplan - 模型户型图模式
|
|
18
|
+
- Topview - 模型平面图模式
|
|
19
|
+
- Model - 模型游走模式
|
|
20
|
+
- VRPanorama - Cardboard VR 眼镜模式
|
|
21
|
+
- XRPanorama - WebXR 虚拟现实 VR 眼镜模式
|
|
@@ -0,0 +1,226 @@
|
|
|
1
|
+
[**如视 Five SDK**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
[如视 Five SDK](../modules.md) / plugins
|
|
6
|
+
|
|
7
|
+
# 插件 Plugins
|
|
8
|
+
> Five 提供了工厂模式的插件机制,
|
|
9
|
+
> 提供了 FivePlugin FivePluginInstance FivePluginInits 接口来帮助创建和使用插件
|
|
10
|
+
|
|
11
|
+
## 插件的作用
|
|
12
|
+
1. 插件即是将一些通用的对于 five 的操作的一些复用的抽象。
|
|
13
|
+
2. 可以通过插件来组织代码,减少逻辑依赖。
|
|
14
|
+
|
|
15
|
+
## 创建插件
|
|
16
|
+
```
|
|
17
|
+
mkdir a-five-plugin
|
|
18
|
+
npm init -y
|
|
19
|
+
npm install @realsee/five
|
|
20
|
+
npx five-plugin-init
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
## 项目目录
|
|
24
|
+
|
|
25
|
+
```
|
|
26
|
+
.
|
|
27
|
+
├── README.md
|
|
28
|
+
├── devtools
|
|
29
|
+
│ ├── external-five.js
|
|
30
|
+
│ ├── external-three.js
|
|
31
|
+
│ ├── tsconfig.build.json
|
|
32
|
+
│ ├── webpack.bundle.js
|
|
33
|
+
│ └── webpack.example.js
|
|
34
|
+
├── docs
|
|
35
|
+
├── examples
|
|
36
|
+
│ ├── data.json
|
|
37
|
+
│ ├── index.html
|
|
38
|
+
│ └── index.ts
|
|
39
|
+
├── lib
|
|
40
|
+
│ └── index.ts
|
|
41
|
+
├── package.json
|
|
42
|
+
└── tsconfig.json
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
## npm script
|
|
46
|
+
|
|
47
|
+
- `example`: 开发环境,编译 example 下的 index.ts, 监听变化,并且开启端口监听,可以通过 `localhost:8080` 访问
|
|
48
|
+
- `build:doc`: 通过 typedoc 生成项目文档,生成目标在 `docs` 目录下
|
|
49
|
+
- `build:typescript`: 通过 `tsc` 编译 ts 代码,生成目标在 `build` 目录下
|
|
50
|
+
- `build:bundle`: 通过 `webpack` 编译 unpack 包, 生成目标在 `bundle` 目录下
|
|
51
|
+
- `build:all`: `npm run build:doc && npm run build:typescript && && npm run build:example && npm run build:bundle`
|
|
52
|
+
|
|
53
|
+
## 编译配置
|
|
54
|
+
|
|
55
|
+
编译配置均在 devtools 目录下, 可以自行修改配置
|
|
56
|
+
|
|
57
|
+
- ts 的编译参数在 `devtools/tsconfig.build.json` 下
|
|
58
|
+
- bundle 的 webpack 配置在 `devtools/webpack.bundle.js` 下
|
|
59
|
+
|
|
60
|
+
## 发布
|
|
61
|
+
|
|
62
|
+
- 往 npm 发布,默认发布的入口文件在 `build/index.js`, 即通过 tsc 编译得到的代码。你可以在 `package.json` 中修改。
|
|
63
|
+
- bundle 包发布,可以直接使用 `build:bundle` 生成的结果。
|
|
64
|
+
|
|
65
|
+
### 类型说明
|
|
66
|
+
|
|
67
|
+
```typescript
|
|
68
|
+
type FivePlugin<Parameters, Returns>;
|
|
69
|
+
```
|
|
70
|
+
- Parameters 插件定义的参数
|
|
71
|
+
- Returns 插件返回的实例
|
|
72
|
+
|
|
73
|
+
### 简单例子
|
|
74
|
+
> 这是一个在当five显示界面被点击时 打印 "tap!" 的一个简单插件, 并且可以拉取历史列表
|
|
75
|
+
|
|
76
|
+
```typescript
|
|
77
|
+
import { FivePlugin } from "@realsee/five";
|
|
78
|
+
|
|
79
|
+
// 打印的内容
|
|
80
|
+
type TapRecordPluginParameter = string;
|
|
81
|
+
|
|
82
|
+
// 实例方法
|
|
83
|
+
type TapRecordPluginReturns = {
|
|
84
|
+
// 一个返回历史列表的防范
|
|
85
|
+
getHistory: () => string[]
|
|
86
|
+
};
|
|
87
|
+
|
|
88
|
+
const TapRecordPlugin: FivePlugin<
|
|
89
|
+
TapRecordPluginParameter,
|
|
90
|
+
TapRecordPluginReturns
|
|
91
|
+
> = (five, message = "tap!") => {
|
|
92
|
+
|
|
93
|
+
const list: string[] = [];
|
|
94
|
+
|
|
95
|
+
five.on("tapGesture", () => {
|
|
96
|
+
console.log(message);
|
|
97
|
+
list.push(`${new Date().toUTCString()} ${message}`);
|
|
98
|
+
});
|
|
99
|
+
|
|
100
|
+
return { getHistory: () => list.slice() };
|
|
101
|
+
};
|
|
102
|
+
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
- 工厂函数的参数是 five 实例 以及对应的插件需要的参数, 参数使用后面在插件初始化中详细说明。
|
|
106
|
+
- 工厂函数的返回将在 five.plugis 中取到,后面会详细说明。
|
|
107
|
+
|
|
108
|
+
### 插件初始化
|
|
109
|
+
|
|
110
|
+
### 类型说明
|
|
111
|
+
```
|
|
112
|
+
type FivePluginInit<FivePlugin>
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
### 简单例子
|
|
116
|
+
> 就上面 TapRecordPlugin 的例子来初始化插件
|
|
117
|
+
|
|
118
|
+
```typescript
|
|
119
|
+
import Five, { FivePluginInits } from "@realsee/five";
|
|
120
|
+
|
|
121
|
+
const five = new Five({
|
|
122
|
+
plugins: [
|
|
123
|
+
[
|
|
124
|
+
// 插件
|
|
125
|
+
TapRecordPlugin,
|
|
126
|
+
|
|
127
|
+
// 插件对象在 five.plugins 中的命名实例名称,
|
|
128
|
+
// 比如这个就是通过 five.plguins.tapRecord 获取到插件实例
|
|
129
|
+
"tapRecord",
|
|
130
|
+
|
|
131
|
+
// 插件参数,必须符合 TapRecordPluginParameter 的生命
|
|
132
|
+
"tap!"
|
|
133
|
+
] as FivePluginInit<typeof TapRecordPlugin>
|
|
134
|
+
]
|
|
135
|
+
});
|
|
136
|
+
|
|
137
|
+
// five.load(...)
|
|
138
|
+
|
|
139
|
+
```
|
|
140
|
+
|
|
141
|
+
- 需要使用 `as FivePluginInit` 的方法声明,否则无法约束参数
|
|
142
|
+
- 第一个参数必须唯一的,不要出现插件间冲突
|
|
143
|
+
|
|
144
|
+
## 使用插件实例
|
|
145
|
+
|
|
146
|
+
```
|
|
147
|
+
type FivePluginInstance<FivePlugin>;
|
|
148
|
+
```
|
|
149
|
+
简单例子
|
|
150
|
+
就上面 TapRecordPlugin 的例子来获取历时点击列表
|
|
151
|
+
|
|
152
|
+
```typescript
|
|
153
|
+
import { FivePluginInstance } from "@realsee/five";
|
|
154
|
+
|
|
155
|
+
// five.plugins.tapRecord 可以获取到插件实例 "tapRecord" 是插件初始化声明确定的
|
|
156
|
+
// 通过 FivePluginInstance 在约束类型,否则均为 any
|
|
157
|
+
const tapRecord: FivePluginInstance<typeof TapRecordPlugin> = five.plugins.tapRecord;
|
|
158
|
+
|
|
159
|
+
// 现在就可以获取到历时列表了
|
|
160
|
+
const getHistory: string[] = tapRecord.getHistory();
|
|
161
|
+
|
|
162
|
+
console.log(getHistory);
|
|
163
|
+
```
|
|
164
|
+
|
|
165
|
+
### 回顾整体的例子
|
|
166
|
+
|
|
167
|
+
```typescript
|
|
168
|
+
import Five, { FivePlugin, FivePluginInit, FivePluginInstance } from "@realsee/five";
|
|
169
|
+
|
|
170
|
+
// 打印的内容
|
|
171
|
+
type TapRecordPluginParameter = string;
|
|
172
|
+
|
|
173
|
+
// 实例方法
|
|
174
|
+
type TapRecordPluginReturns = {
|
|
175
|
+
// 一个返回历史列表的防范
|
|
176
|
+
getHistory: () => string[]
|
|
177
|
+
};
|
|
178
|
+
|
|
179
|
+
const TapRecordPlugin: FivePlugin<
|
|
180
|
+
TapRecordPluginParameter,
|
|
181
|
+
TapRecordPluginReturns
|
|
182
|
+
> = (five, message = "tap!") => {
|
|
183
|
+
|
|
184
|
+
const list: string[] = [];
|
|
185
|
+
|
|
186
|
+
five.on("tapGesture", () => {
|
|
187
|
+
console.log(message);
|
|
188
|
+
list.push(`${new Date().toUTCString()} ${message}`);
|
|
189
|
+
});
|
|
190
|
+
|
|
191
|
+
return { getHistory: () => list.slice() };
|
|
192
|
+
};
|
|
193
|
+
|
|
194
|
+
const five = new Five({
|
|
195
|
+
plugins: [
|
|
196
|
+
[
|
|
197
|
+
// 插件对象在 five.plugins 中的命名实例名称,
|
|
198
|
+
// 比如这个就是通过 five.plguins.tapRecord 获取到插件实例
|
|
199
|
+
"tapRecord",
|
|
200
|
+
|
|
201
|
+
// 插件
|
|
202
|
+
TapRecordPlugin,
|
|
203
|
+
|
|
204
|
+
// 插件参数,必须符合 TapRecordPluginParameter 的生命
|
|
205
|
+
"tap!"
|
|
206
|
+
] as FivePluginInit<typeof TapRecordPlugin>
|
|
207
|
+
]
|
|
208
|
+
});
|
|
209
|
+
|
|
210
|
+
// five.load(...)
|
|
211
|
+
|
|
212
|
+
// five.plugins.tapRecord 可以获取到插件实例 "tapRecord" 是插件初始化声明确定的
|
|
213
|
+
// 通过 FivePluginInstance 在约束类型,否则均为 any
|
|
214
|
+
const tapRecord: FivePluginInstance<typeof TapRecordPlugin> = five.plugins.tapRecord;
|
|
215
|
+
|
|
216
|
+
// 现在就可以获取到历时列表了
|
|
217
|
+
const getHistory: string[] = tapRecord.getHistory();
|
|
218
|
+
|
|
219
|
+
console.log(getHistory);
|
|
220
|
+
```
|
|
221
|
+
|
|
222
|
+
## 其他注意的问题
|
|
223
|
+
|
|
224
|
+
1. 插件初始化的时机在 `new Five` 时,Five 并没有调用 `load` 来创建VR,请通过监听事件的方式,在合适的时机获取模型。
|
|
225
|
+
2. 如果插件内容需要有 five 销毁同时销毁的内容,请监听 `five.on("dispose")` 事件来处理。
|
|
226
|
+
3. 不要出现初始化插件同名的现象,会出现插件间冲突。
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
[**如视 Five SDK**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
[如视 Five SDK](../modules.md) / quick-start
|
|
6
|
+
|
|
7
|
+
# Quick Start - 快速开始
|
|
8
|
+
|
|
9
|
+
## 安装
|
|
10
|
+
|
|
11
|
+
npm
|
|
12
|
+
|
|
13
|
+
```shell
|
|
14
|
+
npm install three@^0.117.1 @realsee/five
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
pnpm
|
|
18
|
+
|
|
19
|
+
```shell
|
|
20
|
+
pnpm add three@^0.117.1 @realsee/five
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
yarn
|
|
24
|
+
|
|
25
|
+
```shell
|
|
26
|
+
yarn add three@^0.117.1 @realsee/five
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
## 如何使用
|
|
30
|
+
|
|
31
|
+
```ts
|
|
32
|
+
import { Five, parseWork } from "@realsee/five";
|
|
33
|
+
|
|
34
|
+
async function main() {
|
|
35
|
+
|
|
36
|
+
// 新建一个 Five 实例
|
|
37
|
+
const five = new Five();
|
|
38
|
+
|
|
39
|
+
// 找一个 Dom 容器。并设置大小
|
|
40
|
+
const app = document.getElementById('app')!;
|
|
41
|
+
app.style.width = '100vw';
|
|
42
|
+
app.style.height = '100vh';
|
|
43
|
+
|
|
44
|
+
// 将渲染视图的 canvas 添加到 DOM 中
|
|
45
|
+
// appendTo 方法会获取容器大小并撑满它
|
|
46
|
+
five.appendTo(app);
|
|
47
|
+
|
|
48
|
+
// 可以通过 ResizeObserver,确保容器大小变化时,跟随大小
|
|
49
|
+
const resizeObserver = new ResizeObserver(() => five.refresh());
|
|
50
|
+
resizeObserver.observe(app);
|
|
51
|
+
|
|
52
|
+
// 获取 一套 VR 数据。我们称为 Work
|
|
53
|
+
// 这是一个公开测试数据
|
|
54
|
+
const res = await fetch('https://raw.githubusercontent.com/realsee-developer/open-works/main/real/pWLy9ndnVL73Xqja/work.json');
|
|
55
|
+
const json = await res.json();
|
|
56
|
+
|
|
57
|
+
// 解析这个 work 数据,并加载。
|
|
58
|
+
await five.load(parseWork(json));
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
main();
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
### 移步到达指定观察点
|
|
65
|
+
|
|
66
|
+
移步有两种方式
|
|
67
|
+
|
|
68
|
+
- 通过命令切换
|
|
69
|
+
```ts
|
|
70
|
+
await five.moveToPano(3);
|
|
71
|
+
```
|
|
72
|
+
- 通过设置 State 切换
|
|
73
|
+
```ts
|
|
74
|
+
five.setState({
|
|
75
|
+
mode: 'Panorama',
|
|
76
|
+
panoIndex: 3,
|
|
77
|
+
});
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
### 切换模式
|
|
81
|
+
|
|
82
|
+
模式有 4 种
|
|
83
|
+
|
|
84
|
+
- Panorama - 全景图游走模式
|
|
85
|
+
- Mapview - 模型地图模式
|
|
86
|
+
- Floorplan - 模型户型图模式
|
|
87
|
+
- Topview - 模型平面图模式
|
|
88
|
+
- Model - 模型游走模式
|
|
89
|
+
- VRPanorama - Cardboard VR 眼镜模式
|
|
90
|
+
- XRPanorama - WebXR 虚拟现实 VR 眼镜模式
|
|
91
|
+
|
|
92
|
+
常用的是 Panorama 以及 Mapview。
|
|
93
|
+
|
|
94
|
+
切换模态有两种方式。
|
|
95
|
+
|
|
96
|
+
- 通过命令切换
|
|
97
|
+
```ts
|
|
98
|
+
five.changeMode('Mapview');
|
|
99
|
+
```
|
|
100
|
+
- 通过设置 State 切换
|
|
101
|
+
```ts
|
|
102
|
+
five.setState({
|
|
103
|
+
mode: 'Mapview',
|
|
104
|
+
});
|
|
105
|
+
```
|