@realsee/five 6.8.0-alpha.1 → 6.8.0-alpha.11
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/AGENTS_READ_ME.md +4 -0
- package/AI_CONTEXT.md +4 -0
- package/README.md +64 -13
- package/ai_guides/README.md +122 -0
- package/ai_guides/ai-doc-guidelines.md +102 -0
- package/ai_guides/api.md +274 -0
- package/ai_guides/features/3dtile.md +172 -0
- package/ai_guides/features/camera-animation.md +205 -0
- package/ai_guides/features/clipper.md +135 -0
- package/ai_guides/features/coordinate-system.md +128 -0
- package/ai_guides/features/event.md +154 -0
- package/ai_guides/features/five.md +184 -0
- package/ai_guides/features/flowing-light-2d-pass.md +438 -0
- package/ai_guides/features/flowing-light-3d-pass.md +420 -0
- package/ai_guides/features/gaussian-blur-pass.md +202 -0
- package/ai_guides/features/gesture.md +180 -0
- package/ai_guides/features/get-screen-pixels.md +182 -0
- package/ai_guides/features/image-options.md +164 -0
- package/ai_guides/features/load-external-model.md +350 -0
- package/ai_guides/features/load-progress.md +140 -0
- package/ai_guides/features/material.md +151 -0
- package/ai_guides/features/mode.md +269 -0
- package/ai_guides/features/model.md +186 -0
- package/ai_guides/features/move-pano-effect.md +145 -0
- package/ai_guides/features/multi-work.md +146 -0
- package/ai_guides/features/pano-tile.md +132 -0
- package/ai_guides/features/pano-uv.md +131 -0
- package/ai_guides/features/parameter.md +153 -0
- package/ai_guides/features/plugin.md +210 -0
- package/ai_guides/features/postprocessing.md +259 -0
- package/ai_guides/features/raycast.md +175 -0
- package/ai_guides/features/request-proxy.md +112 -0
- package/ai_guides/features/screen-project.md +165 -0
- package/ai_guides/features/state.md +101 -0
- package/ai_guides/features/view-layer.md +187 -0
- package/ai_guides/features/work.md +303 -0
- package/ai_guides/glossary.md +93 -0
- package/ai_guides/intro.md +23 -0
- package/ai_guides/quick-start.md +69 -0
- package/ai_guides/release_notes/6.6.md +86 -0
- package/ai_guides/release_notes/6.7.md +401 -0
- package/ai_guides/release_notes/6.8.md +90 -0
- package/ai_guides/support.md +23 -0
- package/ai_guides/template.md +70 -0
- package/docs/00_FOR_AI_AGENTS.md +11 -0
- package/docs/README.md +11 -0
- package/docs/assets/hierarchy.js +1 -1
- package/docs/assets/highlight.css +33 -19
- package/docs/assets/navigation.js +1 -1
- package/docs/assets/search.js +1 -1
- package/docs/classes/five.AdaptiveLuminancePass.html +1 -1
- package/docs/classes/five.BoundingMesh.html +1 -1
- package/docs/classes/five.Camera.html +1 -1
- package/docs/classes/five.EyeDomeLightingPass.html +1 -1
- package/docs/classes/five.Five.html +75 -81
- package/docs/classes/five.FivePass.html +1 -1
- package/docs/classes/five.InternalWebGLRenderer.html +1 -1
- package/docs/classes/five.Model.html +32 -32
- package/docs/classes/five.ModelScene.html +1 -1
- package/docs/classes/five.NetworkSubscribe.html +2 -2
- package/docs/classes/five.PBMContainer.html +1 -1
- package/docs/classes/five.PBMGSObject.html +14 -12
- package/docs/classes/five.PBMGroup.html +1 -1
- package/docs/classes/five.PBMMesh.html +1 -1
- package/docs/classes/five.PBMMeshMaterial.html +15 -6
- package/docs/classes/five.PBMPointCloud.html +1 -1
- package/docs/classes/five.PBMPointCloudMaterial.html +1 -1
- package/docs/classes/five.PBMSkinnedMesh.html +1 -1
- package/docs/classes/five.PanoCircleMesh.html +1 -1
- package/docs/classes/five.PanoCircleMeshCustom.html +1 -1
- package/docs/classes/five.PanoCircleMeshSolid.html +1 -1
- package/docs/classes/five.Parameter.html +54 -50
- package/docs/classes/five.Scene.html +1 -1
- package/docs/classes/five.Subscribe.html +2 -2
- package/docs/classes/five.Tile.html +1 -1
- package/docs/classes/five.Tile3D.html +30 -26
- package/docs/classes/five.TileNode.html +1 -1
- package/docs/classes/five.Trajectory.html +1 -1
- package/docs/classes/five.TrajectoryNode.html +1 -1
- package/docs/classes/five.Work.html +16 -16
- package/docs/classes/five.WorkResolvedObserver.html +28 -3
- 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 +2 -2
- 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 +1 -1
- package/docs/classes/line.LineMaterial.html +1 -1
- package/docs/classes/line.LineSegmentsGeometry.html +1 -1
- 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 +1 -1
- package/docs/classes/plugins.RoundedBoxGeometry.html +1 -1
- package/docs/classes/react.Store.html +1 -1
- package/docs/classes/sticker.Sticker.html +2 -2
- package/docs/classes/vfx.Airflow.html +1 -1
- package/docs/classes/vfx.Flame.html +1 -1
- package/docs/classes/vfx.Particle.html +1 -1
- package/docs/classes/vfx.ParticleGPU.html +1 -1
- package/docs/classes/vfx.SpotLight.html +1 -1
- package/docs/documents/README.html +138 -0
- package/docs/documents/ai-doc-guidelines.html +117 -0
- package/docs/documents/api.html +337 -0
- package/docs/documents/features_3dtile.html +216 -0
- package/docs/documents/features_camera-animation.html +157 -0
- package/docs/documents/features_clipper.html +80 -0
- package/docs/documents/features_coordinate-system.html +127 -0
- package/docs/documents/features_event.html +104 -0
- package/docs/documents/features_five.html +147 -0
- package/docs/documents/features_flowing-light-2d-pass.html +356 -0
- package/docs/documents/features_flowing-light-3d-pass.html +351 -0
- package/docs/documents/features_gaussian-blur-pass.html +182 -0
- package/docs/documents/features_gesture.html +120 -0
- package/docs/documents/features_get-screen-pixels.html +88 -0
- package/docs/documents/features_image-options.html +108 -0
- package/docs/documents/features_load-external-model.html +600 -0
- package/docs/documents/features_load-progress.html +110 -0
- package/docs/documents/features_material.html +334 -0
- package/docs/documents/features_mode.html +114 -0
- package/docs/documents/features_model.html +141 -0
- package/docs/documents/features_move-pano-effect.html +110 -0
- package/docs/documents/features_multi-work.html +97 -0
- package/docs/documents/features_pano-tile.html +100 -0
- package/docs/documents/features_pano-uv.html +82 -0
- package/docs/documents/features_parameter.html +101 -0
- package/docs/documents/features_plugin.html +105 -0
- package/docs/documents/features_postprocessing.html +109 -0
- package/docs/documents/features_raycast.html +98 -0
- package/docs/documents/features_request-proxy.html +78 -0
- package/docs/documents/features_screen-project.html +112 -0
- package/docs/documents/features_state.html +71 -0
- package/docs/documents/features_view-layer.html +158 -0
- package/docs/documents/features_work.html +129 -0
- package/docs/documents/glossary.html +94 -0
- package/docs/documents/intro.html +24 -6
- package/docs/documents/quick-start.html +23 -45
- package/docs/documents/release_notes_6.6.html +79 -0
- package/docs/documents/release_notes_6.7.html +14 -14
- package/docs/documents/release_notes_6.8.html +103 -0
- package/docs/documents/support.html +39 -15
- package/docs/documents/template.html +80 -0
- package/docs/functions/five.loadAt3d.html +1 -1
- package/docs/functions/five.loadB3dm.html +1 -1
- package/docs/functions/five.loadDome.html +1 -1
- package/docs/functions/five.loadDomez.html +1 -1
- package/docs/functions/five.loadFbx.html +1 -1
- package/docs/functions/five.loadGltf.html +1 -1
- package/docs/functions/five.loadPbm.html +1 -1
- package/docs/functions/five.loadPly.html +1 -1
- package/docs/functions/five.loadPnts.html +1 -1
- package/docs/functions/five.loadSplat.html +1 -1
- package/docs/functions/five.loadSpz.html +1 -1
- package/docs/functions/five.loadX3p.html +1 -1
- package/docs/functions/five.parseWork.html +1 -1
- package/docs/functions/react.createFiveProvider.html +1 -1
- package/docs/functions/react.useFiveAction.html +6 -6
- package/docs/functions/react.useFiveCurrentObserver.html +1 -1
- package/docs/functions/react.useFiveCurrentState.html +1 -1
- package/docs/functions/react.useFiveEventCallback.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.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 +8 -8
- package/docs/functions/vue.useFiveCurrentObserver.html +1 -1
- package/docs/functions/vue.useFiveCurrentState.html +1 -1
- package/docs/functions/vue.useFiveEventCallback.html +1 -1
- package/docs/functions/vue.useFiveFloor.html +1 -1
- package/docs/functions/vue.useFiveHelper.html +1 -1
- package/docs/functions/vue.useFiveModelIntersectRaycaster.html +2 -2
- package/docs/functions/vue.useFiveProject2d.html +2 -2
- package/docs/functions/vue.useFiveState.html +1 -1
- package/docs/functions/vue.useFiveWorks.html +4 -4
- package/docs/hierarchy.html +1 -1
- package/docs/index.html +135 -34
- package/docs/interfaces/five.AddableObject.html +1 -1
- package/docs/interfaces/five.AjaxOptions.html +1 -1
- package/docs/interfaces/five.BaseEvent.html +2 -2
- package/docs/interfaces/five.EventCallback.html +15 -11
- package/docs/interfaces/five.FiveInitArgs.html +2 -2
- package/docs/interfaces/five.GestureEvent.html +2 -2
- package/docs/interfaces/five.ImageOptions.html +1 -1
- package/docs/interfaces/five.IntersectEvent.html +2 -2
- package/docs/interfaces/five.IntersectMesh.html +1 -1
- package/docs/interfaces/five.IntersectMeshInterface.html +1 -1
- package/docs/interfaces/five.Intersection.html +4 -3
- package/docs/interfaces/five.LooseWorkWithExtrinsics.html +6 -6
- package/docs/interfaces/five.ModeChangeEvent.html +2 -2
- package/docs/interfaces/five.ModelControllerCustomInitArgs.html +1 -1
- package/docs/interfaces/five.ModelEvent.html +2 -2
- package/docs/interfaces/five.ModelSceneEvent.html +2 -2
- package/docs/interfaces/five.ModelTileEvent.html +8 -0
- package/docs/interfaces/five.MovePanoOptions.html +4 -4
- package/docs/interfaces/five.NetworkAbortError.html +1 -1
- package/docs/interfaces/five.NetworkFirbiddenError.html +1 -1
- package/docs/interfaces/five.NetworkOptions.html +1 -1
- package/docs/interfaces/five.NetworkProxyError.html +1 -1
- package/docs/interfaces/five.NetworkResourceEvent.html +2 -2
- package/docs/interfaces/five.NetworkResponseError.html +1 -1
- package/docs/interfaces/five.NetworkTimeoutError.html +1 -1
- package/docs/interfaces/five.ObjectEvent.html +2 -2
- package/docs/interfaces/five.PBMMaterial.html +1 -1
- package/docs/interfaces/five.PBMMeshMaterialParameters.html +1 -1
- package/docs/interfaces/five.PBMPointCloudMaterialParameters.html +1 -1
- package/docs/interfaces/five.PanoCircleMeshInterface.html +1 -1
- package/docs/interfaces/five.PanoEvent.html +2 -2
- package/docs/interfaces/five.PanoTextureEvent.html +2 -2
- package/docs/interfaces/five.PanoramaControllerCustomInitArgs.html +1 -1
- package/docs/interfaces/five.PanoramaLikeControllerCustomInitArgs.html +1 -1
- package/docs/interfaces/five.ParameterMaterialValue.html +39 -35
- package/docs/interfaces/five.ParameterTilesetValue.html +15 -15
- package/docs/interfaces/five.ParameterValue.html +53 -49
- package/docs/interfaces/five.Pose.html +6 -7
- package/docs/interfaces/five.RenderEvent.html +2 -2
- package/docs/interfaces/five.ResolvedParameterValue.html +53 -49
- package/docs/interfaces/five.SplatData.html +10 -0
- package/docs/interfaces/five.State.html +6 -6
- package/docs/interfaces/five.StateEvent.html +2 -2
- package/docs/interfaces/five.TextureOptions.html +1 -1
- package/docs/interfaces/five.Tile3DOptions.html +2 -2
- package/docs/interfaces/five.TopviewControllerCustomInitArgs.html +1 -1
- package/docs/interfaces/five.VRPanoramaControllerCustomInitArgs.html +1 -1
- package/docs/interfaces/five.ViewLayer.html +30 -26
- package/docs/interfaces/five.WorkCubeImage.html +1 -1
- package/docs/interfaces/five.WorkImage.html +1 -1
- package/docs/interfaces/five.WorkModel.html +8 -8
- package/docs/interfaces/five.WorkModelLayer.html +6 -6
- package/docs/interfaces/five.WorkObserver.html +28 -3
- package/docs/interfaces/five.WorkTile.html +1 -1
- package/docs/interfaces/five.WorksEvent.html +2 -2
- package/docs/interfaces/five.XRControllerEvent.html +2 -2
- package/docs/interfaces/five.XRGestureEvent.html +2 -2
- package/docs/interfaces/five.XRPanoramaControllerCustomInitArgs.html +1 -1
- package/docs/interfaces/five.XRSessionEvent.html +2 -2
- package/docs/interfaces/plugins.BackgroundPluginController.html +1 -1
- package/docs/interfaces/plugins.BackgroundPluginType.EventMap.html +1 -1
- package/docs/interfaces/plugins.BasePlugin.State.html +1 -1
- package/docs/interfaces/plugins.DynamicPathLinePluginController.html +1 -1
- package/docs/interfaces/plugins.DynamicPathLinePluginType.EventMap.html +1 -1
- package/docs/interfaces/plugins.DynamicPathLinePluginType.State.html +1 -1
- package/docs/interfaces/plugins.ItemMaskController.html +1 -1
- package/docs/interfaces/plugins.ItemMaskPluginType.EventMap.html +1 -1
- package/docs/interfaces/plugins.ItemMaskPluginType.State.html +1 -1
- package/docs/interfaces/plugins.OrientationPluginController.html +1 -1
- package/docs/interfaces/plugins.OrientationPluginType.EventMap.html +1 -1
- package/docs/interfaces/plugins.OrientationPluginType.State.html +1 -1
- package/docs/interfaces/plugins.PanoAnimeController.html +1 -1
- package/docs/interfaces/plugins.PanoAnimePluginType.EventMap.html +1 -1
- package/docs/interfaces/plugins.PanoAnimePluginType.State.html +1 -1
- package/docs/interfaces/plugins.PluginTemplateType.EventMap.html +1 -1
- package/docs/interfaces/plugins.PluginTemplateType.State.html +1 -1
- package/docs/interfaces/plugins.TrajectoryController.html +1 -1
- package/docs/interfaces/react.FiveInjectionTypes.html +14 -14
- package/docs/modules/five.html +1 -1
- package/docs/modules.html +1 -1
- package/docs/types/five.EventTypes.html +12 -10
- package/docs/types/five.FivePlugin.html +1 -1
- package/docs/types/five.FivePluginInit.html +1 -1
- package/docs/types/five.FivePluginInstance.html +1 -1
- package/docs/types/five.NetworkProgressCallback.html +1 -1
- package/docs/types/five.ParseOptions.html +6 -6
- package/docs/types/plugins.BasePlugin.EventMap.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/five/application/analysis.d.ts +40 -0
- package/five/application/controllers.d.ts +41 -0
- package/five/application/events-legacy.d.ts +454 -0
- package/five/application/events.d.ts +69 -0
- package/five/application/five.d.ts +518 -0
- package/five/application/fiveInitArgs.d.ts +176 -0
- package/five/application/fiveLoadOptions.d.ts +21 -0
- package/five/application/generateDefaultVideoElement.d.ts +2 -0
- package/five/application/getViewportScale.d.ts +2 -0
- package/five/application/initLights.d.ts +3 -0
- package/five/application/mode.d.ts +28 -0
- package/five/application/renderPoweredByRealsee.d.ts +3 -0
- package/five/assets/cardboard-png-data-url.d.ts +2 -0
- package/five/assets/gradient-png-data-url.d.ts +2 -0
- package/five/assets/loading-png-data-url.d.ts +2 -0
- package/five/assets/phone-png-data-url.d.ts +2 -0
- package/five/assets/realsee-pmg-data-url.d.ts +2 -0
- package/five/bvh/bvhMath.d.ts +33 -0
- package/five/bvh/bvhMesh.d.ts +7 -0
- package/five/bvh/bvhNode.d.ts +29 -0
- package/five/bvh/bvhObject.d.ts +18 -0
- package/five/bvh/bvhPoints.d.ts +6 -0
- package/five/bvh/index.d.ts +10 -0
- package/five/bvh/worker.d.ts +35 -0
- package/five/cardboard/helper.d.ts +2 -0
- package/five/cardboard/index.d.ts +13 -0
- package/five/cardboard/sensor.d.ts +158 -0
- package/five/certificates/hardware.d.ts +1 -0
- package/five/controllers/base.d.ts +166 -0
- package/five/controllers/events.d.ts +69 -0
- package/five/controllers/floorplan.d.ts +119 -0
- package/five/controllers/mapview.d.ts +138 -0
- package/five/controllers/model.d.ts +57 -0
- package/five/controllers/panorama.d.ts +143 -0
- package/five/controllers/panoramaLike.d.ts +87 -0
- package/five/controllers/topview.d.ts +42 -0
- package/five/controllers/vrPanorama.d.ts +56 -0
- package/five/controllers/xrPanorama.d.ts +81 -0
- package/five/core/camera.d.ts +65 -0
- package/five/core/internalWebGLRenderer.d.ts +14 -0
- package/five/core/panoVideo.d.ts +18 -0
- package/five/core/scene.d.ts +10 -0
- package/five/core/tiling.d.ts +43 -0
- package/five/declare.d.ts +2 -1
- package/five/gs/util/renderData.d.ts +32 -0
- package/five/gs/wasm/data.d.ts +20 -0
- package/five/gs/wasm/sort.d.ts +18 -0
- package/five/gs/worker/dataWorker.d.ts +1 -0
- package/five/gs/worker/sortWorker.d.ts +1 -0
- package/five/index.d.ts +57 -4644
- package/five/index.js +503 -78
- package/five/index.mjs +6386 -5154
- package/five/meshes/boundingMesh.d.ts +12 -0
- package/five/meshes/intersectMesh.d.ts +8 -0
- package/five/meshes/panoCircleMesh.d.ts +35 -0
- package/five/meshes/panoCircleMeshCustom.d.ts +40 -0
- package/five/meshes/panoCircleMeshSolid.d.ts +34 -0
- package/five/meshes/panoSphereMesh.d.ts +27 -0
- package/five/model/helpers/coordinate-transform.d.ts +3 -0
- package/five/model/helpers/ellipsoid-coordinates.d.ts +14 -0
- package/five/model/helpers/get-edges-by-sphere.d.ts +8 -0
- package/five/model/helpers/get-recommend-tile3d-parameters.d.ts +8 -0
- package/five/model/index.d.ts +70 -0
- package/five/model/intersection.d.ts +18 -0
- package/five/model/loaders/at3d.d.ts +12 -0
- package/five/model/loaders/b3dm.d.ts +9 -0
- package/five/model/loaders/dome.d.ts +22 -0
- package/five/model/loaders/domez.d.ts +11 -0
- package/five/model/loaders/fbx.d.ts +8 -0
- package/five/model/loaders/glTF-helpers/extensions/CESIUM_RTC.d.ts +9 -0
- package/five/model/loaders/glTF-helpers/extensions/EXT_meshopt_compression.d.ts +8 -0
- package/five/model/loaders/glTF-helpers/extensions/EXT_texture_webp.d.ts +11 -0
- package/five/model/loaders/glTF-helpers/extensions/KHR_animation_pointer.d.ts +6 -0
- package/five/model/loaders/glTF-helpers/extensions/KHR_binary_glTF.d.ts +25 -0
- package/five/model/loaders/glTF-helpers/extensions/KHR_draco_mesh_compression.d.ts +11 -0
- package/five/model/loaders/glTF-helpers/extensions/KHR_gaussian_splatting_compression_spz.d.ts +9 -0
- package/five/model/loaders/glTF-helpers/extensions/KHR_materials_clearcoat.d.ts +10 -0
- package/five/model/loaders/glTF-helpers/extensions/KHR_materials_emissive_strength.d.ts +10 -0
- package/five/model/loaders/glTF-helpers/extensions/KHR_materials_sheen.d.ts +10 -0
- package/five/model/loaders/glTF-helpers/extensions/KHR_materials_transmission.d.ts +10 -0
- package/five/model/loaders/glTF-helpers/extensions/KHR_materials_unlit.d.ts +10 -0
- package/five/model/loaders/glTF-helpers/extensions/KHR_mesh_quantization.d.ts +6 -0
- package/five/model/loaders/glTF-helpers/extensions/KHR_node_visibility.d.ts +10 -0
- package/five/model/loaders/glTF-helpers/extensions/KHR_texture_basisu.d.ts +9 -0
- package/five/model/loaders/glTF-helpers/extensions/KHR_texture_transform.d.ts +10 -0
- package/five/model/loaders/glTF-helpers/extensions/REALSEE_materials_lightmap.d.ts +7 -0
- package/five/model/loaders/glTF-helpers/extensions/base.d.ts +24 -0
- package/five/model/loaders/glTF-helpers/glTF.d.ts +713 -0
- package/five/model/loaders/glTF-helpers/index.d.ts +47 -0
- package/five/model/loaders/glTF-helpers/parser.d.ts +114 -0
- package/five/model/loaders/glTF-helpers/type.d.ts +14 -0
- package/five/model/loaders/gltf.d.ts +10 -0
- package/five/model/loaders/obj.d.ts +9 -0
- package/five/model/loaders/pbm.d.ts +26 -0
- package/five/model/loaders/ply.d.ts +24 -0
- package/five/model/loaders/pnts.d.ts +8 -0
- package/five/model/loaders/protobuf/dome.d.ts +540 -0
- package/five/model/loaders/protobuf/pbm.d.ts +203 -0
- package/five/model/loaders/shared.d.ts +16 -0
- package/five/model/loaders/splat.d.ts +8 -0
- package/five/model/loaders/spz.d.ts +14 -0
- package/five/model/loaders/tile3d-helpers/feature-table.d.ts +15 -0
- package/five/model/loaders/tile3d-helpers/gl-type.d.ts +20 -0
- package/five/model/loaders/tile3d-helpers/parse-gltf-array-buffer.d.ts +2 -0
- package/five/model/loaders/tile3d-helpers/parse-header.d.ts +2 -0
- package/five/model/loaders/tile3d-helpers/parse-point-cloud-attributes.d.ts +2 -0
- package/five/model/loaders/tile3d-helpers/parse-point-cloud-attributes.worker.d.ts +6 -0
- package/five/model/loaders/tile3d-helpers/parse-table.d.ts +3 -0
- package/five/model/loaders/tile3d-helpers/tile3d-type.d.ts +35 -0
- package/five/model/loaders/x3p.d.ts +22 -0
- package/five/model/materials/pbmMaterial.d.ts +87 -0
- package/five/model/materials/pbmMeshMaterial.d.ts +124 -0
- package/five/model/materials/pbmPointCloudMaterial.d.ts +72 -0
- package/five/model/model-scene.d.ts +172 -0
- package/five/model/model.d.ts +209 -0
- package/five/model/objects/pbmContainer.d.ts +28 -0
- package/five/model/objects/pbmGSObject.d.ts +40 -0
- package/five/model/objects/pbmGSRenderMesh.d.ts +32 -0
- package/five/model/objects/pbmGroup.d.ts +8 -0
- package/five/model/objects/pbmMesh.d.ts +10 -0
- package/five/model/objects/pbmPointCloud.d.ts +7 -0
- package/five/model/parameter.d.ts +136 -0
- package/five/model/shaders/pbm_gaussian_splatting/fragment.d.ts +2 -0
- package/five/model/shaders/pbm_gaussian_splatting/vertex.d.ts +2 -0
- package/five/model/shaders/pbm_mesh_basic/fragment.d.ts +2 -0
- package/five/model/shaders/pbm_mesh_basic/vertex.d.ts +2 -0
- package/five/model/shaders/pbm_mesh_none/fragment.d.ts +2 -0
- package/five/model/shaders/pbm_mesh_none/vertex.d.ts +2 -0
- package/five/model/shaders/pbm_mesh_phong/fragment.d.ts +2 -0
- package/five/model/shaders/pbm_mesh_phong/vertex.d.ts +2 -0
- package/five/model/shaders/pbm_mesh_standard/fragment.d.ts +2 -0
- package/five/model/shaders/pbm_mesh_standard/vertex.d.ts +2 -0
- package/five/model/shaders/pbm_pointcloud/fragment.d.ts +2 -0
- package/five/model/shaders/pbm_pointcloud/vertex.d.ts +2 -0
- package/five/model/tile3d/header.d.ts +88 -0
- package/five/model/tile3d/index.d.ts +214 -0
- package/five/model/tile3d/tile-cache.d.ts +18 -0
- package/five/model/tile3d/tile-content.d.ts +10 -0
- package/five/model/tile3d/tile-node.d.ts +24 -0
- package/five/model/tile3d/tile-request-scheduler.d.ts +17 -0
- package/five/model/tile3d/tile.d.ts +79 -0
- package/five/model/tile3d/tileset-base-traverser.d.ts +59 -0
- package/five/model/tile3d/tileset-most-detail-traverser.d.ts +14 -0
- package/five/model/tile3d/tileset-normal-traverser.d.ts +15 -0
- package/five/model/tile3d/tileset-skip-traverser.d.ts +60 -0
- package/five/model/tile3d/tileset.d.ts +69 -0
- package/five/model/tile3d/trajectory-content.d.ts +9 -0
- package/five/model/tile3d/trajectory-node.d.ts +15 -0
- package/five/model/tile3d/trajectory.d.ts +30 -0
- package/five/model/tile3d/types.d.ts +33 -0
- package/five/model/view-layer.d.ts +20 -0
- package/five/renderer/five-renderer.d.ts +17 -0
- package/five/renderer/index.d.ts +3 -0
- package/five/renderer/postprocessing/composer.d.ts +37 -0
- package/five/renderer/postprocessing/index.d.ts +7 -0
- package/five/renderer/postprocessing/passes/adaptive-luminance-pass.d.ts +15 -0
- package/five/renderer/postprocessing/passes/eye-dome-lighting-pass.d.ts +14 -0
- package/five/renderer/postprocessing/passes/flowing-light-2d-pass.d.ts +36 -0
- package/five/renderer/postprocessing/passes/flowing-light-3d-pass.d.ts +36 -0
- package/five/renderer/postprocessing/passes/gaussian-blur-pass.d.ts +12 -0
- package/five/renderer/postprocessing/passes/pass.d.ts +38 -0
- package/five/renderer/scene-renderers/point-cloud-high-quality-scene-renderer.d.ts +11 -0
- package/five/renderer/scene-renderers/scene-renderer.d.ts +9 -0
- package/five/renderer/scene-renderers/ssaa-scene-renderer.d.ts +15 -0
- package/five/renderer/tools/full-screen-quad.d.ts +15 -0
- package/five/renderer/tools/render-full-screen-depth.d.ts +2 -0
- package/five/renderer/tools/render-full-screen.d.ts +2 -0
- package/five/texture/imageBitmap.d.ts +13 -0
- package/five/texture/initTexture.d.ts +3 -0
- package/five/texture/loader.d.ts +39 -0
- package/five/thirdparty/fflate.d.ts +1407 -0
- package/five/thirdparty/hammer.d.ts +259 -0
- package/five/thirdparty/jsrsasign.d.ts +768 -0
- package/five/thirdparty/meshopt_decoder.d.ts +15 -0
- package/five/three-version-check.d.ts +1 -0
- package/five/types/addableObject.d.ts +12 -0
- package/five/types/cube.d.ts +1 -0
- package/five/types/gestureInput.d.ts +24 -0
- package/five/types/imageOptions.d.ts +20 -0
- package/five/types/intersectMeshInterface.d.ts +8 -0
- package/five/types/movePanoEffect.d.ts +13 -0
- package/five/types/movePanoOptions.d.ts +35 -0
- package/five/types/panoCircleMeshInterface.d.ts +34 -0
- package/five/types/plugin.d.ts +25 -0
- package/five/types/pose.d.ts +17 -0
- package/five/types/state.d.ts +20 -0
- package/five/types/viewport.d.ts +22 -0
- package/five/utils/ajax.d.ts +66 -0
- package/five/utils/animationFrameLoop.d.ts +45 -0
- package/five/utils/array.d.ts +31 -0
- package/five/utils/asyncTaskQueue.d.ts +8 -0
- package/five/utils/bufferGeometry.d.ts +33 -0
- package/five/utils/calculateProgress.d.ts +39 -0
- package/five/utils/calculateThreeMouse.d.ts +13 -0
- package/five/utils/canplayVideo.d.ts +2 -0
- package/five/utils/clamp.d.ts +2 -0
- package/five/utils/clock.d.ts +17 -0
- package/five/utils/createSymbol.d.ts +5 -0
- package/five/utils/decodeText.d.ts +2 -0
- package/five/utils/deepEqual.d.ts +2 -0
- package/five/utils/deepFreeze.d.ts +2 -0
- package/five/utils/defineProperty.d.ts +9 -0
- package/five/utils/detector.d.ts +14 -0
- package/five/utils/distance.d.ts +10 -0
- package/five/utils/draco.d.ts +26 -0
- package/five/utils/easing.d.ts +63 -0
- package/five/utils/event.d.ts +149 -0
- package/five/utils/formatRad.d.ts +7 -0
- package/five/utils/imageSupport.d.ts +6 -0
- package/five/utils/imageURL.d.ts +42 -0
- package/five/utils/isEmptyObject.d.ts +2 -0
- package/five/utils/isNil.d.ts +6 -0
- package/five/utils/isNumber.d.ts +2 -0
- package/five/utils/isPowerOfTwo.d.ts +2 -0
- package/five/utils/isPromise.d.ts +2 -0
- package/five/utils/isSimilar.d.ts +6 -0
- package/five/utils/json.d.ts +7 -0
- package/five/utils/ktx2.d.ts +30 -0
- package/five/utils/lzma/index.d.ts +2 -0
- package/five/utils/lzma/lzma.d.ts +3 -0
- package/five/utils/lzma/lzmaWASM.d.ts +2 -0
- package/five/utils/lzma/lzmaWorker.d.ts +14 -0
- package/five/utils/memoryUsage.d.ts +29 -0
- package/five/utils/motion.d.ts +38 -0
- package/five/utils/noop.d.ts +6 -0
- package/five/utils/now.d.ts +7 -0
- package/five/utils/pano.d.ts +9 -0
- package/five/utils/pick.d.ts +3 -0
- package/five/utils/poseUtils.d.ts +5 -0
- package/five/utils/renderCubeTextureToCubeRenderTarget.d.ts +3 -0
- package/five/utils/renderDepth.d.ts +2 -0
- package/five/utils/renderTexturesToCubeRenderTarget.d.ts +10 -0
- package/five/utils/requestPermission.d.ts +3 -0
- package/five/utils/shaderContentFix.d.ts +7 -0
- package/five/utils/shaderMaterial.d.ts +20 -0
- package/five/utils/stateUtils.d.ts +5 -0
- package/five/utils/string-pattern.d.ts +8 -0
- package/five/utils/subscribe.d.ts +67 -0
- package/five/utils/tileCube.d.ts +19 -0
- package/five/utils/toFastProperties.d.ts +1 -0
- package/five/utils/typedCache.d.ts +10 -0
- package/five/utils/uniform.d.ts +15 -0
- package/five/utils/url.d.ts +35 -0
- package/five/utils/uuid.d.ts +5 -0
- package/five/utils/values.d.ts +2 -0
- package/five/utils/vectorCoordinates.d.ts +29 -0
- package/five/utils/volume.d.ts +111 -0
- package/five/utils/webglError.d.ts +7 -0
- package/five/utils/worker.d.ts +26 -0
- package/five/webxr/XRControllerModelFactory.d.ts +28 -0
- package/five/webxr/motionHelper.d.ts +68 -0
- package/five/webxr/xrButton.d.ts +4 -0
- package/five/webxr/xrController.d.ts +24 -0
- package/five/webxr/xrManager.d.ts +84 -0
- package/five/work/_ALLOW_HOST.d.ts +2 -0
- package/five/work/index.d.ts +6 -0
- package/five/work/keychain.d.ts +5 -0
- package/five/work/looseWorkType.d.ts +121 -0
- package/five/work/verify.d.ts +7 -0
- package/five/work/work.d.ts +236 -0
- package/five/work/workFetcher.d.ts +4 -0
- package/five/work/workJson.d.ts +3 -0
- package/five/work/workJsonType.d.ts +73 -0
- package/five/work/workObserverUtils.d.ts +36 -0
- package/five/work/workParser.d.ts +6 -0
- package/five/work/workResolvedObserver.d.ts +12 -0
- package/five/work/workVerify.d.ts +2 -0
- package/five/work/works.d.ts +10 -0
- package/gltf-loader/gltf-object.d.ts +17 -0
- package/gltf-loader/index.d.ts +60 -160
- package/gltf-loader/index.js +3 -3
- package/gltf-loader/index.mjs +3 -3
- package/gltf-loader/thirdparty/DDSLoader.d.ts +23 -0
- package/gltf-loader/thirdparty/DRACOLoader.d.ts +18 -0
- package/gltf-loader/thirdparty/GLTFLoader.d.ts +59 -0
- package/line/circle_png.d.ts +1 -0
- package/line/index.d.ts +19 -69
- package/line/index.js +3 -3
- package/line/index.mjs +3 -3
- package/line/utils/Line2.d.ts +7 -0
- package/line/utils/LineGeometry.d.ts +10 -0
- package/line/utils/LineMaterial.d.ts +20 -0
- package/line/utils/LineSegments2.d.ts +11 -0
- package/line/utils/LineSegmentsGeometry.d.ts +15 -0
- package/llms.txt +65 -0
- package/package.json +10 -1
- package/plugins/BackgroundPlugin/Controller.d.ts +20 -0
- package/plugins/BackgroundPlugin/index.d.ts +5 -0
- package/plugins/BackgroundPlugin/typings.d.ts +44 -0
- package/plugins/BasePlugin/index.d.ts +119 -0
- package/plugins/DynamicPathLinePlugin/Controller.d.ts +167 -0
- package/plugins/DynamicPathLinePlugin/index.d.ts +5 -0
- package/plugins/DynamicPathLinePlugin/line2/Line2.d.ts +7 -0
- package/plugins/DynamicPathLinePlugin/line2/LineGeometry.d.ts +10 -0
- package/plugins/DynamicPathLinePlugin/line2/LineMaterial.d.ts +17 -0
- package/plugins/DynamicPathLinePlugin/line2/LineSegments2.d.ts +11 -0
- package/plugins/DynamicPathLinePlugin/line2/LineSegmentsGeometry.d.ts +15 -0
- package/plugins/DynamicPathLinePlugin/typing.d.ts +129 -0
- package/plugins/DynamicPathLinePlugin/typings.d.ts +72 -0
- package/plugins/ItemMaskPlugin/Controller.d.ts +48 -0
- package/plugins/ItemMaskPlugin/index.d.ts +5 -0
- package/plugins/ItemMaskPlugin/typing.d.ts +58 -0
- package/plugins/OrientationPlugin/Controller.d.ts +82 -0
- package/plugins/OrientationPlugin/RoundedBoxGeometry.d.ts +11 -0
- package/plugins/OrientationPlugin/index.d.ts +6 -0
- package/plugins/OrientationPlugin/typing.d.ts +25 -0
- package/plugins/PanoAnimePlugin/Controller.d.ts +46 -0
- package/plugins/PanoAnimePlugin/index.d.ts +5 -0
- package/plugins/PanoAnimePlugin/typing.d.ts +37 -0
- package/plugins/PluginTemplate/Controller.d.ts +27 -0
- package/plugins/PluginTemplate/index.d.ts +5 -0
- package/plugins/PluginTemplate/typing.d.ts +21 -0
- package/plugins/TrajectoryPlugin/Controller.d.ts +85 -0
- package/plugins/TrajectoryPlugin/index.d.ts +6 -0
- package/plugins/TrajectoryPlugin/typing.d.ts +25 -0
- package/plugins/index.d.ts +9 -1102
- package/plugins/index.js +2 -2
- package/plugins/index.mjs +2 -2
- package/plugins/thirdParty/CSS3DRenderer.d.ts +32 -0
- package/plugins/thirdParty/OrbitControls.d.ts +78 -0
- package/plugins/utils/absoluteUrl.d.ts +5 -0
- package/plugins/utils/clamp.d.ts +2 -0
- package/plugins/utils/loadImage.d.ts +1 -0
- package/plugins/utils/motion.d.ts +38 -0
- package/plugins/utils/now.d.ts +6 -0
- package/plugins/utils/uuid.d.ts +5 -0
- package/react/canvas.d.ts +19 -0
- package/react/context.d.ts +11 -0
- package/react/createProvider.d.ts +95 -0
- package/react/createStore.d.ts +144 -0
- package/react/hooks/unsafe__useFiveInstance.d.ts +9 -0
- package/react/hooks/useFiveAction.d.ts +147 -0
- package/react/hooks/useFiveCameraDirection.d.ts +7 -0
- package/react/hooks/useFiveCameraRaycaster.d.ts +7 -0
- package/react/hooks/useFiveCurrentObserver.d.ts +11 -0
- package/react/hooks/useFiveCurrentState.d.ts +15 -0
- package/react/hooks/useFiveEventCallback.d.ts +12 -0
- package/react/hooks/useFiveFloor.d.ts +15 -0
- package/react/hooks/useFiveHelper.d.ts +14 -0
- package/react/hooks/useFiveModelBounding.d.ts +5 -0
- package/react/hooks/useFiveModelEffect.d.ts +14 -0
- package/react/hooks/useFiveModelIntersectRaycaster.d.ts +22 -0
- package/react/hooks/useFiveModelReadyState.d.ts +8 -0
- package/react/hooks/useFiveProject2d.d.ts +20 -0
- package/react/hooks/useFiveSceneEffect.d.ts +21 -0
- package/react/hooks/useFiveState.d.ts +6 -0
- package/react/hooks/useFiveWork.d.ts +29 -0
- package/react/index.d.ts +24 -830
- package/react/index.js +2 -2
- package/react/index.mjs +2 -2
- package/react/rendererPool.d.ts +7 -0
- package/react/withFive.d.ts +213 -0
- package/shader-lib/EvenessPlane/index.d.ts +10 -0
- package/shader-lib/PointCloudExpand/index.d.ts +59 -0
- package/shader-lib/PolygonCuter/index.d.ts +52 -0
- package/shader-lib/PolygonCuter/worker.d.ts +14 -0
- package/shader-lib/ShineModel/index.d.ts +7 -0
- package/shader-lib/SweepModel/index.d.ts +7 -0
- package/shader-lib/index.d.ts +5 -86
- package/shader-lib/index.js +2 -2
- package/shader-lib/index.mjs +2 -2
- package/sticker/geometry.d.ts +3 -0
- package/sticker/index.d.ts +68 -71
- package/sticker/index.js +3 -3
- package/sticker/index.mjs +3 -3
- 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 +503 -78
- package/vfx/airflow/airflow.d.ts +18 -0
- package/vfx/airflow/fragment-shader.d.ts +2 -0
- package/vfx/airflow/vertex-shader.d.ts +2 -0
- package/vfx/common/scale-shader.d.ts +2 -0
- package/vfx/common/simplex-noise-shader.d.ts +2 -0
- package/vfx/frame/fragment-shader.d.ts +2 -0
- package/vfx/frame/frame.d.ts +22 -0
- package/vfx/frame/vertex-shader.d.ts +2 -0
- package/vfx/index.d.ts +7 -363
- package/vfx/index.js +2 -2
- package/vfx/index.mjs +2 -2
- package/vfx/particle/fragment-shader.d.ts +2 -0
- package/vfx/particle/instance.d.ts +36 -0
- package/vfx/particle/particle.d.ts +205 -0
- package/vfx/particle/utils.d.ts +11 -0
- package/vfx/particle/vertex-shader.d.ts +2 -0
- package/vfx/particle-gpu/fragment-shader.d.ts +2 -0
- package/vfx/particle-gpu/instance.d.ts +36 -0
- package/vfx/particle-gpu/particle.d.ts +95 -0
- package/vfx/particle-gpu/utils.d.ts +11 -0
- package/vfx/particle-gpu/vertex-shader.d.ts +2 -0
- package/vfx/spotLight/fragment-shader.d.ts +2 -0
- package/vfx/spotLight/spotLight.d.ts +15 -0
- package/vfx/spotLight/vertex-shader.d.ts +2 -0
- package/vue/context.d.ts +7 -0
- package/vue/hooks/FiveCanvas.d.ts +36 -0
- package/vue/hooks/FiveProvider.d.ts +35 -0
- package/vue/hooks/unsafe__useFiveInject.d.ts +9 -0
- package/vue/hooks/useFiveAction.d.ts +178 -0
- package/vue/hooks/useFiveCameraDirection.d.ts +8 -0
- package/vue/hooks/useFiveCameraRaycaster.d.ts +8 -0
- package/vue/hooks/useFiveCurrentObserver.d.ts +12 -0
- package/vue/hooks/useFiveCurrentState.d.ts +16 -0
- package/vue/hooks/useFiveEventCallback.d.ts +11 -0
- package/vue/hooks/useFiveFloor.d.ts +16 -0
- package/vue/hooks/useFiveHelper.d.ts +15 -0
- package/vue/hooks/useFiveModel.d.ts +7 -0
- package/vue/hooks/useFiveModelBounding.d.ts +7 -0
- package/vue/hooks/useFiveModelIntersectRaycaster.d.ts +23 -0
- package/vue/hooks/useFiveModelReadyState.d.ts +9 -0
- package/vue/hooks/useFiveProject2d.d.ts +26 -0
- package/vue/hooks/useFiveScene.d.ts +6 -0
- package/vue/hooks/useFiveState.d.ts +16 -0
- package/vue/hooks/useFiveWork.d.ts +30 -0
- package/vue/index.d.ts +23 -467
- package/vue/index.js +2 -2
- package/vue/index.mjs +2 -2
- package/vue/rendererPool.d.ts +10 -0
- package/work-downloader/components/model-3d-tile.d.ts +2 -0
- package/work-downloader/components/model.d.ts +3 -0
- package/work-downloader/components/observer.d.ts +7 -0
- package/work-downloader/download.d.ts +16 -0
- package/work-downloader/index.d.ts +2 -33
- package/work-downloader/index.js +2 -2
- package/work-downloader/index.mjs +2 -2
- package/work-downloader/type.d.ts +28 -0
- package/work-downloader/utils/download-to-file.d.ts +1 -0
- package/work-downloader/utils/image-processing.d.ts +7 -0
- package/work-downloader/utils/join-url.d.ts +2 -0
- package/work-downloader/utils/log.d.ts +1 -0
- package/work-downloader/utils/relative-url.d.ts +1 -0
- package/docs/documents/coordinate.html +0 -13
- package/docs/documents/five.FivePlugin.plugins.html +0 -92
- package/docs/documents/five.Pose.coordinate.html +0 -13
- package/docs/documents/mode.html +0 -15
- package/docs/documents/plugins.html +0 -92
- package/docs/documents/state.html +0 -2
- package/docs/documents/work.html +0 -67
- package/docs/media/coordinate.jpg +0 -0
- package/docs_markdown/README.md +0 -33
- package/docs_markdown/_media/coordinate.jpg +0 -0
- package/docs_markdown/documents/coordinate.md +0 -29
- package/docs_markdown/documents/intro.md +0 -15
- package/docs_markdown/documents/mode.md +0 -21
- package/docs_markdown/documents/plugins.md +0 -226
- package/docs_markdown/documents/quick-start.md +0 -105
- package/docs_markdown/documents/release_notes/6.7.md +0 -407
- package/docs_markdown/documents/state.md +0 -7
- package/docs_markdown/documents/support.md +0 -13
- package/docs_markdown/documents/work.md +0 -148
- package/docs_markdown/five/README.md +0 -309
- package/docs_markdown/five/classes/AdaptiveLuminancePass.md +0 -238
- package/docs_markdown/five/classes/AnimationFrameLoop.md +0 -195
- package/docs_markdown/five/classes/BoundingMesh.md +0 -75
- package/docs_markdown/five/classes/Camera.md +0 -527
- package/docs_markdown/five/classes/EffectComposer.md +0 -241
- package/docs_markdown/five/classes/EyeDomeLightingPass.md +0 -232
- package/docs_markdown/five/classes/Fetcher.md +0 -133
- package/docs_markdown/five/classes/Five.md +0 -2231
- package/docs_markdown/five/classes/FivePass.md +0 -193
- package/docs_markdown/five/classes/FiveRenderer.md +0 -107
- package/docs_markdown/five/classes/FullScreenQuad.md +0 -95
- package/docs_markdown/five/classes/InternalWebGLRenderer.md +0 -65
- package/docs_markdown/five/classes/Model.md +0 -1009
- package/docs_markdown/five/classes/ModelScene.md +0 -495
- package/docs_markdown/five/classes/Motion.md +0 -235
- package/docs_markdown/five/classes/NetworkSubscribe.md +0 -289
- package/docs_markdown/five/classes/PBMContainer.md +0 -137
- package/docs_markdown/five/classes/PBMCustomShader.md +0 -171
- package/docs_markdown/five/classes/PBMGSObject.md +0 -257
- package/docs_markdown/five/classes/PBMGroup.md +0 -35
- package/docs_markdown/five/classes/PBMMesh.md +0 -43
- package/docs_markdown/five/classes/PBMMeshMaterial.md +0 -889
- package/docs_markdown/five/classes/PBMPointCloud.md +0 -41
- package/docs_markdown/five/classes/PBMPointCloudMaterial.md +0 -371
- package/docs_markdown/five/classes/PBMSkinnedMesh.md +0 -67
- package/docs_markdown/five/classes/PanoCircleMesh.md +0 -296
- package/docs_markdown/five/classes/PanoCircleMeshCustom.md +0 -296
- package/docs_markdown/five/classes/PanoCircleMeshSolid.md +0 -296
- package/docs_markdown/five/classes/Parameter.md +0 -905
- package/docs_markdown/five/classes/Scene.md +0 -109
- package/docs_markdown/five/classes/Subscribe.md +0 -271
- package/docs_markdown/five/classes/TextureLoader.md +0 -199
- package/docs_markdown/five/classes/Tile.md +0 -517
- package/docs_markdown/five/classes/Tile3D.md +0 -1287
- package/docs_markdown/five/classes/TileCache.md +0 -123
- package/docs_markdown/five/classes/TileNode.md +0 -171
- package/docs_markdown/five/classes/TileRequestScheduler.md +0 -69
- package/docs_markdown/five/classes/Tileset.md +0 -379
- package/docs_markdown/five/classes/Trajectory.md +0 -111
- package/docs_markdown/five/classes/TrajectoryNode.md +0 -129
- package/docs_markdown/five/classes/Work.md +0 -299
- package/docs_markdown/five/classes/WorkResolvedObserver.md +0 -302
- package/docs_markdown/five/classes/XRButton.md +0 -37
- package/docs_markdown/five/enumerations/VolumePlaneIntersect.md +0 -33
- package/docs_markdown/five/functions/coordinatesToVector.md +0 -33
- package/docs_markdown/five/functions/createDebugBoundingMesh.md +0 -25
- package/docs_markdown/five/functions/createWorks.md +0 -21
- package/docs_markdown/five/functions/defaultImageURLTransform.md +0 -33
- package/docs_markdown/five/functions/getViewportScale.md +0 -15
- package/docs_markdown/five/functions/headingToLongitude.md +0 -29
- package/docs_markdown/five/functions/imageSupport.md +0 -15
- package/docs_markdown/five/functions/isBoundingVolume.md +0 -21
- package/docs_markdown/five/functions/isPanoId.md +0 -21
- package/docs_markdown/five/functions/loadAt3d.md +0 -47
- package/docs_markdown/five/functions/loadB3dm.md +0 -39
- package/docs_markdown/five/functions/loadDome.md +0 -43
- package/docs_markdown/five/functions/loadDomez.md +0 -43
- package/docs_markdown/five/functions/loadFbx.md +0 -35
- package/docs_markdown/five/functions/loadGltf.md +0 -39
- package/docs_markdown/five/functions/loadPbm.md +0 -47
- package/docs_markdown/five/functions/loadPly.md +0 -61
- package/docs_markdown/five/functions/loadPnts.md +0 -35
- package/docs_markdown/five/functions/loadSplat.md +0 -35
- package/docs_markdown/five/functions/loadSpz.md +0 -35
- package/docs_markdown/five/functions/loadX3p.md +0 -39
- package/docs_markdown/five/functions/longitudeToHeading.md +0 -29
- package/docs_markdown/five/functions/makeBoundingVolume.md +0 -21
- package/docs_markdown/five/functions/panoEqual.md +0 -25
- package/docs_markdown/five/functions/panoParse.md +0 -21
- package/docs_markdown/five/functions/panoStringify.md +0 -21
- package/docs_markdown/five/functions/parseWork.md +0 -33
- package/docs_markdown/five/functions/vectorToCoordinates.md +0 -31
- package/docs_markdown/five/functions/workToJson.md +0 -21
- package/docs_markdown/five/interfaces/AddableObject.md +0 -77
- package/docs_markdown/five/interfaces/AjaxOptions.md +0 -81
- package/docs_markdown/five/interfaces/AnimationFrame.md +0 -67
- package/docs_markdown/five/interfaces/AnimationFrameContext.md +0 -55
- package/docs_markdown/five/interfaces/BaseEvent.md +0 -60
- package/docs_markdown/five/interfaces/BoundingVolume.md +0 -241
- package/docs_markdown/five/interfaces/BoxBoundingVolume.md +0 -325
- package/docs_markdown/five/interfaces/CameraPose.md +0 -49
- package/docs_markdown/five/interfaces/CullingVolume.md +0 -141
- package/docs_markdown/five/interfaces/Draco.md +0 -219
- package/docs_markdown/five/interfaces/EventCallback.md +0 -3374
- package/docs_markdown/five/interfaces/FiveInitArgs.md +0 -435
- package/docs_markdown/five/interfaces/FiveLoadOptions.md +0 -71
- package/docs_markdown/five/interfaces/FloorplanControllerCustomInitArgs.md +0 -93
- package/docs_markdown/five/interfaces/GestureEvent.md +0 -233
- package/docs_markdown/five/interfaces/ImageOptions.md +0 -147
- package/docs_markdown/five/interfaces/ImageURLMappings.md +0 -13
- package/docs_markdown/five/interfaces/ImageURLOptions.md +0 -89
- package/docs_markdown/five/interfaces/IntersectEvent.md +0 -89
- package/docs_markdown/five/interfaces/IntersectMesh.md +0 -33
- package/docs_markdown/five/interfaces/IntersectMeshInterface.md +0 -27
- package/docs_markdown/five/interfaces/Intersection.md +0 -53
- package/docs_markdown/five/interfaces/KTX2.md +0 -131
- package/docs_markdown/five/interfaces/LoosePanoWork.md +0 -81
- package/docs_markdown/five/interfaces/LooseWork.md +0 -145
- package/docs_markdown/five/interfaces/LooseWorkInitial.md +0 -89
- package/docs_markdown/five/interfaces/LooseWorkModel.md +0 -113
- package/docs_markdown/five/interfaces/LooseWorkObserver.md +0 -153
- package/docs_markdown/five/interfaces/LooseWorkPanorama.md +0 -121
- package/docs_markdown/five/interfaces/LooseWorkVideo.md +0 -33
- package/docs_markdown/five/interfaces/LooseWorkWithExtrinsics.md +0 -93
- package/docs_markdown/five/interfaces/MapviewControllerCustomInitArgs.md +0 -96
- package/docs_markdown/five/interfaces/ModeChangeEvent.md +0 -105
- package/docs_markdown/five/interfaces/ModelControllerCustomInitArgs.md +0 -147
- package/docs_markdown/five/interfaces/ModelEvent.md +0 -89
- package/docs_markdown/five/interfaces/ModelOptions.md +0 -54
- package/docs_markdown/five/interfaces/ModelSceneEvent.md +0 -73
- package/docs_markdown/five/interfaces/MotionKeyframe.md +0 -39
- package/docs_markdown/five/interfaces/MovePanoOptions.md +0 -192
- package/docs_markdown/five/interfaces/NetworkAbortError.md +0 -13
- package/docs_markdown/five/interfaces/NetworkFirbiddenError.md +0 -13
- package/docs_markdown/five/interfaces/NetworkOptions.md +0 -53
- package/docs_markdown/five/interfaces/NetworkProxyError.md +0 -13
- package/docs_markdown/five/interfaces/NetworkResourceEvent.md +0 -97
- package/docs_markdown/five/interfaces/NetworkResponseError.md +0 -21
- package/docs_markdown/five/interfaces/NetworkTimeoutError.md +0 -13
- package/docs_markdown/five/interfaces/ObjectEvent.md +0 -73
- package/docs_markdown/five/interfaces/PBMClipperParameter.md +0 -25
- package/docs_markdown/five/interfaces/PBMCustomShaderInitArgs.md +0 -57
- package/docs_markdown/five/interfaces/PBMCustomShaderSlots.md +0 -53
- package/docs_markdown/five/interfaces/PBMMaterial.md +0 -18
- package/docs_markdown/five/interfaces/PBMMeshMaterialParameters.md +0 -221
- package/docs_markdown/five/interfaces/PBMPanoDepth.md +0 -49
- package/docs_markdown/five/interfaces/PBMPanoPicture.md +0 -59
- package/docs_markdown/five/interfaces/PBMPointCloudMaterialParameters.md +0 -221
- package/docs_markdown/five/interfaces/PBMRefinedScreen.md +0 -49
- package/docs_markdown/five/interfaces/PanoCircleMeshCustomOptions.md +0 -73
- package/docs_markdown/five/interfaces/PanoCircleMeshInterface.md +0 -222
- package/docs_markdown/five/interfaces/PanoCircleMeshOptions.md +0 -25
- package/docs_markdown/five/interfaces/PanoCircleMeshSolidOptions.md +0 -25
- package/docs_markdown/five/interfaces/PanoEvent.md +0 -121
- package/docs_markdown/five/interfaces/PanoTextureEvent.md +0 -97
- package/docs_markdown/five/interfaces/PanoramaControllerCustomInitArgs.md +0 -260
- package/docs_markdown/five/interfaces/PanoramaLikeControllerCustomInitArgs.md +0 -112
- package/docs_markdown/five/interfaces/ParameterMaterialValue.md +0 -363
- package/docs_markdown/five/interfaces/ParameterTilesetValue.md +0 -161
- package/docs_markdown/five/interfaces/ParameterValue.md +0 -715
- package/docs_markdown/five/interfaces/Pass.md +0 -100
- package/docs_markdown/five/interfaces/Pose.md +0 -69
- package/docs_markdown/five/interfaces/RegionBoundingVolume.md +0 -349
- package/docs_markdown/five/interfaces/RenderEvent.md +0 -73
- package/docs_markdown/five/interfaces/ResolvedParameterValue.md +0 -727
- package/docs_markdown/five/interfaces/SphereBoundingVolume.md +0 -317
- package/docs_markdown/five/interfaces/State.md +0 -123
- package/docs_markdown/five/interfaces/StateEvent.md +0 -87
- package/docs_markdown/five/interfaces/TextureOptions.md +0 -157
- package/docs_markdown/five/interfaces/Tile3DOptions.md +0 -83
- package/docs_markdown/five/interfaces/TileCoordinateSystem.md +0 -25
- package/docs_markdown/five/interfaces/TileHeader.md +0 -89
- package/docs_markdown/five/interfaces/TilesetHeader.md +0 -209
- package/docs_markdown/five/interfaces/TilesetOptions.md +0 -205
- package/docs_markdown/five/interfaces/TopviewControllerCustomInitArgs.md +0 -101
- package/docs_markdown/five/interfaces/TrajectoryHeader.md +0 -41
- package/docs_markdown/five/interfaces/VRPanoramaControllerCustomInitArgs.md +0 -264
- package/docs_markdown/five/interfaces/ViewLayer.md +0 -1505
- package/docs_markdown/five/interfaces/Viewport.md +0 -57
- package/docs_markdown/five/interfaces/WebXRAxesParams.md +0 -57
- package/docs_markdown/five/interfaces/WebXRControllerParams.md +0 -25
- package/docs_markdown/five/interfaces/WorkCubeImage.md +0 -86
- package/docs_markdown/five/interfaces/WorkImage.md +0 -117
- package/docs_markdown/five/interfaces/WorkInitial.md +0 -89
- package/docs_markdown/five/interfaces/WorkInitialJson.md +0 -65
- package/docs_markdown/five/interfaces/WorkJson.md +0 -89
- package/docs_markdown/five/interfaces/WorkModel.md +0 -113
- package/docs_markdown/five/interfaces/WorkModelJson.md +0 -49
- package/docs_markdown/five/interfaces/WorkModelLayer.md +0 -59
- package/docs_markdown/five/interfaces/WorkModelLayerJson.md +0 -41
- package/docs_markdown/five/interfaces/WorkObserver.md +0 -184
- package/docs_markdown/five/interfaces/WorkObserverJson.md +0 -97
- package/docs_markdown/five/interfaces/WorkPanoramaJson.md +0 -125
- package/docs_markdown/five/interfaces/WorkPanoramasJson.md +0 -25
- package/docs_markdown/five/interfaces/WorkTile.md +0 -115
- package/docs_markdown/five/interfaces/WorkVideo.md +0 -49
- package/docs_markdown/five/interfaces/WorksEvent.md +0 -89
- package/docs_markdown/five/interfaces/XRControllerEvent.md +0 -177
- package/docs_markdown/five/interfaces/XRGestureEvent.md +0 -125
- package/docs_markdown/five/interfaces/XRPanoramaControllerCustomInitArgs.md +0 -264
- package/docs_markdown/five/interfaces/XRSessionEvent.md +0 -81
- package/docs_markdown/five/interfaces/documents/coordinate.md +0 -29
- package/docs_markdown/five/type-aliases/AjaxResponseType.md +0 -11
- package/docs_markdown/five/type-aliases/AjaxResponseTypeMapping.md +0 -17
- package/docs_markdown/five/type-aliases/AnimationFrameLoopType.md +0 -11
- package/docs_markdown/five/type-aliases/BoundingVolumeJson.md +0 -11
- package/docs_markdown/five/type-aliases/BoxBoundingVolumeJson.md +0 -19
- package/docs_markdown/five/type-aliases/ControllerCustomInitTypes.md +0 -67
- package/docs_markdown/five/type-aliases/ControllerEventTypes.md +0 -669
- package/docs_markdown/five/type-aliases/CubeFace.md +0 -11
- package/docs_markdown/five/type-aliases/EventTypes.md +0 -381
- package/docs_markdown/five/type-aliases/FivePlugin.md +0 -31
- package/docs_markdown/five/type-aliases/FivePluginInit.md +0 -21
- package/docs_markdown/five/type-aliases/FivePluginInstance.md +0 -21
- package/docs_markdown/five/type-aliases/GestureTypes.md +0 -11
- package/docs_markdown/five/type-aliases/LegacyEventType.md +0 -1852
- package/docs_markdown/five/type-aliases/LoadResultType.md +0 -109
- package/docs_markdown/five/type-aliases/Mode.md +0 -19
- package/docs_markdown/five/type-aliases/Models.md +0 -121
- package/docs_markdown/five/type-aliases/MotionCircle.md +0 -13
- package/docs_markdown/five/type-aliases/MotionConfig.md +0 -17
- package/docs_markdown/five/type-aliases/MotionInitalValue.md +0 -17
- package/docs_markdown/five/type-aliases/MotionValue.md +0 -17
- package/docs_markdown/five/type-aliases/MovePanoEffect.md +0 -24
- package/docs_markdown/five/type-aliases/NetWorkMeta.md +0 -71
- package/docs_markdown/five/type-aliases/NetworkError.md +0 -11
- package/docs_markdown/five/type-aliases/NetworkErrorCallback.md +0 -21
- package/docs_markdown/five/type-aliases/NetworkProgressCallback.md +0 -21
- package/docs_markdown/five/type-aliases/NetworkResponse.md +0 -37
- package/docs_markdown/five/type-aliases/NetworkState.md +0 -11
- package/docs_markdown/five/type-aliases/NetworkSuccessCallback.md +0 -27
- package/docs_markdown/five/type-aliases/NetworkType.md +0 -11
- package/docs_markdown/five/type-aliases/PBMAlphaMode.md +0 -11
- package/docs_markdown/five/type-aliases/PBMColorStyle.md +0 -11
- package/docs_markdown/five/type-aliases/PBMFloorStyle.md +0 -11
- package/docs_markdown/five/type-aliases/PBMMeshShaderType.md +0 -11
- package/docs_markdown/five/type-aliases/PBMPointBack.md +0 -11
- package/docs_markdown/five/type-aliases/PBMPointCloudShaderType.md +0 -11
- package/docs_markdown/five/type-aliases/PBMPointShape.md +0 -11
- package/docs_markdown/five/type-aliases/PBMPointSize.md +0 -11
- package/docs_markdown/five/type-aliases/PBMTransition.md +0 -11
- package/docs_markdown/five/type-aliases/Pano.md +0 -27
- package/docs_markdown/five/type-aliases/PanoId.md +0 -11
- package/docs_markdown/five/type-aliases/ParseOptions.md +0 -65
- package/docs_markdown/five/type-aliases/PostProcessingType.md +0 -11
- package/docs_markdown/five/type-aliases/RegionBoundingVolumeJson.md +0 -19
- package/docs_markdown/five/type-aliases/RequestAnimationFrameArgs.md +0 -17
- package/docs_markdown/five/type-aliases/Scissor.md +0 -15
- package/docs_markdown/five/type-aliases/SphereBoundingVolumeJson.md +0 -19
- package/docs_markdown/five/type-aliases/SubscribeEventMap.md +0 -15
- package/docs_markdown/five/type-aliases/TileCacheOptions.md +0 -47
- package/docs_markdown/five/type-aliases/TileContentData.md +0 -51
- package/docs_markdown/five/type-aliases/TileRequestOrder.md +0 -11
- package/docs_markdown/five/type-aliases/TileRequestSchedulerOptions.md +0 -69
- package/docs_markdown/five/type-aliases/TilesetFrameState.md +0 -199
- package/docs_markdown/five/type-aliases/TrajectoryContentData.md +0 -59
- package/docs_markdown/five/type-aliases/WebXRControllerKey.md +0 -11
- package/docs_markdown/five/type-aliases/WebXRControllerType.md +0 -11
- package/docs_markdown/five/type-aliases/Works.md +0 -59
- package/docs_markdown/five/type-aliases/documents/plugins.md +0 -226
- package/docs_markdown/five/variables/PROXY_CONTROLLER_EVENT_NAMES.md +0 -11
- package/docs_markdown/five/variables/controllersDefaultInitArgs.md +0 -41
- package/docs_markdown/five/variables/draco.md +0 -11
- package/docs_markdown/five/variables/ktx2.md +0 -11
- package/docs_markdown/gltf-loader/README.md +0 -23
- package/docs_markdown/gltf-loader/classes/DDSLoader.md +0 -57
- package/docs_markdown/gltf-loader/classes/DRACOLoader.md +0 -143
- package/docs_markdown/gltf-loader/classes/GLTFLoader.md +0 -208
- package/docs_markdown/gltf-loader/classes/GLTFObject.md +0 -76
- package/docs_markdown/gltf-loader/classes/GLTFParser.md +0 -75
- package/docs_markdown/gltf-loader/classes/THREEGLTFLoader.md +0 -151
- package/docs_markdown/gltf-loader/interfaces/DDS.md +0 -57
- package/docs_markdown/gltf-loader/interfaces/GLTF.md +0 -98
- package/docs_markdown/gltf-loader/interfaces/GLTFReference.md +0 -25
- package/docs_markdown/gltf-loader/interfaces/THREEGLTF.md +0 -89
- package/docs_markdown/line/README.md +0 -20
- package/docs_markdown/line/classes/Line.md +0 -151
- package/docs_markdown/line/classes/LineGeometry.md +0 -273
- package/docs_markdown/line/classes/LineMaterial.md +0 -83
- package/docs_markdown/line/classes/LineSegmentsGeometry.md +0 -219
- package/docs_markdown/line/classes/THREE_Line2.md +0 -81
- package/docs_markdown/line/classes/THREE_LineSegments2.md +0 -81
- package/docs_markdown/line/type-aliases/LineMaterialParameters.md +0 -67
- package/docs_markdown/modules.md +0 -28
- package/docs_markdown/plugins/README.md +0 -43
- package/docs_markdown/plugins/classes/CSS3DRenderer.md +0 -93
- package/docs_markdown/plugins/classes/OrbitControls.md +0 -461
- package/docs_markdown/plugins/classes/RoundedBoxGeometry.md +0 -79
- package/docs_markdown/plugins/functions/BackgroundPlugin.md +0 -25
- package/docs_markdown/plugins/functions/DynamicPathLinePlugin.md +0 -25
- package/docs_markdown/plugins/functions/ItemMaskPlugin.md +0 -25
- package/docs_markdown/plugins/functions/OrientationPlugin.md +0 -25
- package/docs_markdown/plugins/functions/PanoAnimePlugin.md +0 -25
- package/docs_markdown/plugins/functions/TrajectoryPlugin.md +0 -25
- package/docs_markdown/plugins/interfaces/BackgroundPluginController.md +0 -313
- package/docs_markdown/plugins/interfaces/DynamicPathLinePluginController.md +0 -755
- package/docs_markdown/plugins/interfaces/ItemMaskController.md +0 -393
- package/docs_markdown/plugins/interfaces/Keyframe.md +0 -25
- package/docs_markdown/plugins/interfaces/OrientationPluginController.md +0 -491
- package/docs_markdown/plugins/interfaces/PanoAnimeController.md +0 -365
- package/docs_markdown/plugins/interfaces/PlayingState.md +0 -25
- package/docs_markdown/plugins/interfaces/TrajectoryController.md +0 -609
- package/docs_markdown/plugins/namespaces/BackgroundPluginType/README.md +0 -25
- package/docs_markdown/plugins/namespaces/BackgroundPluginType/enumerations/WarningCodeType.md +0 -17
- package/docs_markdown/plugins/namespaces/BackgroundPluginType/interfaces/Config.md +0 -9
- package/docs_markdown/plugins/namespaces/BackgroundPluginType/interfaces/EventMap.md +0 -205
- package/docs_markdown/plugins/namespaces/BackgroundPluginType/interfaces/Params.md +0 -25
- package/docs_markdown/plugins/namespaces/BackgroundPluginType/interfaces/PluginDataItem.md +0 -9
- package/docs_markdown/plugins/namespaces/BackgroundPluginType/type-aliases/Mirror.md +0 -17
- package/docs_markdown/plugins/namespaces/BackgroundPluginType/type-aliases/Mode.md +0 -11
- package/docs_markdown/plugins/namespaces/BackgroundPluginType/type-aliases/PluginData.md +0 -11
- package/docs_markdown/plugins/namespaces/BackgroundPluginType/type-aliases/State.md +0 -19
- package/docs_markdown/plugins/namespaces/BasePlugin/README.md +0 -22
- package/docs_markdown/plugins/namespaces/BasePlugin/classes/Controller.md +0 -318
- package/docs_markdown/plugins/namespaces/BasePlugin/interfaces/BaseOptions.md +0 -19
- package/docs_markdown/plugins/namespaces/BasePlugin/interfaces/Config.md +0 -39
- package/docs_markdown/plugins/namespaces/BasePlugin/interfaces/State.md +0 -49
- package/docs_markdown/plugins/namespaces/BasePlugin/interfaces/StateChangeParams.md +0 -45
- package/docs_markdown/plugins/namespaces/BasePlugin/type-aliases/EventMap.md +0 -110
- package/docs_markdown/plugins/namespaces/DynamicPathLinePluginType/README.md +0 -20
- package/docs_markdown/plugins/namespaces/DynamicPathLinePluginType/interfaces/Config.md +0 -181
- package/docs_markdown/plugins/namespaces/DynamicPathLinePluginType/interfaces/EventMap.md +0 -261
- package/docs_markdown/plugins/namespaces/DynamicPathLinePluginType/interfaces/Params.md +0 -37
- package/docs_markdown/plugins/namespaces/DynamicPathLinePluginType/interfaces/PathConfig.md +0 -141
- package/docs_markdown/plugins/namespaces/DynamicPathLinePluginType/interfaces/State.md +0 -67
- package/docs_markdown/plugins/namespaces/DynamicPathLinePluginType/type-aliases/PluginData.md +0 -21
- package/docs_markdown/plugins/namespaces/DynamicPathLinePluginType/type-aliases/ServerData.md +0 -73
- package/docs_markdown/plugins/namespaces/ItemMaskPluginType/README.md +0 -21
- package/docs_markdown/plugins/namespaces/ItemMaskPluginType/interfaces/Config.md +0 -11
- package/docs_markdown/plugins/namespaces/ItemMaskPluginType/interfaces/EventMap.md +0 -109
- package/docs_markdown/plugins/namespaces/ItemMaskPluginType/interfaces/ItemType.md +0 -121
- package/docs_markdown/plugins/namespaces/ItemMaskPluginType/interfaces/MaskType.md +0 -33
- package/docs_markdown/plugins/namespaces/ItemMaskPluginType/interfaces/Params.md +0 -27
- package/docs_markdown/plugins/namespaces/ItemMaskPluginType/interfaces/State.md +0 -87
- package/docs_markdown/plugins/namespaces/ItemMaskPluginType/type-aliases/PluginData.md +0 -27
- package/docs_markdown/plugins/namespaces/ItemMaskPluginType/type-aliases/ServerData.md +0 -27
- package/docs_markdown/plugins/namespaces/OrientationPluginType/README.md +0 -19
- package/docs_markdown/plugins/namespaces/OrientationPluginType/interfaces/Config.md +0 -27
- package/docs_markdown/plugins/namespaces/OrientationPluginType/interfaces/EventMap.md +0 -109
- package/docs_markdown/plugins/namespaces/OrientationPluginType/interfaces/Params.md +0 -27
- package/docs_markdown/plugins/namespaces/OrientationPluginType/interfaces/State.md +0 -67
- package/docs_markdown/plugins/namespaces/OrientationPluginType/type-aliases/PluginData.md +0 -11
- package/docs_markdown/plugins/namespaces/OrientationPluginType/type-aliases/ServerData.md +0 -11
- package/docs_markdown/plugins/namespaces/PanoAnimePluginType/README.md +0 -20
- package/docs_markdown/plugins/namespaces/PanoAnimePluginType/interfaces/Config.md +0 -19
- package/docs_markdown/plugins/namespaces/PanoAnimePluginType/interfaces/ConfigChangeEvent.md +0 -39
- package/docs_markdown/plugins/namespaces/PanoAnimePluginType/interfaces/EventMap.md +0 -157
- package/docs_markdown/plugins/namespaces/PanoAnimePluginType/interfaces/Params.md +0 -27
- package/docs_markdown/plugins/namespaces/PanoAnimePluginType/interfaces/State.md +0 -57
- package/docs_markdown/plugins/namespaces/PanoAnimePluginType/type-aliases/PluginData.md +0 -11
- package/docs_markdown/plugins/namespaces/PanoAnimePluginType/type-aliases/ServerData.md +0 -11
- package/docs_markdown/plugins/namespaces/PluginTemplateType/README.md +0 -19
- package/docs_markdown/plugins/namespaces/PluginTemplateType/interfaces/Config.md +0 -19
- package/docs_markdown/plugins/namespaces/PluginTemplateType/interfaces/EventMap.md +0 -109
- package/docs_markdown/plugins/namespaces/PluginTemplateType/interfaces/Params.md +0 -27
- package/docs_markdown/plugins/namespaces/PluginTemplateType/interfaces/State.md +0 -57
- package/docs_markdown/plugins/namespaces/PluginTemplateType/type-aliases/PluginData.md +0 -11
- package/docs_markdown/plugins/namespaces/PluginTemplateType/type-aliases/ServerData.md +0 -19
- package/docs_markdown/react/README.md +0 -58
- package/docs_markdown/react/classes/Store.md +0 -184
- package/docs_markdown/react/functions/createFiveFeature.md +0 -27
- package/docs_markdown/react/functions/createFiveProvider.md +0 -42
- package/docs_markdown/react/functions/createStore.md +0 -158
- package/docs_markdown/react/functions/unsafe__useFiveInstance.md +0 -27
- package/docs_markdown/react/functions/useFiveAction.md +0 -82
- package/docs_markdown/react/functions/useFiveCameraDirection.md +0 -19
- package/docs_markdown/react/functions/useFiveCameraRaycaster.md +0 -19
- package/docs_markdown/react/functions/useFiveCurrentObserver.md +0 -25
- package/docs_markdown/react/functions/useFiveCurrentState.md +0 -25
- package/docs_markdown/react/functions/useFiveEventCallback.md +0 -44
- package/docs_markdown/react/functions/useFiveFloor.md +0 -25
- package/docs_markdown/react/functions/useFiveHelper.md +0 -25
- package/docs_markdown/react/functions/useFiveModelIntersectRaycaster.md +0 -45
- package/docs_markdown/react/functions/useFiveModelReadyState.md +0 -20
- package/docs_markdown/react/functions/useFiveProject2d.md +0 -49
- package/docs_markdown/react/functions/useFiveSceneEffect.md +0 -39
- package/docs_markdown/react/functions/useFiveState.md +0 -15
- package/docs_markdown/react/functions/useFiveWork.md +0 -39
- package/docs_markdown/react/functions/withFive.md +0 -47
- package/docs_markdown/react/interfaces/FiveActionReactCallbacks.md +0 -270
- package/docs_markdown/react/interfaces/FiveCanvasProps.md +0 -29
- package/docs_markdown/react/interfaces/FiveInjectionTypes.md +0 -1075
- package/docs_markdown/react/interfaces/PropTypeOfFiveFeatures.md +0 -23
- package/docs_markdown/react/type-aliases/FiveInjectionActionFeature.md +0 -11
- package/docs_markdown/react/type-aliases/FiveInjectionDataFeature.md +0 -11
- package/docs_markdown/react/type-aliases/FiveInjectionFeature.md +0 -11
- package/docs_markdown/react/type-aliases/FiveProviderPropTypes.md +0 -139
- package/docs_markdown/react/type-aliases/FiveProviderType.md +0 -11
- package/docs_markdown/react/type-aliases/StoreActionMapHanlder.md +0 -25
- package/docs_markdown/react/type-aliases/StoreActionMapType.md +0 -15
- package/docs_markdown/react/type-aliases/StoreProviderType.md +0 -11
- package/docs_markdown/react/type-aliases/StoreValueMapType.md +0 -11
- package/docs_markdown/react/variables/FiveCanvas.md +0 -25
- package/docs_markdown/react/variables/INJECTION_PROPNAME.md +0 -11
- package/docs_markdown/react/variables/useFiveScene.md +0 -43
- package/docs_markdown/sticker/README.md +0 -15
- package/docs_markdown/sticker/classes/Sticker.md +0 -208
- package/docs_markdown/sticker/interfaces/IntersectionLike.md +0 -39
- package/docs_markdown/vfx/README.md +0 -27
- package/docs_markdown/vfx/classes/Airflow.md +0 -175
- package/docs_markdown/vfx/classes/Flame.md +0 -241
- package/docs_markdown/vfx/classes/Particle.md +0 -488
- package/docs_markdown/vfx/classes/ParticleGPU.md +0 -195
- package/docs_markdown/vfx/classes/SpotLight.md +0 -159
- package/docs_markdown/vfx/interfaces/ParticleArgs.md +0 -338
- package/docs_markdown/vfx/interfaces/ParticleGPUArgs.md +0 -301
- package/docs_markdown/vfx/interfaces/ParticleGPUTweenKeyframe.md +0 -31
- package/docs_markdown/vfx/interfaces/ParticleTweenKeyframe.md +0 -31
- package/docs_markdown/vfx/type-aliases/ParticleGPUType.md +0 -11
- package/docs_markdown/vfx/type-aliases/ParticleType.md +0 -11
- package/docs_markdown/vue/README.md +0 -42
- package/docs_markdown/vue/functions/unsafe__useFiveInject.md +0 -27
- package/docs_markdown/vue/functions/useFiveAction.md +0 -104
- package/docs_markdown/vue/functions/useFiveCameraDirection.md +0 -19
- package/docs_markdown/vue/functions/useFiveCameraRaycaster.md +0 -19
- package/docs_markdown/vue/functions/useFiveCurrentObserver.md +0 -25
- package/docs_markdown/vue/functions/useFiveCurrentState.md +0 -25
- package/docs_markdown/vue/functions/useFiveEventCallback.md +0 -40
- package/docs_markdown/vue/functions/useFiveFloor.md +0 -25
- package/docs_markdown/vue/functions/useFiveHelper.md +0 -25
- package/docs_markdown/vue/functions/useFiveModel.md +0 -17
- package/docs_markdown/vue/functions/useFiveModelBounding.md +0 -17
- package/docs_markdown/vue/functions/useFiveModelIntersectRaycaster.md +0 -35
- package/docs_markdown/vue/functions/useFiveModelReadyState.md +0 -20
- package/docs_markdown/vue/functions/useFiveProject2d.md +0 -38
- package/docs_markdown/vue/functions/useFiveScene.md +0 -17
- package/docs_markdown/vue/functions/useFiveState.md +0 -25
- package/docs_markdown/vue/functions/useFiveWorks.md +0 -39
- package/docs_markdown/vue/interfaces/FiveActionVueCallbacks.md +0 -301
- package/docs_markdown/vue/type-aliases/FiveModelIntersectRaycaster.md +0 -21
- package/docs_markdown/vue/type-aliases/FiveProviderComponent.md +0 -11
- package/docs_markdown/vue/type-aliases/Project2d.md +0 -25
- package/docs_markdown/vue/variables/FiveCanvas.md +0 -37
- package/docs_markdown/vue/variables/FiveProvider.md +0 -32
|
@@ -1,1075 +0,0 @@
|
|
|
1
|
-
[**如视 Five SDK**](../../README.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
[如视 Five SDK](../../modules.md) / [react](../README.md) / FiveInjectionTypes
|
|
6
|
-
|
|
7
|
-
# Interface: FiveInjectionTypes
|
|
8
|
-
|
|
9
|
-
Defined in: lib/react/withFive.ts:328
|
|
10
|
-
|
|
11
|
-
监听者模式
|
|
12
|
-
|
|
13
|
-
## Example
|
|
14
|
-
|
|
15
|
-
```
|
|
16
|
-
new Subscribe<{
|
|
17
|
-
"foo": [arg1: number, arg2: string],
|
|
18
|
-
"bar": [arg: boolean],
|
|
19
|
-
}>()
|
|
20
|
-
```
|
|
21
|
-
|
|
22
|
-
## Extends
|
|
23
|
-
|
|
24
|
-
- [`Subscribe`](../../five/classes/Subscribe.md)\<[`EventTypes`](../../five/type-aliases/EventTypes.md)\>
|
|
25
|
-
|
|
26
|
-
## Properties
|
|
27
|
-
|
|
28
|
-
### cameraDirection
|
|
29
|
-
|
|
30
|
-
> **cameraDirection**: `Vector3`
|
|
31
|
-
|
|
32
|
-
Defined in: lib/react/withFive.ts:386
|
|
33
|
-
|
|
34
|
-
Five React Inject: Five cameraDirection
|
|
35
|
-
|
|
36
|
-
***
|
|
37
|
-
|
|
38
|
-
### cameraRaycaster
|
|
39
|
-
|
|
40
|
-
> **cameraRaycaster**: `Raycaster`
|
|
41
|
-
|
|
42
|
-
Defined in: lib/react/withFive.ts:391
|
|
43
|
-
|
|
44
|
-
Five React Inject: Five cameraRaycaster
|
|
45
|
-
|
|
46
|
-
***
|
|
47
|
-
|
|
48
|
-
### currentObserver
|
|
49
|
-
|
|
50
|
-
> **currentObserver**: [`WorkObserver`](../../five/interfaces/WorkObserver.md)
|
|
51
|
-
|
|
52
|
-
Defined in: lib/react/withFive.ts:381
|
|
53
|
-
|
|
54
|
-
Five React Inject: Five currentState
|
|
55
|
-
|
|
56
|
-
***
|
|
57
|
-
|
|
58
|
-
### currentState
|
|
59
|
-
|
|
60
|
-
> **currentState**: [`State`](../../five/interfaces/State.md)
|
|
61
|
-
|
|
62
|
-
Defined in: lib/react/withFive.ts:376
|
|
63
|
-
|
|
64
|
-
Five React Inject: Five 的当前状态
|
|
65
|
-
|
|
66
|
-
#### Description
|
|
67
|
-
|
|
68
|
-
```text
|
|
69
|
-
five 设置了以下状态
|
|
70
|
-
|
|
71
|
-
- mode: Mode
|
|
72
|
-
- panoId: string
|
|
73
|
-
- panoIndex: number
|
|
74
|
-
- longitude: number
|
|
75
|
-
- latitude: number
|
|
76
|
-
- fov: number
|
|
77
|
-
- offset: THREE.Vector3
|
|
78
|
-
|
|
79
|
-
可以通过 state, currentState 和 setState 来获取和设置。
|
|
80
|
-
通过 state 设置后,five 会通过合适的动画运动来达到设置的位置。
|
|
81
|
-
来迎合一些通过数据驱动的场景。
|
|
82
|
-
```
|
|
83
|
-
|
|
84
|
-
***
|
|
85
|
-
|
|
86
|
-
### getPixels()
|
|
87
|
-
|
|
88
|
-
> **getPixels**: \{\<`T`\>(`x`, `y`, `width`, `height`, `pixelRatio?`, `flipY?`, `buffer?`): `T`; \<`T`\>(`options`): `T`; \}
|
|
89
|
-
|
|
90
|
-
Defined in: lib/react/withFive.ts:506
|
|
91
|
-
|
|
92
|
-
获取画面中的像素颜色
|
|
93
|
-
|
|
94
|
-
#### Call Signature
|
|
95
|
-
|
|
96
|
-
> \<`T`\>(`x`, `y`, `width`, `height`, `pixelRatio?`, `flipY?`, `buffer?`): `T`
|
|
97
|
-
|
|
98
|
-
获取画面中的像素颜色
|
|
99
|
-
|
|
100
|
-
##### Type Parameters
|
|
101
|
-
|
|
102
|
-
###### T
|
|
103
|
-
|
|
104
|
-
`T` *extends* `Uint8Array`\<`ArrayBufferLike`\> \| `Uint8ClampedArray`\<`ArrayBufferLike`\> = `Uint8Array`\<`ArrayBufferLike`\>
|
|
105
|
-
|
|
106
|
-
##### Parameters
|
|
107
|
-
|
|
108
|
-
###### x
|
|
109
|
-
|
|
110
|
-
`number`
|
|
111
|
-
|
|
112
|
-
获取像素区域的起始坐标 x
|
|
113
|
-
|
|
114
|
-
###### y
|
|
115
|
-
|
|
116
|
-
`number`
|
|
117
|
-
|
|
118
|
-
获取像素区域的起始坐标 y
|
|
119
|
-
|
|
120
|
-
###### width
|
|
121
|
-
|
|
122
|
-
`number`
|
|
123
|
-
|
|
124
|
-
获取像素区域的宽度
|
|
125
|
-
|
|
126
|
-
###### height
|
|
127
|
-
|
|
128
|
-
`number`
|
|
129
|
-
|
|
130
|
-
获取像素区域的高度
|
|
131
|
-
|
|
132
|
-
###### pixelRatio?
|
|
133
|
-
|
|
134
|
-
`number`
|
|
135
|
-
|
|
136
|
-
获取区域的像素比
|
|
137
|
-
|
|
138
|
-
###### flipY?
|
|
139
|
-
|
|
140
|
-
`boolean`
|
|
141
|
-
|
|
142
|
-
是否Y轴翻转
|
|
143
|
-
|
|
144
|
-
###### buffer?
|
|
145
|
-
|
|
146
|
-
`T`
|
|
147
|
-
|
|
148
|
-
存储数组
|
|
149
|
-
|
|
150
|
-
##### Returns
|
|
151
|
-
|
|
152
|
-
`T`
|
|
153
|
-
|
|
154
|
-
rgba颜色平铺的 Uint8Array
|
|
155
|
-
|
|
156
|
-
#### Call Signature
|
|
157
|
-
|
|
158
|
-
> \<`T`\>(`options`): `T`
|
|
159
|
-
|
|
160
|
-
获取画面中的像素颜色
|
|
161
|
-
|
|
162
|
-
##### Type Parameters
|
|
163
|
-
|
|
164
|
-
###### T
|
|
165
|
-
|
|
166
|
-
`T` *extends* `Uint8Array`\<`ArrayBufferLike`\> \| `Uint8ClampedArray`\<`ArrayBufferLike`\> = `Uint8Array`\<`ArrayBufferLike`\>
|
|
167
|
-
|
|
168
|
-
##### Parameters
|
|
169
|
-
|
|
170
|
-
###### options
|
|
171
|
-
|
|
172
|
-
参数
|
|
173
|
-
|
|
174
|
-
###### buffer?
|
|
175
|
-
|
|
176
|
-
`T`
|
|
177
|
-
|
|
178
|
-
存储数组
|
|
179
|
-
|
|
180
|
-
###### flipY?
|
|
181
|
-
|
|
182
|
-
`boolean`
|
|
183
|
-
|
|
184
|
-
是否Y轴翻转
|
|
185
|
-
|
|
186
|
-
###### height
|
|
187
|
-
|
|
188
|
-
`number`
|
|
189
|
-
|
|
190
|
-
获取像素区域的高度
|
|
191
|
-
|
|
192
|
-
###### helperVisible?
|
|
193
|
-
|
|
194
|
-
`boolean`
|
|
195
|
-
|
|
196
|
-
###### pixelRatio?
|
|
197
|
-
|
|
198
|
-
`number`
|
|
199
|
-
|
|
200
|
-
获取区域的像素比
|
|
201
|
-
|
|
202
|
-
###### skipPanorama?
|
|
203
|
-
|
|
204
|
-
`boolean`
|
|
205
|
-
|
|
206
|
-
###### width
|
|
207
|
-
|
|
208
|
-
`number`
|
|
209
|
-
|
|
210
|
-
获取像素区域的宽度
|
|
211
|
-
|
|
212
|
-
###### x
|
|
213
|
-
|
|
214
|
-
`number`
|
|
215
|
-
|
|
216
|
-
获取像素区域的起始坐标 x
|
|
217
|
-
|
|
218
|
-
###### y
|
|
219
|
-
|
|
220
|
-
`number`
|
|
221
|
-
|
|
222
|
-
获取像素区域的起始坐标 y
|
|
223
|
-
|
|
224
|
-
##### Returns
|
|
225
|
-
|
|
226
|
-
`T`
|
|
227
|
-
|
|
228
|
-
#### Param
|
|
229
|
-
|
|
230
|
-
获取像素区域的起始坐标 x
|
|
231
|
-
|
|
232
|
-
#### Param
|
|
233
|
-
|
|
234
|
-
获取像素区域的起始坐标 y
|
|
235
|
-
|
|
236
|
-
#### Param
|
|
237
|
-
|
|
238
|
-
获取像素区域的宽度
|
|
239
|
-
|
|
240
|
-
#### Param
|
|
241
|
-
|
|
242
|
-
获取像素区域的高度
|
|
243
|
-
|
|
244
|
-
#### Param
|
|
245
|
-
|
|
246
|
-
获取区域的像素比
|
|
247
|
-
|
|
248
|
-
#### Returns
|
|
249
|
-
|
|
250
|
-
rgba颜色平铺的 Uint8Array
|
|
251
|
-
|
|
252
|
-
***
|
|
253
|
-
|
|
254
|
-
### helperVisible
|
|
255
|
-
|
|
256
|
-
> **helperVisible**: `boolean`
|
|
257
|
-
|
|
258
|
-
Defined in: lib/react/withFive.ts:432
|
|
259
|
-
|
|
260
|
-
Five React Inject: Five helperVisible
|
|
261
|
-
|
|
262
|
-
***
|
|
263
|
-
|
|
264
|
-
### intersectRaycaster()
|
|
265
|
-
|
|
266
|
-
> **intersectRaycaster**: (`raycaster`, `target?`) => [`Intersection`](../../five/interfaces/Intersection.md)[]
|
|
267
|
-
|
|
268
|
-
Defined in: lib/react/withFive.ts:474
|
|
269
|
-
|
|
270
|
-
计算模型射线碰撞检测
|
|
271
|
-
|
|
272
|
-
计算模型射线碰撞检测
|
|
273
|
-
|
|
274
|
-
#### Parameters
|
|
275
|
-
|
|
276
|
-
##### raycaster
|
|
277
|
-
|
|
278
|
-
`Raycaster`
|
|
279
|
-
|
|
280
|
-
THREE 射线对象
|
|
281
|
-
|
|
282
|
-
##### target?
|
|
283
|
-
|
|
284
|
-
[`Intersection`](../../five/interfaces/Intersection.md)[]
|
|
285
|
-
|
|
286
|
-
返回碰撞
|
|
287
|
-
|
|
288
|
-
#### Returns
|
|
289
|
-
|
|
290
|
-
[`Intersection`](../../five/interfaces/Intersection.md)[]
|
|
291
|
-
|
|
292
|
-
返回碰撞
|
|
293
|
-
|
|
294
|
-
#### Param
|
|
295
|
-
|
|
296
|
-
THREE 射线对象
|
|
297
|
-
|
|
298
|
-
#### Param
|
|
299
|
-
|
|
300
|
-
和某一楼层做碰撞检测, 不传为和所有楼层做碰撞检测
|
|
301
|
-
|
|
302
|
-
#### Returns
|
|
303
|
-
|
|
304
|
-
返回碰撞
|
|
305
|
-
|
|
306
|
-
***
|
|
307
|
-
|
|
308
|
-
### loadWork()
|
|
309
|
-
|
|
310
|
-
> **loadWork**: (`inputWork`, `state?`, `options?`, `userAction`) => `Promise`\<`void`\>
|
|
311
|
-
|
|
312
|
-
Defined in: lib/react/withFive.ts:466
|
|
313
|
-
|
|
314
|
-
加载 Work 数据
|
|
315
|
-
|
|
316
|
-
加载 Work 数据
|
|
317
|
-
|
|
318
|
-
#### Parameters
|
|
319
|
-
|
|
320
|
-
##### inputWork
|
|
321
|
-
|
|
322
|
-
Work 数据
|
|
323
|
-
|
|
324
|
-
`string` | `string`[] | [`LooseWork`](../../five/interfaces/LooseWork.md) | [`Work`](../../five/classes/Work.md) | [`Work`](../../five/classes/Work.md)[] | [`LooseWork`](../../five/interfaces/LooseWork.md)[] | [`LooseWorkWithExtrinsics`](../../five/interfaces/LooseWorkWithExtrinsics.md)[] | `Promise`\<[`LooseWork`](../../five/interfaces/LooseWork.md) \| [`Work`](../../five/classes/Work.md) \| [`Work`](../../five/classes/Work.md)[] \| [`LooseWork`](../../five/interfaces/LooseWork.md)[] \| [`LooseWorkWithExtrinsics`](../../five/interfaces/LooseWorkWithExtrinsics.md)[]\>
|
|
325
|
-
|
|
326
|
-
##### state?
|
|
327
|
-
|
|
328
|
-
初始化姿态
|
|
329
|
-
- "inherit" 使用当前姿态
|
|
330
|
-
- "initial" 使用 Work 数据中的 initial 姿态
|
|
331
|
-
- State 自定义姿态
|
|
332
|
-
|
|
333
|
-
`"initial"` | `"inherit"` | `Partial`\<[`State`](../../five/interfaces/State.md)\>
|
|
334
|
-
|
|
335
|
-
##### options?
|
|
336
|
-
|
|
337
|
-
切换时间, 切换效果
|
|
338
|
-
|
|
339
|
-
`number` | [`FiveLoadOptions`](../../five/interfaces/FiveLoadOptions.md)
|
|
340
|
-
|
|
341
|
-
##### userAction?
|
|
342
|
-
|
|
343
|
-
`boolean` = `true`
|
|
344
|
-
|
|
345
|
-
#### Returns
|
|
346
|
-
|
|
347
|
-
`Promise`\<`void`\>
|
|
348
|
-
|
|
349
|
-
#### Param
|
|
350
|
-
|
|
351
|
-
Work 数据
|
|
352
|
-
|
|
353
|
-
#### Param
|
|
354
|
-
|
|
355
|
-
初始化姿态
|
|
356
|
-
- "inherit" 使用当前姿态
|
|
357
|
-
- "initial" 使用 Work 数据中的 initial 姿态
|
|
358
|
-
- State 自定义姿态
|
|
359
|
-
|
|
360
|
-
#### Param
|
|
361
|
-
|
|
362
|
-
切换时间
|
|
363
|
-
|
|
364
|
-
***
|
|
365
|
-
|
|
366
|
-
### model
|
|
367
|
-
|
|
368
|
-
> **model**: [`Model`](../../five/classes/Model.md)
|
|
369
|
-
|
|
370
|
-
Defined in: lib/react/withFive.ts:406
|
|
371
|
-
|
|
372
|
-
Five React Inject: Five model
|
|
373
|
-
|
|
374
|
-
***
|
|
375
|
-
|
|
376
|
-
### modelReadyState
|
|
377
|
-
|
|
378
|
-
> **modelReadyState**: `"Empty"` \| `"Loaded"`
|
|
379
|
-
|
|
380
|
-
Defined in: lib/react/withFive.ts:421
|
|
381
|
-
|
|
382
|
-
Five React Inject: Five modelReadyState
|
|
383
|
-
|
|
384
|
-
***
|
|
385
|
-
|
|
386
|
-
### models
|
|
387
|
-
|
|
388
|
-
> **models**: [`Models`](../../five/type-aliases/Models.md)
|
|
389
|
-
|
|
390
|
-
Defined in: lib/react/withFive.ts:411
|
|
391
|
-
|
|
392
|
-
Five React Inject: Five models
|
|
393
|
-
|
|
394
|
-
***
|
|
395
|
-
|
|
396
|
-
### needsRender()
|
|
397
|
-
|
|
398
|
-
> **needsRender**: () => `void`
|
|
399
|
-
|
|
400
|
-
Defined in: lib/react/withFive.ts:531
|
|
401
|
-
|
|
402
|
-
下一帧渲染
|
|
403
|
-
|
|
404
|
-
#### Returns
|
|
405
|
-
|
|
406
|
-
`void`
|
|
407
|
-
|
|
408
|
-
#### Description
|
|
409
|
-
|
|
410
|
-
调用 `render()` 和设置 `needsRender()` 均可在按需渲染时,使得画面渲染一次
|
|
411
|
-
区别在于:
|
|
412
|
-
- `needsRender()` 为在下帧渲染画面
|
|
413
|
-
- `render()` 在当前帧渲染画面
|
|
414
|
-
推荐使用 `needsRender()`, 可以更加流畅。但是如果需要截图等同步操作,可以使用 `render()`
|
|
415
|
-
|
|
416
|
-
***
|
|
417
|
-
|
|
418
|
-
### preloadPano()
|
|
419
|
-
|
|
420
|
-
> **preloadPano**: (`pano`, `callback`) => `Promise`\<`number`\>
|
|
421
|
-
|
|
422
|
-
Defined in: lib/react/withFive.ts:539
|
|
423
|
-
|
|
424
|
-
预加载点位图片资源
|
|
425
|
-
|
|
426
|
-
预加载点位图片资源
|
|
427
|
-
|
|
428
|
-
#### Parameters
|
|
429
|
-
|
|
430
|
-
##### pano
|
|
431
|
-
|
|
432
|
-
观察点序号
|
|
433
|
-
|
|
434
|
-
`number` | [`Pano`](../../five/type-aliases/Pano.md) | `` `${string}[${number}]` ``
|
|
435
|
-
|
|
436
|
-
##### callback
|
|
437
|
-
|
|
438
|
-
(`costs`) => `void`
|
|
439
|
-
|
|
440
|
-
加载完成回调, 并传递加载用时。
|
|
441
|
-
|
|
442
|
-
#### Returns
|
|
443
|
-
|
|
444
|
-
`Promise`\<`number`\>
|
|
445
|
-
|
|
446
|
-
加载完成的 Promise 参数同 callback
|
|
447
|
-
|
|
448
|
-
#### Param
|
|
449
|
-
|
|
450
|
-
观察点
|
|
451
|
-
|
|
452
|
-
#### Param
|
|
453
|
-
|
|
454
|
-
加载完成回调, 并传递加载用时。
|
|
455
|
-
|
|
456
|
-
#### Returns
|
|
457
|
-
|
|
458
|
-
加载完成的 Promise 参数同 callback
|
|
459
|
-
|
|
460
|
-
***
|
|
461
|
-
|
|
462
|
-
### project2d()
|
|
463
|
-
|
|
464
|
-
> **project2d**: (`vector`, `testModel`) => `Vector2`
|
|
465
|
-
|
|
466
|
-
Defined in: lib/react/withFive.ts:484
|
|
467
|
-
|
|
468
|
-
计算三维坐标对应到屏幕的二维坐标
|
|
469
|
-
|
|
470
|
-
计算三维坐标对应到屏幕的二维坐标
|
|
471
|
-
|
|
472
|
-
#### Parameters
|
|
473
|
-
|
|
474
|
-
##### vector
|
|
475
|
-
|
|
476
|
-
`Vector3`
|
|
477
|
-
|
|
478
|
-
三维坐标
|
|
479
|
-
|
|
480
|
-
##### testModel
|
|
481
|
-
|
|
482
|
-
`boolean` = `false`
|
|
483
|
-
|
|
484
|
-
是否计算模型遮挡
|
|
485
|
-
|
|
486
|
-
#### Returns
|
|
487
|
-
|
|
488
|
-
`Vector2`
|
|
489
|
-
|
|
490
|
-
二维坐标 或者 null
|
|
491
|
-
|
|
492
|
-
#### Description
|
|
493
|
-
|
|
494
|
-
如果三维坐标不在屏幕中,则返回 null
|
|
495
|
-
|
|
496
|
-
#### Description
|
|
497
|
-
|
|
498
|
-
如果三维坐标不在屏幕中,则返回 null
|
|
499
|
-
|
|
500
|
-
#### Param
|
|
501
|
-
|
|
502
|
-
三维坐标
|
|
503
|
-
|
|
504
|
-
#### Param
|
|
505
|
-
|
|
506
|
-
是否计算模型遮挡
|
|
507
|
-
|
|
508
|
-
#### Returns
|
|
509
|
-
|
|
510
|
-
二维坐标 或者 null
|
|
511
|
-
|
|
512
|
-
***
|
|
513
|
-
|
|
514
|
-
### render()
|
|
515
|
-
|
|
516
|
-
> **render**: (`callback?`) => `void`
|
|
517
|
-
|
|
518
|
-
Defined in: lib/react/withFive.ts:519
|
|
519
|
-
|
|
520
|
-
强制渲染
|
|
521
|
-
|
|
522
|
-
强制渲染
|
|
523
|
-
|
|
524
|
-
#### Parameters
|
|
525
|
-
|
|
526
|
-
##### callback?
|
|
527
|
-
|
|
528
|
-
() => `void`
|
|
529
|
-
|
|
530
|
-
渲染完成回调
|
|
531
|
-
|
|
532
|
-
#### Returns
|
|
533
|
-
|
|
534
|
-
`void`
|
|
535
|
-
|
|
536
|
-
#### Description
|
|
537
|
-
|
|
538
|
-
调用 `five.render()` 和设置 `five.needsRender = true` 均可在按需渲染时,使得画面渲染一次
|
|
539
|
-
区别在于:
|
|
540
|
-
- `five.needsRender = true` 为在下帧渲染画面
|
|
541
|
-
- `five.render()` 在当前帧渲染画面
|
|
542
|
-
推荐使用 `five.needsRender = true`, 可以更加流畅。但是如果需要截图等同步操作,可以使用 `five.render()`
|
|
543
|
-
|
|
544
|
-
#### Description
|
|
545
|
-
|
|
546
|
-
调用 `render()` 和设置 `needsRender()` 均可在按需渲染时,使得画面渲染一次
|
|
547
|
-
区别在于:
|
|
548
|
-
- `needsRender()` 为在下帧渲染画面
|
|
549
|
-
- `render()` 在当前帧渲染画面
|
|
550
|
-
推荐使用 `needsRender()`, 可以更加流畅。但是如果需要截图等同步操作,可以使用 `render()`
|
|
551
|
-
|
|
552
|
-
#### Param
|
|
553
|
-
|
|
554
|
-
渲染完成回调
|
|
555
|
-
|
|
556
|
-
***
|
|
557
|
-
|
|
558
|
-
### scene
|
|
559
|
-
|
|
560
|
-
> **scene**: [`Scene`](../../five/classes/Scene.md)
|
|
561
|
-
|
|
562
|
-
Defined in: lib/react/withFive.ts:416
|
|
563
|
-
|
|
564
|
-
Five React Inject: Five models
|
|
565
|
-
|
|
566
|
-
***
|
|
567
|
-
|
|
568
|
-
### setState()
|
|
569
|
-
|
|
570
|
-
> **setState**: (`state`, `immediately`, `userAction`) => `void`
|
|
571
|
-
|
|
572
|
-
Defined in: lib/react/withFive.ts:455
|
|
573
|
-
|
|
574
|
-
设置 State
|
|
575
|
-
|
|
576
|
-
设置 State
|
|
577
|
-
|
|
578
|
-
#### Parameters
|
|
579
|
-
|
|
580
|
-
##### state
|
|
581
|
-
|
|
582
|
-
`Partial`\<[`State`](../../five/interfaces/State.md)\>
|
|
583
|
-
|
|
584
|
-
目标状态
|
|
585
|
-
|
|
586
|
-
##### immediately
|
|
587
|
-
|
|
588
|
-
`boolean` = `false`
|
|
589
|
-
|
|
590
|
-
是否马上转换,马上转换会尽快达到目标状态,尽量减少中间状态,更少动画。
|
|
591
|
-
|
|
592
|
-
##### userAction
|
|
593
|
-
|
|
594
|
-
`boolean` = `true`
|
|
595
|
-
|
|
596
|
-
是否是用户触发的动作
|
|
597
|
-
|
|
598
|
-
#### Returns
|
|
599
|
-
|
|
600
|
-
`void`
|
|
601
|
-
|
|
602
|
-
#### Description
|
|
603
|
-
|
|
604
|
-
```text
|
|
605
|
-
five 设置了以下状态
|
|
606
|
-
|
|
607
|
-
- mode: Mode
|
|
608
|
-
- panoIndex: number
|
|
609
|
-
- longitude: number
|
|
610
|
-
- latitude: number
|
|
611
|
-
- distance: number
|
|
612
|
-
- fov: number
|
|
613
|
-
- offset: THREE.Vector3
|
|
614
|
-
|
|
615
|
-
可以通过 five.state 和 five.setState 来获取和设置。
|
|
616
|
-
通过 state 设置后,five 会通过合适的动画运动来达到设置的位置。
|
|
617
|
-
来迎合一些通过数据驱动的场景。
|
|
618
|
-
```
|
|
619
|
-
|
|
620
|
-
#### Description
|
|
621
|
-
|
|
622
|
-
```text
|
|
623
|
-
five 设置了以下状态
|
|
624
|
-
|
|
625
|
-
- mode: Mode
|
|
626
|
-
- panoId: string
|
|
627
|
-
- panoIndex: number
|
|
628
|
-
- longitude: number
|
|
629
|
-
- latitude: number
|
|
630
|
-
- fov: number
|
|
631
|
-
- offset: THREE.Vector3
|
|
632
|
-
|
|
633
|
-
可以通过 state, currentState 和 setState 来获取和设置。
|
|
634
|
-
通过 state 设置后,five 会通过合适的动画运动来达到设置的位置。
|
|
635
|
-
来迎合一些通过数据驱动的场景。
|
|
636
|
-
```
|
|
637
|
-
|
|
638
|
-
#### Param
|
|
639
|
-
|
|
640
|
-
目标状态
|
|
641
|
-
|
|
642
|
-
#### Param
|
|
643
|
-
|
|
644
|
-
是否马上转换,马上转换会尽快达到目标状态,尽量减少中间状态,更少动画。
|
|
645
|
-
|
|
646
|
-
***
|
|
647
|
-
|
|
648
|
-
### showFloor()
|
|
649
|
-
|
|
650
|
-
> **showFloor**: (`floorIndex?`) => `void`
|
|
651
|
-
|
|
652
|
-
Defined in: lib/react/withFive.ts:545
|
|
653
|
-
|
|
654
|
-
显示楼层
|
|
655
|
-
|
|
656
|
-
#### Parameters
|
|
657
|
-
|
|
658
|
-
##### floorIndex?
|
|
659
|
-
|
|
660
|
-
`number`
|
|
661
|
-
|
|
662
|
-
楼层,如果不传则都显示
|
|
663
|
-
|
|
664
|
-
#### Returns
|
|
665
|
-
|
|
666
|
-
`void`
|
|
667
|
-
|
|
668
|
-
***
|
|
669
|
-
|
|
670
|
-
### shownFloor
|
|
671
|
-
|
|
672
|
-
> **shownFloor**: `number`
|
|
673
|
-
|
|
674
|
-
Defined in: lib/react/withFive.ts:427
|
|
675
|
-
|
|
676
|
-
Five React Inject: Five shownFloor
|
|
677
|
-
|
|
678
|
-
***
|
|
679
|
-
|
|
680
|
-
### state
|
|
681
|
-
|
|
682
|
-
> **state**: [`State`](../../five/interfaces/State.md)
|
|
683
|
-
|
|
684
|
-
Defined in: lib/react/withFive.ts:355
|
|
685
|
-
|
|
686
|
-
Five React Inject: Five 的目标状态
|
|
687
|
-
|
|
688
|
-
#### Description
|
|
689
|
-
|
|
690
|
-
```text
|
|
691
|
-
five 设置了以下状态
|
|
692
|
-
|
|
693
|
-
- mode: Mode
|
|
694
|
-
- panoId: string
|
|
695
|
-
- panoIndex: number
|
|
696
|
-
- longitude: number
|
|
697
|
-
- latitude: number
|
|
698
|
-
- fov: number
|
|
699
|
-
- offset: THREE.Vector3
|
|
700
|
-
|
|
701
|
-
可以通过 state, currentState 和 setState 来获取和设置。
|
|
702
|
-
通过 state 设置后,five 会通过合适的动画运动来达到设置的位置。
|
|
703
|
-
来迎合一些通过数据驱动的场景。
|
|
704
|
-
```
|
|
705
|
-
|
|
706
|
-
***
|
|
707
|
-
|
|
708
|
-
### toggleHelperVisible()
|
|
709
|
-
|
|
710
|
-
> **toggleHelperVisible**: (`visible`) => `void`
|
|
711
|
-
|
|
712
|
-
Defined in: lib/react/withFive.ts:551
|
|
713
|
-
|
|
714
|
-
帮助元素的隐藏/显示
|
|
715
|
-
|
|
716
|
-
#### Parameters
|
|
717
|
-
|
|
718
|
-
##### visible
|
|
719
|
-
|
|
720
|
-
`boolean`
|
|
721
|
-
|
|
722
|
-
隐藏/显示
|
|
723
|
-
|
|
724
|
-
#### Returns
|
|
725
|
-
|
|
726
|
-
`void`
|
|
727
|
-
|
|
728
|
-
***
|
|
729
|
-
|
|
730
|
-
### ~~unsafe\_\_fiveInstance~~
|
|
731
|
-
|
|
732
|
-
> **unsafe\_\_fiveInstance**: [`Five`](../../five/classes/Five.md)
|
|
733
|
-
|
|
734
|
-
Defined in: lib/react/withFive.ts:334
|
|
735
|
-
|
|
736
|
-
Five React Inject: 获取 five 实例
|
|
737
|
-
|
|
738
|
-
#### Description
|
|
739
|
-
|
|
740
|
-
不到万不得已,并不推荐直接使用。
|
|
741
|
-
|
|
742
|
-
#### Deprecated
|
|
743
|
-
|
|
744
|
-
不到万不得已,并不推荐直接使用。
|
|
745
|
-
|
|
746
|
-
***
|
|
747
|
-
|
|
748
|
-
### updateCamera()
|
|
749
|
-
|
|
750
|
-
> **updateCamera**: (`pose`, `duration`, `userAction`) => `Promise`\<`void`\>
|
|
751
|
-
|
|
752
|
-
Defined in: lib/react/withFive.ts:495
|
|
753
|
-
|
|
754
|
-
移动相机。(不触发点位移动)
|
|
755
|
-
|
|
756
|
-
移动相机。(不触发点位移动)
|
|
757
|
-
|
|
758
|
-
#### Parameters
|
|
759
|
-
|
|
760
|
-
##### pose
|
|
761
|
-
|
|
762
|
-
`Partial`\<[`Pose`](../../five/interfaces/Pose.md)\>
|
|
763
|
-
|
|
764
|
-
相机目标位置
|
|
765
|
-
|
|
766
|
-
##### duration
|
|
767
|
-
|
|
768
|
-
`number`
|
|
769
|
-
|
|
770
|
-
动画触发的时常
|
|
771
|
-
|
|
772
|
-
##### userAction
|
|
773
|
-
|
|
774
|
-
`boolean` = `true`
|
|
775
|
-
|
|
776
|
-
是否用户触发
|
|
777
|
-
|
|
778
|
-
#### Returns
|
|
779
|
-
|
|
780
|
-
`Promise`\<`void`\>
|
|
781
|
-
|
|
782
|
-
Promise 是否移动成功
|
|
783
|
-
|
|
784
|
-
#### Description
|
|
785
|
-
|
|
786
|
-
如果动画中途被打断(用户触发行为,或者调用 setState, load, changeMode)的等
|
|
787
|
-
会 Promise.reject。运动完成则 Promise.resolve
|
|
788
|
-
|
|
789
|
-
#### Description
|
|
790
|
-
|
|
791
|
-
如果动画中途被打断(用户触发行为,或者调用 setState, load, changeMode)的等
|
|
792
|
-
会 Promise.reject。运动完成则 Promise.resolve
|
|
793
|
-
|
|
794
|
-
#### Param
|
|
795
|
-
|
|
796
|
-
相机目标位置
|
|
797
|
-
|
|
798
|
-
#### Param
|
|
799
|
-
|
|
800
|
-
动画触发的时常
|
|
801
|
-
|
|
802
|
-
#### Returns
|
|
803
|
-
|
|
804
|
-
Promise 是否移动成功
|
|
805
|
-
|
|
806
|
-
***
|
|
807
|
-
|
|
808
|
-
### work
|
|
809
|
-
|
|
810
|
-
> **work**: [`Work`](../../five/classes/Work.md)
|
|
811
|
-
|
|
812
|
-
Defined in: lib/react/withFive.ts:396
|
|
813
|
-
|
|
814
|
-
Five React Inject: Five Work
|
|
815
|
-
|
|
816
|
-
***
|
|
817
|
-
|
|
818
|
-
### works
|
|
819
|
-
|
|
820
|
-
> **works**: [`Works`](../../five/type-aliases/Works.md)
|
|
821
|
-
|
|
822
|
-
Defined in: lib/react/withFive.ts:401
|
|
823
|
-
|
|
824
|
-
Five React Inject: Five Work
|
|
825
|
-
|
|
826
|
-
## Methods
|
|
827
|
-
|
|
828
|
-
### emit()
|
|
829
|
-
|
|
830
|
-
> **emit**\<`K`\>(`name`, ...`data`): `boolean`
|
|
831
|
-
|
|
832
|
-
Defined in: lib/five/utils/subscribe.ts:131
|
|
833
|
-
|
|
834
|
-
触发事件
|
|
835
|
-
|
|
836
|
-
#### Type Parameters
|
|
837
|
-
|
|
838
|
-
##### K
|
|
839
|
-
|
|
840
|
-
`K` *extends* `"dispose"` \| `"error"` \| `"render"` \| `"gesture.pan"` \| `"gesture.tap"` \| `"gesture.dbltap"` \| `"gesture.press"` \| `"gesture.pinch"` \| `"gesture.mousewheel"` \| `"gesture.mousemove"` \| `"gesture.momentum"` \| `"initAnimation.start"` \| `"initAnimation.end"` \| `"camera.update"` \| `"intersect.update"` \| `"pano.select"` \| `"pano.request"` \| `"pano.moveTo"` \| `"pano.moving"` \| `"pano.arrived"` \| `"pano.cancel"` \| `"pano.error"` \| `"pano.texture.load"` \| `"pano.texture.progress"` \| `"pano.texture.success"` \| `"pano.texture.error"` \| `"pano.texture.abort"` \| `"xr.session.end"` \| `"xr.session.start"` \| `"xr.gesture.tap"` \| `"xr.gesture.press"` \| `"xr.gesture.buttonUp"` \| `"xr.gesture.buttonDown"` \| `"xr.controller.update"` \| keyof LegacyEventType \| `"works.request"` \| `"works.load"` \| `"works.ready"` \| `"state.set"` \| `"state.change"` \| `"state.synced"` \| `"currentState.change"` \| `"model.request"` \| `"model.load"` \| `"model.error"` \| `"model.changeShownFloor"` \| `"models.load"` \| `"models.refined"` \| `"render.prepare"` \| `"mode.change.request"` \| `"mode.change"` \| `"helpers.visible"` \| `"network.resource"` \| `"fps"`
|
|
841
|
-
|
|
842
|
-
预设的监听事件名称
|
|
843
|
-
|
|
844
|
-
#### Parameters
|
|
845
|
-
|
|
846
|
-
##### name
|
|
847
|
-
|
|
848
|
-
`K`
|
|
849
|
-
|
|
850
|
-
事件类型
|
|
851
|
-
|
|
852
|
-
##### data
|
|
853
|
-
|
|
854
|
-
...`Parameters`\<[`EventTypes`](../../five/type-aliases/EventTypes.md)\[`K`\]\>
|
|
855
|
-
|
|
856
|
-
触发事件的数据
|
|
857
|
-
|
|
858
|
-
#### Returns
|
|
859
|
-
|
|
860
|
-
`boolean`
|
|
861
|
-
|
|
862
|
-
canceled 是否被触发取消
|
|
863
|
-
|
|
864
|
-
#### Inherited from
|
|
865
|
-
|
|
866
|
-
[`Subscribe`](../../five/classes/Subscribe.md).[`emit`](../../five/classes/Subscribe.md#emit)
|
|
867
|
-
|
|
868
|
-
***
|
|
869
|
-
|
|
870
|
-
### hasListener()
|
|
871
|
-
|
|
872
|
-
> **hasListener**(`name`): `boolean`
|
|
873
|
-
|
|
874
|
-
Defined in: lib/five/utils/subscribe.ts:44
|
|
875
|
-
|
|
876
|
-
判断是否注册了事件
|
|
877
|
-
|
|
878
|
-
#### Parameters
|
|
879
|
-
|
|
880
|
-
##### name
|
|
881
|
-
|
|
882
|
-
事件类型
|
|
883
|
-
|
|
884
|
-
`"dispose"` | `"error"` | `"render"` | `"gesture.pan"` | `"gesture.tap"` | `"gesture.dbltap"` | `"gesture.press"` | `"gesture.pinch"` | `"gesture.mousewheel"` | `"gesture.mousemove"` | `"gesture.momentum"` | `"initAnimation.start"` | `"initAnimation.end"` | `"camera.update"` | `"intersect.update"` | `"pano.select"` | `"pano.request"` | `"pano.moveTo"` | `"pano.moving"` | `"pano.arrived"` | `"pano.cancel"` | `"pano.error"` | `"pano.texture.load"` | `"pano.texture.progress"` | `"pano.texture.success"` | `"pano.texture.error"` | `"pano.texture.abort"` | `"xr.session.end"` | `"xr.session.start"` | `"xr.gesture.tap"` | `"xr.gesture.press"` | `"xr.gesture.buttonUp"` | `"xr.gesture.buttonDown"` | `"xr.controller.update"` | keyof LegacyEventType | `"works.request"` | `"works.load"` | `"works.ready"` | `"state.set"` | `"state.change"` | `"state.synced"` | `"currentState.change"` | `"model.request"` | `"model.load"` | `"model.error"` | `"model.changeShownFloor"` | `"models.load"` | `"models.refined"` | `"render.prepare"` | `"mode.change.request"` | `"mode.change"` | `"helpers.visible"` | `"network.resource"` | `"fps"`
|
|
885
|
-
|
|
886
|
-
#### Returns
|
|
887
|
-
|
|
888
|
-
`boolean`
|
|
889
|
-
|
|
890
|
-
#### Inherited from
|
|
891
|
-
|
|
892
|
-
[`Subscribe`](../../five/classes/Subscribe.md).[`hasListener`](../../five/classes/Subscribe.md#haslistener)
|
|
893
|
-
|
|
894
|
-
***
|
|
895
|
-
|
|
896
|
-
### off()
|
|
897
|
-
|
|
898
|
-
> **off**\<`K`\>(`name?`, `callback?`): `void`
|
|
899
|
-
|
|
900
|
-
Defined in: lib/five/utils/subscribe.ts:97
|
|
901
|
-
|
|
902
|
-
解除事件
|
|
903
|
-
|
|
904
|
-
如果 name 不传的话解除对应所有事件
|
|
905
|
-
如果 name, callback 不传的话解除所有name的所有事件
|
|
906
|
-
|
|
907
|
-
#### Type Parameters
|
|
908
|
-
|
|
909
|
-
##### K
|
|
910
|
-
|
|
911
|
-
`K` *extends* `"dispose"` \| `"error"` \| `"render"` \| `"gesture.pan"` \| `"gesture.tap"` \| `"gesture.dbltap"` \| `"gesture.press"` \| `"gesture.pinch"` \| `"gesture.mousewheel"` \| `"gesture.mousemove"` \| `"gesture.momentum"` \| `"initAnimation.start"` \| `"initAnimation.end"` \| `"camera.update"` \| `"intersect.update"` \| `"pano.select"` \| `"pano.request"` \| `"pano.moveTo"` \| `"pano.moving"` \| `"pano.arrived"` \| `"pano.cancel"` \| `"pano.error"` \| `"pano.texture.load"` \| `"pano.texture.progress"` \| `"pano.texture.success"` \| `"pano.texture.error"` \| `"pano.texture.abort"` \| `"xr.session.end"` \| `"xr.session.start"` \| `"xr.gesture.tap"` \| `"xr.gesture.press"` \| `"xr.gesture.buttonUp"` \| `"xr.gesture.buttonDown"` \| `"xr.controller.update"` \| keyof LegacyEventType \| `"works.request"` \| `"works.load"` \| `"works.ready"` \| `"state.set"` \| `"state.change"` \| `"state.synced"` \| `"currentState.change"` \| `"model.request"` \| `"model.load"` \| `"model.error"` \| `"model.changeShownFloor"` \| `"models.load"` \| `"models.refined"` \| `"render.prepare"` \| `"mode.change.request"` \| `"mode.change"` \| `"helpers.visible"` \| `"network.resource"` \| `"fps"`
|
|
912
|
-
|
|
913
|
-
预设的监听事件名称
|
|
914
|
-
|
|
915
|
-
#### Parameters
|
|
916
|
-
|
|
917
|
-
##### name?
|
|
918
|
-
|
|
919
|
-
`K`
|
|
920
|
-
|
|
921
|
-
事件类型
|
|
922
|
-
|
|
923
|
-
##### callback?
|
|
924
|
-
|
|
925
|
-
(...`args`) => `ReturnType`\<[`EventTypes`](../../five/type-aliases/EventTypes.md)\[`K`\]\>
|
|
926
|
-
|
|
927
|
-
事件回调函数
|
|
928
|
-
|
|
929
|
-
#### Returns
|
|
930
|
-
|
|
931
|
-
`void`
|
|
932
|
-
|
|
933
|
-
#### Inherited from
|
|
934
|
-
|
|
935
|
-
[`Subscribe`](../../five/classes/Subscribe.md).[`off`](../../five/classes/Subscribe.md#off)
|
|
936
|
-
|
|
937
|
-
***
|
|
938
|
-
|
|
939
|
-
### on()
|
|
940
|
-
|
|
941
|
-
> **on**\<`K`\>(`name`, `callback`, `once?`): () => `void`
|
|
942
|
-
|
|
943
|
-
Defined in: lib/five/utils/subscribe.ts:58
|
|
944
|
-
|
|
945
|
-
注册事件
|
|
946
|
-
|
|
947
|
-
#### Type Parameters
|
|
948
|
-
|
|
949
|
-
##### K
|
|
950
|
-
|
|
951
|
-
`K` *extends* `"dispose"` \| `"error"` \| `"render"` \| `"gesture.pan"` \| `"gesture.tap"` \| `"gesture.dbltap"` \| `"gesture.press"` \| `"gesture.pinch"` \| `"gesture.mousewheel"` \| `"gesture.mousemove"` \| `"gesture.momentum"` \| `"initAnimation.start"` \| `"initAnimation.end"` \| `"camera.update"` \| `"intersect.update"` \| `"pano.select"` \| `"pano.request"` \| `"pano.moveTo"` \| `"pano.moving"` \| `"pano.arrived"` \| `"pano.cancel"` \| `"pano.error"` \| `"pano.texture.load"` \| `"pano.texture.progress"` \| `"pano.texture.success"` \| `"pano.texture.error"` \| `"pano.texture.abort"` \| `"xr.session.end"` \| `"xr.session.start"` \| `"xr.gesture.tap"` \| `"xr.gesture.press"` \| `"xr.gesture.buttonUp"` \| `"xr.gesture.buttonDown"` \| `"xr.controller.update"` \| keyof LegacyEventType \| `"works.request"` \| `"works.load"` \| `"works.ready"` \| `"state.set"` \| `"state.change"` \| `"state.synced"` \| `"currentState.change"` \| `"model.request"` \| `"model.load"` \| `"model.error"` \| `"model.changeShownFloor"` \| `"models.load"` \| `"models.refined"` \| `"render.prepare"` \| `"mode.change.request"` \| `"mode.change"` \| `"helpers.visible"` \| `"network.resource"` \| `"fps"`
|
|
952
|
-
|
|
953
|
-
预设的监听事件名称
|
|
954
|
-
|
|
955
|
-
#### Parameters
|
|
956
|
-
|
|
957
|
-
##### name
|
|
958
|
-
|
|
959
|
-
`K`
|
|
960
|
-
|
|
961
|
-
事件类型
|
|
962
|
-
|
|
963
|
-
##### callback
|
|
964
|
-
|
|
965
|
-
(...`args`) => `ReturnType`\<[`EventTypes`](../../five/type-aliases/EventTypes.md)\[`K`\]\>
|
|
966
|
-
|
|
967
|
-
事件回调函数
|
|
968
|
-
|
|
969
|
-
##### once?
|
|
970
|
-
|
|
971
|
-
`boolean`
|
|
972
|
-
|
|
973
|
-
是否只执行一次
|
|
974
|
-
|
|
975
|
-
#### Returns
|
|
976
|
-
|
|
977
|
-
解除事件
|
|
978
|
-
|
|
979
|
-
> (): `void`
|
|
980
|
-
|
|
981
|
-
##### Returns
|
|
982
|
-
|
|
983
|
-
`void`
|
|
984
|
-
|
|
985
|
-
#### Inherited from
|
|
986
|
-
|
|
987
|
-
[`Subscribe`](../../five/classes/Subscribe.md).[`on`](../../five/classes/Subscribe.md#on)
|
|
988
|
-
|
|
989
|
-
***
|
|
990
|
-
|
|
991
|
-
### once()
|
|
992
|
-
|
|
993
|
-
> **once**\<`K`\>(`name`, `callback`): () => `void`
|
|
994
|
-
|
|
995
|
-
Defined in: lib/five/utils/subscribe.ts:81
|
|
996
|
-
|
|
997
|
-
注册事件(是否只执行一次)
|
|
998
|
-
|
|
999
|
-
#### Type Parameters
|
|
1000
|
-
|
|
1001
|
-
##### K
|
|
1002
|
-
|
|
1003
|
-
`K` *extends* `"dispose"` \| `"error"` \| `"render"` \| `"gesture.pan"` \| `"gesture.tap"` \| `"gesture.dbltap"` \| `"gesture.press"` \| `"gesture.pinch"` \| `"gesture.mousewheel"` \| `"gesture.mousemove"` \| `"gesture.momentum"` \| `"initAnimation.start"` \| `"initAnimation.end"` \| `"camera.update"` \| `"intersect.update"` \| `"pano.select"` \| `"pano.request"` \| `"pano.moveTo"` \| `"pano.moving"` \| `"pano.arrived"` \| `"pano.cancel"` \| `"pano.error"` \| `"pano.texture.load"` \| `"pano.texture.progress"` \| `"pano.texture.success"` \| `"pano.texture.error"` \| `"pano.texture.abort"` \| `"xr.session.end"` \| `"xr.session.start"` \| `"xr.gesture.tap"` \| `"xr.gesture.press"` \| `"xr.gesture.buttonUp"` \| `"xr.gesture.buttonDown"` \| `"xr.controller.update"` \| keyof LegacyEventType \| `"works.request"` \| `"works.load"` \| `"works.ready"` \| `"state.set"` \| `"state.change"` \| `"state.synced"` \| `"currentState.change"` \| `"model.request"` \| `"model.load"` \| `"model.error"` \| `"model.changeShownFloor"` \| `"models.load"` \| `"models.refined"` \| `"render.prepare"` \| `"mode.change.request"` \| `"mode.change"` \| `"helpers.visible"` \| `"network.resource"` \| `"fps"`
|
|
1004
|
-
|
|
1005
|
-
预设的监听事件名称
|
|
1006
|
-
|
|
1007
|
-
#### Parameters
|
|
1008
|
-
|
|
1009
|
-
##### name
|
|
1010
|
-
|
|
1011
|
-
`K`
|
|
1012
|
-
|
|
1013
|
-
事件类型
|
|
1014
|
-
|
|
1015
|
-
##### callback
|
|
1016
|
-
|
|
1017
|
-
(...`args`) => `ReturnType`\<[`EventTypes`](../../five/type-aliases/EventTypes.md)\[`K`\]\>
|
|
1018
|
-
|
|
1019
|
-
事件回调函数
|
|
1020
|
-
|
|
1021
|
-
#### Returns
|
|
1022
|
-
|
|
1023
|
-
解除事件
|
|
1024
|
-
|
|
1025
|
-
> (): `void`
|
|
1026
|
-
|
|
1027
|
-
##### Returns
|
|
1028
|
-
|
|
1029
|
-
`void`
|
|
1030
|
-
|
|
1031
|
-
#### Inherited from
|
|
1032
|
-
|
|
1033
|
-
[`Subscribe`](../../five/classes/Subscribe.md).[`once`](../../five/classes/Subscribe.md#once)
|
|
1034
|
-
|
|
1035
|
-
***
|
|
1036
|
-
|
|
1037
|
-
### waitUntil()
|
|
1038
|
-
|
|
1039
|
-
> **waitUntil**\<`K`\>(`name`, `filter?`): `Promise`\<`Parameters`\<[`EventTypes`](../../five/type-aliases/EventTypes.md)\[`K`\]\>\>
|
|
1040
|
-
|
|
1041
|
-
Defined in: lib/five/utils/subscribe.ts:155
|
|
1042
|
-
|
|
1043
|
-
等待事件
|
|
1044
|
-
|
|
1045
|
-
#### Type Parameters
|
|
1046
|
-
|
|
1047
|
-
##### K
|
|
1048
|
-
|
|
1049
|
-
`K` *extends* `"dispose"` \| `"error"` \| `"render"` \| `"gesture.pan"` \| `"gesture.tap"` \| `"gesture.dbltap"` \| `"gesture.press"` \| `"gesture.pinch"` \| `"gesture.mousewheel"` \| `"gesture.mousemove"` \| `"gesture.momentum"` \| `"initAnimation.start"` \| `"initAnimation.end"` \| `"camera.update"` \| `"intersect.update"` \| `"pano.select"` \| `"pano.request"` \| `"pano.moveTo"` \| `"pano.moving"` \| `"pano.arrived"` \| `"pano.cancel"` \| `"pano.error"` \| `"pano.texture.load"` \| `"pano.texture.progress"` \| `"pano.texture.success"` \| `"pano.texture.error"` \| `"pano.texture.abort"` \| `"xr.session.end"` \| `"xr.session.start"` \| `"xr.gesture.tap"` \| `"xr.gesture.press"` \| `"xr.gesture.buttonUp"` \| `"xr.gesture.buttonDown"` \| `"xr.controller.update"` \| keyof LegacyEventType \| `"works.request"` \| `"works.load"` \| `"works.ready"` \| `"state.set"` \| `"state.change"` \| `"state.synced"` \| `"currentState.change"` \| `"model.request"` \| `"model.load"` \| `"model.error"` \| `"model.changeShownFloor"` \| `"models.load"` \| `"models.refined"` \| `"render.prepare"` \| `"mode.change.request"` \| `"mode.change"` \| `"helpers.visible"` \| `"network.resource"` \| `"fps"`
|
|
1050
|
-
|
|
1051
|
-
预设的监听事件名称
|
|
1052
|
-
|
|
1053
|
-
#### Parameters
|
|
1054
|
-
|
|
1055
|
-
##### name
|
|
1056
|
-
|
|
1057
|
-
`K`
|
|
1058
|
-
|
|
1059
|
-
事件类型
|
|
1060
|
-
|
|
1061
|
-
##### filter?
|
|
1062
|
-
|
|
1063
|
-
(...`args`) => `boolean` \| `void`
|
|
1064
|
-
|
|
1065
|
-
事件类型
|
|
1066
|
-
|
|
1067
|
-
#### Returns
|
|
1068
|
-
|
|
1069
|
-
`Promise`\<`Parameters`\<[`EventTypes`](../../five/type-aliases/EventTypes.md)\[`K`\]\>\>
|
|
1070
|
-
|
|
1071
|
-
触发事件的数据
|
|
1072
|
-
|
|
1073
|
-
#### Inherited from
|
|
1074
|
-
|
|
1075
|
-
[`Subscribe`](../../five/classes/Subscribe.md).[`waitUntil`](../../five/classes/Subscribe.md#waituntil)
|