@realsee/five 6.8.0-alpha.1 → 6.8.0-alpha.10
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 +6384 -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
|
@@ -0,0 +1,600 @@
|
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>features/load-external-model | 如视 Five SDK</title><meta name="description" content="Documentation for 如视 Five SDK"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script><script async src="../assets/hierarchy.js" id="tsd-hierarchy-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><a href="../index.html" class="title">如视 Five SDK</a><div id="tsd-toolbar-links"></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/><ul role="listbox" id="tsd-search-results"></ul><div id="tsd-search-status" aria-live="polite" aria-atomic="true"><div>Preparing search index...</div></div></dialog><a href="#" class="tsd-widget menu" id="tsd-toolbar-menu-trigger" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb" aria-label="Breadcrumb"><li><a href="" aria-current="page">features/load-external-model</a></li></ul></div><div class="tsd-panel tsd-typography"><h1 id="加载外部模型-load-external-models" class="tsd-anchor-link">加载外部模型 (Load External Models)<a href="#加载外部模型-load-external-models" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h1>
|
|
2
|
+
<ul>
|
|
3
|
+
<li><strong>Summary</strong>: 提供了一系列独立的加载函数 (<code>loadGltf</code>, <code>loadPly</code>, <code>loadFbx</code> 等),用于加载各种格式的外部 3D 模型(如 .glb, .ply, .splat, .fbx),并将其转换为 Three.js 对象以便添加到 Five 场景中。</li>
|
|
4
|
+
<li><strong>Schema</strong>: 涉及 <code>LoadResultType</code> 返回结构及各加载器的配置项 (<code>LoaderOptions</code>)。</li>
|
|
5
|
+
<li><strong>Concepts</strong>: 独立加载函数、坐标系转换 (UpAxis)、资源销毁 (Dispose)、Fetcher。</li>
|
|
6
|
+
<li><strong>Configuration</strong>: <code>modelUpAxis</code>, <code>upAxis</code>, <code>fetcher</code> 等通用及特定配置。</li>
|
|
7
|
+
<li><strong>Examples</strong>: 加载 GLTF 模型、加载高斯泼溅 (Gaussian Splat)、加载点云。</li>
|
|
8
|
+
</ul>
|
|
9
|
+
<h2 id="schema" class="tsd-anchor-link">Schema<a href="#schema" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h2>
|
|
10
|
+
<blockquote>
|
|
11
|
+
<p><strong>Definition</strong>: <a href="../../five/model/loaders/shared.d.ts">LoadResultType</a></p>
|
|
12
|
+
</blockquote>
|
|
13
|
+
<p>所有加载函数均返回 <code>Promise<LoadResultType></code>。</p>
|
|
14
|
+
<pre><code class="typescript"><span class="hl-8">// 通用返回类型</span><br/><span class="hl-10">export</span><span class="hl-1"> </span><span class="hl-3">type</span><span class="hl-1"> </span><span class="hl-7">LoadResultType</span><span class="hl-1"><</span><span class="hl-7">Scene</span><span class="hl-1"> = </span><span class="hl-7">THREE</span><span class="hl-1">.</span><span class="hl-7">Object3D</span><span class="hl-1">> = {</span><br/><span class="hl-1"> </span><span class="hl-6">type</span><span class="hl-1">: </span><span class="hl-9">'gltf'</span><span class="hl-1"> | </span><span class="hl-9">'obj'</span><span class="hl-1"> | </span><span class="hl-9">'ply'</span><span class="hl-1"> | </span><span class="hl-9">'fbx'</span><span class="hl-1"> | </span><span class="hl-9">'pbm'</span><span class="hl-1"> | </span><span class="hl-9">'splat'</span><span class="hl-1"> | </span><span class="hl-9">'spz'</span><span class="hl-1"> | </span><span class="hl-9">'b3dm'</span><span class="hl-1"> | </span><span class="hl-9">'pnts'</span><span class="hl-1"> | </span><span class="hl-9">'at3d'</span><span class="hl-1"> | </span><span class="hl-9">'dome'</span><span class="hl-1"> | </span><span class="hl-9">'domez'</span><span class="hl-1"> | </span><span class="hl-9">'x3p'</span><span class="hl-1">; </span><span class="hl-8">// 模型类型</span><br/><span class="hl-1"> </span><span class="hl-6">modelUpAxis</span><span class="hl-1">: </span><span class="hl-9">'Y'</span><span class="hl-1"> | </span><span class="hl-9">'Z'</span><span class="hl-1">; </span><span class="hl-8">// 原始模型的上轴</span><br/><span class="hl-1"> </span><span class="hl-6">upAxis</span><span class="hl-1">: </span><span class="hl-9">'Y'</span><span class="hl-1"> | </span><span class="hl-9">'Z'</span><span class="hl-1">; </span><span class="hl-8">// 输出模型的上轴 (通常为 Z)</span><br/><span class="hl-1"> </span><span class="hl-6">byteLength</span><span class="hl-1">: </span><span class="hl-7">number</span><span class="hl-1">; </span><span class="hl-8">// 文件字节大小</span><br/><span class="hl-1"> </span><span class="hl-6">memoryUsage</span><span class="hl-1">: </span><span class="hl-7">number</span><span class="hl-1">; </span><span class="hl-8">// 显存/内存占用估算</span><br/><span class="hl-1"> </span><span class="hl-6">uri</span><span class="hl-1">: </span><span class="hl-7">string</span><span class="hl-1">; </span><span class="hl-8">// 模型地址</span><br/><span class="hl-1"> </span><span class="hl-6">scene</span><span class="hl-1">: </span><span class="hl-7">Scene</span><span class="hl-1">; </span><span class="hl-8">// Three.js 对象 (Group 或 Object3D),可直接添加到场景</span><br/><span class="hl-1"> </span><span class="hl-6">textures</span><span class="hl-1">: </span><span class="hl-7">THREE</span><span class="hl-1">.</span><span class="hl-7">Texture</span><span class="hl-1">[]; </span><span class="hl-8">// 加载的纹理列表</span><br/><span class="hl-1"> </span><span class="hl-6">animations</span><span class="hl-1">: </span><span class="hl-7">THREE</span><span class="hl-1">.</span><span class="hl-7">AnimationClip</span><span class="hl-1">[]; </span><span class="hl-8">// 动画剪辑列表</span><br/><span class="hl-1"> </span><span class="hl-6">rtcCenter</span><span class="hl-1">?: </span><span class="hl-7">THREE</span><span class="hl-1">.</span><span class="hl-7">Vector3</span><span class="hl-1">; </span><span class="hl-8">// 若存在 RTC (Relative To Center) 坐标偏移</span><br/><span class="hl-1"> </span><span class="hl-5">dispose</span><span class="hl-1">: () </span><span class="hl-3">=></span><span class="hl-1"> </span><span class="hl-7">void</span><span class="hl-1">; </span><span class="hl-8">// 销毁资源函数</span><br/><span class="hl-1">}</span><br/><br/><span class="hl-8">// 通用配置项接口</span><br/><span class="hl-3">interface</span><span class="hl-1"> </span><span class="hl-7">BaseLoaderOptions</span><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-6">upAxis</span><span class="hl-1">?: </span><span class="hl-9">'Y'</span><span class="hl-1"> | </span><span class="hl-9">'Z'</span><span class="hl-1">; </span><span class="hl-8">// 期望输出的上轴,默认为 'Z' (Five 坐标系)</span><br/><span class="hl-1"> </span><span class="hl-6">modelUpAxis</span><span class="hl-1">?: </span><span class="hl-9">'Y'</span><span class="hl-1"> | </span><span class="hl-9">'Z'</span><span class="hl-1">; </span><span class="hl-8">// (部分加载器支持) 原始模型的上轴,用于自动旋转修正</span><br/><span class="hl-1"> </span><span class="hl-6">fetcher</span><span class="hl-1">?: </span><span class="hl-7">Fetcher</span><span class="hl-1">; </span><span class="hl-8">// 自定义网络请求 Fetcher</span><br/><span class="hl-1"> </span><span class="hl-6">light</span><span class="hl-1">?: </span><span class="hl-7">boolean</span><span class="hl-1">; </span><span class="hl-8">// 是否使用简化/无光照材质 (取决于加载器实现)</span><br/><span class="hl-1"> </span><span class="hl-5">onDownloadProgress</span><span class="hl-1">?: (</span><span class="hl-6">progress</span><span class="hl-1">: { </span><span class="hl-6">loaded</span><span class="hl-1">: </span><span class="hl-7">number</span><span class="hl-1">, </span><span class="hl-6">total</span><span class="hl-1">: </span><span class="hl-7">number</span><span class="hl-1"> }) </span><span class="hl-3">=></span><span class="hl-1"> </span><span class="hl-7">void</span><span class="hl-1">; </span><span class="hl-8">// 下载进度回调</span><br/><span class="hl-1">}</span>
|
|
15
|
+
</code><button type="button">Copy</button></pre>
|
|
16
|
+
|
|
17
|
+
<h2 id="concepts" class="tsd-anchor-link">Concepts<a href="#concepts" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h2>
|
|
18
|
+
<h3 id="独立加载函数-standalone-functions" class="tsd-anchor-link">独立加载函数 (Standalone Functions)<a href="#独立加载函数-standalone-functions" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
19
|
+
<p>这些加载函数(如 <code>loadGltf</code>, <code>loadPly</code>)是 <code>@realsee/five</code> 包导出的<strong>独立函数</strong>,而非 <code>Five</code> 实例的方法。你需要单独引入它们使用。</p>
|
|
20
|
+
<h3 id="坐标系转换-up-axis-conversion" class="tsd-anchor-link">坐标系转换 (Up-Axis Conversion)<a href="#坐标系转换-up-axis-conversion" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
21
|
+
<p>Five 使用 <strong>Z-up</strong> (Z 轴向上) 的右手坐标系。
|
|
22
|
+
许多外部模型(如 standard GLTF, FBX)通常是 <strong>Y-up</strong> 的。
|
|
23
|
+
加载器提供了 <code>upAxis</code> 和 <code>modelUpAxis</code> 选项来自动处理旋转:</p>
|
|
24
|
+
<ul>
|
|
25
|
+
<li><code>upAxis</code>: 你期望得到的结果坐标系上轴(通常保持默认 'Z')。</li>
|
|
26
|
+
<li><code>modelUpAxis</code>: 原始文件的上轴(如 GLTF 默认为 'Y',PLY 默认为 'Z')。
|
|
27
|
+
如果不指定,加载器会尝试使用合理的默认值将模型旋转到 Z 轴向上。</li>
|
|
28
|
+
</ul>
|
|
29
|
+
<h3 id="资源销毁-disposal" class="tsd-anchor-link">资源销毁 (Disposal)<a href="#资源销毁-disposal" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
30
|
+
<p>加载的模型包含 Geometry、Material 和 Texture 等 WebGL 资源。当你不再需要该模型时(例如切换场景或移除物体),<strong>必须</strong>调用返回结果中的 <code>dispose()</code> 方法来释放内存,否则会导致内存泄漏。</p>
|
|
31
|
+
<h3 id="fetcher" class="tsd-anchor-link">Fetcher<a href="#fetcher" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
32
|
+
<p>所有加载器支持传入自定义 <code>fetcher</code>。这在需要鉴权、自定义 Header 或处理特定 CDN 逻辑时非常有用。如果不传,默认使用内部的 <code>internalFetcher</code>。</p>
|
|
33
|
+
<h2 id="configuration" class="tsd-anchor-link">Configuration<a href="#configuration" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h2>
|
|
34
|
+
<h3 id="loadgltf" class="tsd-anchor-link">loadGltf<a href="#loadgltf" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
35
|
+
<p>加载 <code>.gltf</code> 或 <code>.glb</code> 文件。支持 Draco 压缩。
|
|
36
|
+
支持扩展:</p>
|
|
37
|
+
<ul>
|
|
38
|
+
<li><code>KHR_binary_glTF</code></li>
|
|
39
|
+
<li><code>KHR_draco_mesh_compression</code></li>
|
|
40
|
+
<li><code>KHR_texture_basisu</code></li>
|
|
41
|
+
<li><code>KHR_texture_transform</code></li>
|
|
42
|
+
<li><code>KHR_mesh_quantization</code></li>
|
|
43
|
+
<li><code>KHR_materials_unlit</code></li>
|
|
44
|
+
<li><code>KHR_node_visibility</code></li>
|
|
45
|
+
<li><code>KHR_animation_pointer</code></li>
|
|
46
|
+
<li><code>EXT_meshopt_compression</code></li>
|
|
47
|
+
<li><code>KHR_materials_clearcoat</code></li>
|
|
48
|
+
<li><code>KHR_materials_sheen</code></li>
|
|
49
|
+
<li><code>KHR_materials_transmission</code></li>
|
|
50
|
+
<li><code>KHR_materials_emissive_strength</code></li>
|
|
51
|
+
<li><code>EXT_texture_webp</code></li>
|
|
52
|
+
<li><code>CESIUM_RTC</code></li>
|
|
53
|
+
<li><code>REALSEE_materials_lightmap</code></li>
|
|
54
|
+
<li><code>KHR_gaussian_splatting_compression_spz</code></li>
|
|
55
|
+
</ul>
|
|
56
|
+
<table>
|
|
57
|
+
<thead>
|
|
58
|
+
<tr>
|
|
59
|
+
<th>参数</th>
|
|
60
|
+
<th>类型</th>
|
|
61
|
+
<th>默认值</th>
|
|
62
|
+
<th>说明</th>
|
|
63
|
+
</tr>
|
|
64
|
+
</thead>
|
|
65
|
+
<tbody>
|
|
66
|
+
<tr>
|
|
67
|
+
<td><code>modelUpAxis</code></td>
|
|
68
|
+
<td>`'Y'</td>
|
|
69
|
+
<td>'Z'`</td>
|
|
70
|
+
<td><code>'Y'</code></td>
|
|
71
|
+
</tr>
|
|
72
|
+
<tr>
|
|
73
|
+
<td><code>upAxis</code></td>
|
|
74
|
+
<td>`'Y'</td>
|
|
75
|
+
<td>'Z'`</td>
|
|
76
|
+
<td><code>'Z'</code></td>
|
|
77
|
+
</tr>
|
|
78
|
+
<tr>
|
|
79
|
+
<td><code>light</code></td>
|
|
80
|
+
<td><code>boolean</code></td>
|
|
81
|
+
<td><code>undefined</code></td>
|
|
82
|
+
<td>是否强制使用 Unlit 材质或移除光照扩展。</td>
|
|
83
|
+
</tr>
|
|
84
|
+
<tr>
|
|
85
|
+
<td><code>fetcher</code></td>
|
|
86
|
+
<td><code>Fetcher</code></td>
|
|
87
|
+
<td>-</td>
|
|
88
|
+
<td>自定义 Fetcher。</td>
|
|
89
|
+
</tr>
|
|
90
|
+
</tbody>
|
|
91
|
+
</table>
|
|
92
|
+
<h3 id="loadply" class="tsd-anchor-link">loadPly<a href="#loadply" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
93
|
+
<p>加载 <code>.ply</code> 文件。支持网格、线框、点云及 PBM 扩展格式。</p>
|
|
94
|
+
<table>
|
|
95
|
+
<thead>
|
|
96
|
+
<tr>
|
|
97
|
+
<th>参数</th>
|
|
98
|
+
<th>类型</th>
|
|
99
|
+
<th>默认值</th>
|
|
100
|
+
<th>说明</th>
|
|
101
|
+
</tr>
|
|
102
|
+
</thead>
|
|
103
|
+
<tbody>
|
|
104
|
+
<tr>
|
|
105
|
+
<td><code>type</code></td>
|
|
106
|
+
<td>`'geometry'</td>
|
|
107
|
+
<td>'line'</td>
|
|
108
|
+
<td>'pbmMesh'</td>
|
|
109
|
+
</tr>
|
|
110
|
+
<tr>
|
|
111
|
+
<td><code>customPropertyMapping</code></td>
|
|
112
|
+
<td><code>Object</code></td>
|
|
113
|
+
<td>-</td>
|
|
114
|
+
<td>自定义属性映射(用于解析非标准 PLY 属性)。</td>
|
|
115
|
+
</tr>
|
|
116
|
+
<tr>
|
|
117
|
+
<td><code>propertyNameMapping</code></td>
|
|
118
|
+
<td><code>Object</code></td>
|
|
119
|
+
<td>-</td>
|
|
120
|
+
<td>属性名重映射 (e.g. <code>{'diffuse_red': 'red'}</code>)。</td>
|
|
121
|
+
</tr>
|
|
122
|
+
<tr>
|
|
123
|
+
<td><code>modelUpAxis</code></td>
|
|
124
|
+
<td>`'Y'</td>
|
|
125
|
+
<td>'Z'`</td>
|
|
126
|
+
<td><code>'Z'</code></td>
|
|
127
|
+
</tr>
|
|
128
|
+
<tr>
|
|
129
|
+
<td><code>upAxis</code></td>
|
|
130
|
+
<td>`'Y'</td>
|
|
131
|
+
<td>'Z'`</td>
|
|
132
|
+
<td><code>'Z'</code></td>
|
|
133
|
+
</tr>
|
|
134
|
+
<tr>
|
|
135
|
+
<td><code>light</code></td>
|
|
136
|
+
<td><code>boolean</code></td>
|
|
137
|
+
<td><code>undefined</code></td>
|
|
138
|
+
<td>是否使用简化材质。</td>
|
|
139
|
+
</tr>
|
|
140
|
+
<tr>
|
|
141
|
+
<td><code>fetcher</code></td>
|
|
142
|
+
<td><code>Fetcher</code></td>
|
|
143
|
+
<td>-</td>
|
|
144
|
+
<td>自定义 Fetcher。</td>
|
|
145
|
+
</tr>
|
|
146
|
+
</tbody>
|
|
147
|
+
</table>
|
|
148
|
+
<h3 id="loadsplat" class="tsd-anchor-link">loadSplat<a href="#loadsplat" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
149
|
+
<p>加载 <code>.splat</code> 格式的高斯泼溅 (Gaussian Splat) 模型。</p>
|
|
150
|
+
<table>
|
|
151
|
+
<thead>
|
|
152
|
+
<tr>
|
|
153
|
+
<th>参数</th>
|
|
154
|
+
<th>类型</th>
|
|
155
|
+
<th>默认值</th>
|
|
156
|
+
<th>说明</th>
|
|
157
|
+
</tr>
|
|
158
|
+
</thead>
|
|
159
|
+
<tbody>
|
|
160
|
+
<tr>
|
|
161
|
+
<td><code>modelUpAxis</code></td>
|
|
162
|
+
<td>`'Y'</td>
|
|
163
|
+
<td>'Z'`</td>
|
|
164
|
+
<td><code>'Y'</code></td>
|
|
165
|
+
</tr>
|
|
166
|
+
<tr>
|
|
167
|
+
<td><code>upAxis</code></td>
|
|
168
|
+
<td>`'Y'</td>
|
|
169
|
+
<td>'Z'`</td>
|
|
170
|
+
<td><code>'Z'</code></td>
|
|
171
|
+
</tr>
|
|
172
|
+
<tr>
|
|
173
|
+
<td><code>fetcher</code></td>
|
|
174
|
+
<td><code>Fetcher</code></td>
|
|
175
|
+
<td>-</td>
|
|
176
|
+
<td>自定义 Fetcher。</td>
|
|
177
|
+
</tr>
|
|
178
|
+
</tbody>
|
|
179
|
+
</table>
|
|
180
|
+
<h3 id="loadspz" class="tsd-anchor-link">loadSpz<a href="#loadspz" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
181
|
+
<p>加载 <code>.spz</code> 格式的高斯泼溅 (Gaussian Splat) 模型。<code>.spz</code> 是对 <code>.splat</code> 的压缩格式。</p>
|
|
182
|
+
<table>
|
|
183
|
+
<thead>
|
|
184
|
+
<tr>
|
|
185
|
+
<th>参数</th>
|
|
186
|
+
<th>类型</th>
|
|
187
|
+
<th>默认值</th>
|
|
188
|
+
<th>说明</th>
|
|
189
|
+
</tr>
|
|
190
|
+
</thead>
|
|
191
|
+
<tbody>
|
|
192
|
+
<tr>
|
|
193
|
+
<td><code>modelUpAxis</code></td>
|
|
194
|
+
<td>`'Y'</td>
|
|
195
|
+
<td>'Z'`</td>
|
|
196
|
+
<td><code>'Y'</code></td>
|
|
197
|
+
</tr>
|
|
198
|
+
<tr>
|
|
199
|
+
<td><code>upAxis</code></td>
|
|
200
|
+
<td>`'Y'</td>
|
|
201
|
+
<td>'Z'`</td>
|
|
202
|
+
<td><code>'Z'</code></td>
|
|
203
|
+
</tr>
|
|
204
|
+
<tr>
|
|
205
|
+
<td><code>fetcher</code></td>
|
|
206
|
+
<td><code>Fetcher</code></td>
|
|
207
|
+
<td>-</td>
|
|
208
|
+
<td>自定义 Fetcher。</td>
|
|
209
|
+
</tr>
|
|
210
|
+
</tbody>
|
|
211
|
+
</table>
|
|
212
|
+
<h3 id="loadfbx" class="tsd-anchor-link">loadFbx<a href="#loadfbx" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
213
|
+
<p>加载 <code>.fbx</code> 文件。</p>
|
|
214
|
+
<table>
|
|
215
|
+
<thead>
|
|
216
|
+
<tr>
|
|
217
|
+
<th>参数</th>
|
|
218
|
+
<th>类型</th>
|
|
219
|
+
<th>默认值</th>
|
|
220
|
+
<th>说明</th>
|
|
221
|
+
</tr>
|
|
222
|
+
</thead>
|
|
223
|
+
<tbody>
|
|
224
|
+
<tr>
|
|
225
|
+
<td><code>upAxis</code></td>
|
|
226
|
+
<td>`'Y'</td>
|
|
227
|
+
<td>'Z'`</td>
|
|
228
|
+
<td><code>'Z'</code></td>
|
|
229
|
+
</tr>
|
|
230
|
+
<tr>
|
|
231
|
+
<td><code>light</code></td>
|
|
232
|
+
<td><code>boolean</code></td>
|
|
233
|
+
<td><code>undefined</code></td>
|
|
234
|
+
<td>是否使用简化材质。</td>
|
|
235
|
+
</tr>
|
|
236
|
+
<tr>
|
|
237
|
+
<td><code>fetcher</code></td>
|
|
238
|
+
<td><code>Fetcher</code></td>
|
|
239
|
+
<td>-</td>
|
|
240
|
+
<td>自定义 Fetcher。</td>
|
|
241
|
+
</tr>
|
|
242
|
+
</tbody>
|
|
243
|
+
</table>
|
|
244
|
+
<h3 id="loadobj" class="tsd-anchor-link">loadObj<a href="#loadobj" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
245
|
+
<p>加载 <code>.obj</code> 文件。会自动尝试加载同目录下的 <code>.mtl</code> 材质文件。</p>
|
|
246
|
+
<table>
|
|
247
|
+
<thead>
|
|
248
|
+
<tr>
|
|
249
|
+
<th>参数</th>
|
|
250
|
+
<th>类型</th>
|
|
251
|
+
<th>默认值</th>
|
|
252
|
+
<th>说明</th>
|
|
253
|
+
</tr>
|
|
254
|
+
</thead>
|
|
255
|
+
<tbody>
|
|
256
|
+
<tr>
|
|
257
|
+
<td><code>modelUpAxis</code></td>
|
|
258
|
+
<td>`'Y'</td>
|
|
259
|
+
<td>'Z'`</td>
|
|
260
|
+
<td><code>'Z'</code></td>
|
|
261
|
+
</tr>
|
|
262
|
+
<tr>
|
|
263
|
+
<td><code>upAxis</code></td>
|
|
264
|
+
<td>`'Y'</td>
|
|
265
|
+
<td>'Z'`</td>
|
|
266
|
+
<td><code>'Z'</code></td>
|
|
267
|
+
</tr>
|
|
268
|
+
<tr>
|
|
269
|
+
<td><code>light</code></td>
|
|
270
|
+
<td><code>boolean</code></td>
|
|
271
|
+
<td><code>undefined</code></td>
|
|
272
|
+
<td>是否使用简化材质。</td>
|
|
273
|
+
</tr>
|
|
274
|
+
<tr>
|
|
275
|
+
<td><code>fetcher</code></td>
|
|
276
|
+
<td><code>Fetcher</code></td>
|
|
277
|
+
<td>-</td>
|
|
278
|
+
<td>自定义 Fetcher。</td>
|
|
279
|
+
</tr>
|
|
280
|
+
</tbody>
|
|
281
|
+
</table>
|
|
282
|
+
<h3 id="loadpbm" class="tsd-anchor-link">loadPbm<a href="#loadpbm" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
283
|
+
<p>加载 Realsee 私有 PBM 格式。</p>
|
|
284
|
+
<table>
|
|
285
|
+
<thead>
|
|
286
|
+
<tr>
|
|
287
|
+
<th>参数</th>
|
|
288
|
+
<th>类型</th>
|
|
289
|
+
<th>默认值</th>
|
|
290
|
+
<th>说明</th>
|
|
291
|
+
</tr>
|
|
292
|
+
</thead>
|
|
293
|
+
<tbody>
|
|
294
|
+
<tr>
|
|
295
|
+
<td><code>upAxis</code></td>
|
|
296
|
+
<td>`'Y'</td>
|
|
297
|
+
<td>'Z'`</td>
|
|
298
|
+
<td><code>'Z'</code></td>
|
|
299
|
+
</tr>
|
|
300
|
+
<tr>
|
|
301
|
+
<td><code>light</code></td>
|
|
302
|
+
<td><code>boolean</code></td>
|
|
303
|
+
<td><code>false</code></td>
|
|
304
|
+
<td>是否使用简化材质。</td>
|
|
305
|
+
</tr>
|
|
306
|
+
<tr>
|
|
307
|
+
<td><code>textureBaseUri</code></td>
|
|
308
|
+
<td><code>string</code></td>
|
|
309
|
+
<td>自动推断</td>
|
|
310
|
+
<td>纹理的基础路径。</td>
|
|
311
|
+
</tr>
|
|
312
|
+
<tr>
|
|
313
|
+
<td><code>textureArray</code></td>
|
|
314
|
+
<td><code>string[]</code></td>
|
|
315
|
+
<td>-</td>
|
|
316
|
+
<td>纹理路径列表。</td>
|
|
317
|
+
</tr>
|
|
318
|
+
<tr>
|
|
319
|
+
<td><code>textureOptions</code></td>
|
|
320
|
+
<td><code>TextureOptions</code></td>
|
|
321
|
+
<td>-</td>
|
|
322
|
+
<td>纹理加载配置 (size, quality 等)。</td>
|
|
323
|
+
</tr>
|
|
324
|
+
<tr>
|
|
325
|
+
<td><code>fetcher</code></td>
|
|
326
|
+
<td><code>Fetcher</code></td>
|
|
327
|
+
<td>-</td>
|
|
328
|
+
<td>自定义 Fetcher。</td>
|
|
329
|
+
</tr>
|
|
330
|
+
</tbody>
|
|
331
|
+
</table>
|
|
332
|
+
<h3 id="loaddome-loaddomez" class="tsd-anchor-link">loadDome / loadDomez<a href="#loaddome-loaddomez" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
333
|
+
<p>加载 Dome 全景模型 (<code>.dome</code> 或 <code>.domez</code> 压缩格式)。</p>
|
|
334
|
+
<table>
|
|
335
|
+
<thead>
|
|
336
|
+
<tr>
|
|
337
|
+
<th>参数</th>
|
|
338
|
+
<th>类型</th>
|
|
339
|
+
<th>默认值</th>
|
|
340
|
+
<th>说明</th>
|
|
341
|
+
</tr>
|
|
342
|
+
</thead>
|
|
343
|
+
<tbody>
|
|
344
|
+
<tr>
|
|
345
|
+
<td><code>upAxis</code></td>
|
|
346
|
+
<td>`'Y'</td>
|
|
347
|
+
<td>'Z'`</td>
|
|
348
|
+
<td><code>'Z'</code></td>
|
|
349
|
+
</tr>
|
|
350
|
+
<tr>
|
|
351
|
+
<td><code>light</code></td>
|
|
352
|
+
<td><code>boolean</code></td>
|
|
353
|
+
<td><code>true</code></td>
|
|
354
|
+
<td>是否使用简化材质。</td>
|
|
355
|
+
</tr>
|
|
356
|
+
<tr>
|
|
357
|
+
<td><code>textureBaseUri</code></td>
|
|
358
|
+
<td><code>string</code></td>
|
|
359
|
+
<td>-</td>
|
|
360
|
+
<td>纹理基础路径。</td>
|
|
361
|
+
</tr>
|
|
362
|
+
<tr>
|
|
363
|
+
<td><code>textureOptions</code></td>
|
|
364
|
+
<td><code>TextureOptions</code></td>
|
|
365
|
+
<td>-</td>
|
|
366
|
+
<td>纹理加载配置。</td>
|
|
367
|
+
</tr>
|
|
368
|
+
<tr>
|
|
369
|
+
<td><code>fetcher</code></td>
|
|
370
|
+
<td><code>Fetcher</code></td>
|
|
371
|
+
<td>-</td>
|
|
372
|
+
<td>自定义 Fetcher。</td>
|
|
373
|
+
</tr>
|
|
374
|
+
</tbody>
|
|
375
|
+
</table>
|
|
376
|
+
<h3 id="loadat3d" class="tsd-anchor-link">loadAt3d<a href="#loadat3d" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
377
|
+
<p>加载 <code>.at3d</code> 格式模型。</p>
|
|
378
|
+
<table>
|
|
379
|
+
<thead>
|
|
380
|
+
<tr>
|
|
381
|
+
<th>参数</th>
|
|
382
|
+
<th>类型</th>
|
|
383
|
+
<th>默认值</th>
|
|
384
|
+
<th>说明</th>
|
|
385
|
+
</tr>
|
|
386
|
+
</thead>
|
|
387
|
+
<tbody>
|
|
388
|
+
<tr>
|
|
389
|
+
<td><code>upAxis</code></td>
|
|
390
|
+
<td>`'Y'</td>
|
|
391
|
+
<td>'Z'`</td>
|
|
392
|
+
<td><code>'Z'</code></td>
|
|
393
|
+
</tr>
|
|
394
|
+
<tr>
|
|
395
|
+
<td><code>light</code></td>
|
|
396
|
+
<td><code>boolean</code></td>
|
|
397
|
+
<td><code>false</code></td>
|
|
398
|
+
<td>是否使用简化材质。</td>
|
|
399
|
+
</tr>
|
|
400
|
+
<tr>
|
|
401
|
+
<td><code>textureBaseUri</code></td>
|
|
402
|
+
<td><code>string</code></td>
|
|
403
|
+
<td>自动推断</td>
|
|
404
|
+
<td>纹理基础路径。</td>
|
|
405
|
+
</tr>
|
|
406
|
+
<tr>
|
|
407
|
+
<td><code>textureArray</code></td>
|
|
408
|
+
<td><code>string[]</code></td>
|
|
409
|
+
<td>-</td>
|
|
410
|
+
<td>纹理路径列表。</td>
|
|
411
|
+
</tr>
|
|
412
|
+
<tr>
|
|
413
|
+
<td><code>textureOptions</code></td>
|
|
414
|
+
<td><code>TextureOptions</code></td>
|
|
415
|
+
<td>-</td>
|
|
416
|
+
<td>纹理加载配置。</td>
|
|
417
|
+
</tr>
|
|
418
|
+
<tr>
|
|
419
|
+
<td><code>fetcher</code></td>
|
|
420
|
+
<td><code>Fetcher</code></td>
|
|
421
|
+
<td>-</td>
|
|
422
|
+
<td>自定义 Fetcher。</td>
|
|
423
|
+
</tr>
|
|
424
|
+
</tbody>
|
|
425
|
+
</table>
|
|
426
|
+
<h3 id="loadb3dm" class="tsd-anchor-link">loadB3dm<a href="#loadb3dm" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
427
|
+
<p>加载 <code>.b3dm</code> (Batched 3D Model) 格式。</p>
|
|
428
|
+
<table>
|
|
429
|
+
<thead>
|
|
430
|
+
<tr>
|
|
431
|
+
<th>参数</th>
|
|
432
|
+
<th>类型</th>
|
|
433
|
+
<th>默认值</th>
|
|
434
|
+
<th>说明</th>
|
|
435
|
+
</tr>
|
|
436
|
+
</thead>
|
|
437
|
+
<tbody>
|
|
438
|
+
<tr>
|
|
439
|
+
<td><code>modelUpAxis</code></td>
|
|
440
|
+
<td>`'Y'</td>
|
|
441
|
+
<td>'Z'`</td>
|
|
442
|
+
<td><code>'Y'</code></td>
|
|
443
|
+
</tr>
|
|
444
|
+
<tr>
|
|
445
|
+
<td><code>upAxis</code></td>
|
|
446
|
+
<td>`'Y'</td>
|
|
447
|
+
<td>'Z'`</td>
|
|
448
|
+
<td><code>'Z'</code></td>
|
|
449
|
+
</tr>
|
|
450
|
+
<tr>
|
|
451
|
+
<td><code>light</code></td>
|
|
452
|
+
<td><code>boolean</code></td>
|
|
453
|
+
<td><code>undefined</code></td>
|
|
454
|
+
<td>是否使用简化材质。</td>
|
|
455
|
+
</tr>
|
|
456
|
+
<tr>
|
|
457
|
+
<td><code>fetcher</code></td>
|
|
458
|
+
<td><code>Fetcher</code></td>
|
|
459
|
+
<td>-</td>
|
|
460
|
+
<td>自定义 Fetcher。</td>
|
|
461
|
+
</tr>
|
|
462
|
+
</tbody>
|
|
463
|
+
</table>
|
|
464
|
+
<h3 id="loadpnts" class="tsd-anchor-link">loadPnts<a href="#loadpnts" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
465
|
+
<p>加载 <code>.pnts</code> (Point Cloud) 格式。</p>
|
|
466
|
+
<table>
|
|
467
|
+
<thead>
|
|
468
|
+
<tr>
|
|
469
|
+
<th>参数</th>
|
|
470
|
+
<th>类型</th>
|
|
471
|
+
<th>默认值</th>
|
|
472
|
+
<th>说明</th>
|
|
473
|
+
</tr>
|
|
474
|
+
</thead>
|
|
475
|
+
<tbody>
|
|
476
|
+
<tr>
|
|
477
|
+
<td><code>upAxis</code></td>
|
|
478
|
+
<td>`'Y'</td>
|
|
479
|
+
<td>'Z'`</td>
|
|
480
|
+
<td><code>'Z'</code></td>
|
|
481
|
+
</tr>
|
|
482
|
+
<tr>
|
|
483
|
+
<td><code>computeBoundingBox</code></td>
|
|
484
|
+
<td><code>boolean</code></td>
|
|
485
|
+
<td><code>true</code></td>
|
|
486
|
+
<td>是否计算包围盒。</td>
|
|
487
|
+
</tr>
|
|
488
|
+
<tr>
|
|
489
|
+
<td><code>fetcher</code></td>
|
|
490
|
+
<td><code>Fetcher</code></td>
|
|
491
|
+
<td>-</td>
|
|
492
|
+
<td>自定义 Fetcher。</td>
|
|
493
|
+
</tr>
|
|
494
|
+
</tbody>
|
|
495
|
+
</table>
|
|
496
|
+
<h3 id="loadx3p" class="tsd-anchor-link">loadX3p<a href="#loadx3p" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
497
|
+
<p>加载 <code>.x3p</code> 格式。</p>
|
|
498
|
+
<table>
|
|
499
|
+
<thead>
|
|
500
|
+
<tr>
|
|
501
|
+
<th>参数</th>
|
|
502
|
+
<th>类型</th>
|
|
503
|
+
<th>默认值</th>
|
|
504
|
+
<th>说明</th>
|
|
505
|
+
</tr>
|
|
506
|
+
</thead>
|
|
507
|
+
<tbody>
|
|
508
|
+
<tr>
|
|
509
|
+
<td><code>upAxis</code></td>
|
|
510
|
+
<td>`'Y'</td>
|
|
511
|
+
<td>'Z'`</td>
|
|
512
|
+
<td><code>'Z'</code></td>
|
|
513
|
+
</tr>
|
|
514
|
+
<tr>
|
|
515
|
+
<td><code>color</code></td>
|
|
516
|
+
<td><code>THREE.Color</code></td>
|
|
517
|
+
<td>-</td>
|
|
518
|
+
<td>指定颜色。</td>
|
|
519
|
+
</tr>
|
|
520
|
+
<tr>
|
|
521
|
+
<td><code>light</code></td>
|
|
522
|
+
<td><code>boolean</code></td>
|
|
523
|
+
<td><code>true</code></td>
|
|
524
|
+
<td>是否使用简化材质。</td>
|
|
525
|
+
</tr>
|
|
526
|
+
<tr>
|
|
527
|
+
<td><code>fetcher</code></td>
|
|
528
|
+
<td><code>Fetcher</code></td>
|
|
529
|
+
<td>-</td>
|
|
530
|
+
<td>自定义 Fetcher。</td>
|
|
531
|
+
</tr>
|
|
532
|
+
</tbody>
|
|
533
|
+
</table>
|
|
534
|
+
<h2 id="examples" class="tsd-anchor-link">Examples<a href="#examples" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h2>
|
|
535
|
+
<h3 id="基础用法:加载-gltf-模型-basic-usage" class="tsd-anchor-link">基础用法:加载 GLTF 模型 (Basic Usage)<a href="#基础用法:加载-gltf-模型-basic-usage" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
536
|
+
<pre><code class="typescript"><span class="hl-10">import</span><span class="hl-1"> { </span><span class="hl-6">Five</span><span class="hl-1">, </span><span class="hl-6">FivePlugin</span><span class="hl-1"> } </span><span class="hl-10">from</span><span class="hl-1"> </span><span class="hl-9">'@realsee/five'</span><span class="hl-1">;</span><br/><span class="hl-10">import</span><span class="hl-1"> { </span><span class="hl-6">loadGltf</span><span class="hl-1"> } </span><span class="hl-10">from</span><span class="hl-1"> </span><span class="hl-9">'@realsee/five'</span><span class="hl-1">;</span><br/><span class="hl-10">import</span><span class="hl-1"> </span><span class="hl-3">*</span><span class="hl-1"> </span><span class="hl-10">as</span><span class="hl-1"> </span><span class="hl-6">THREE</span><span class="hl-1"> </span><span class="hl-10">from</span><span class="hl-1"> </span><span class="hl-9">'three'</span><span class="hl-1">;</span><br/><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-4">five</span><span class="hl-1"> = </span><span class="hl-3">new</span><span class="hl-1"> </span><span class="hl-5">Five</span><span class="hl-1">({</span><span class="hl-8">/*...*/</span><span class="hl-1">});</span><br/><br/><span class="hl-8">// 加载 GLB 模型</span><br/><span class="hl-5">loadGltf</span><span class="hl-1">(</span><span class="hl-9">'https://example.com/model.glb'</span><span class="hl-1">).</span><span class="hl-5">then</span><span class="hl-1">((</span><span class="hl-6">result</span><span class="hl-1">) </span><span class="hl-3">=></span><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-8">// 1. 获取模型对象</span><br/><span class="hl-1"> </span><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-4">model</span><span class="hl-1"> = </span><span class="hl-6">result</span><span class="hl-1">.</span><span class="hl-6">scene</span><span class="hl-1">;</span><br/><br/><span class="hl-1"> </span><span class="hl-8">// 2. 设置位置和大小</span><br/><span class="hl-1"> </span><span class="hl-6">model</span><span class="hl-1">.</span><span class="hl-6">position</span><span class="hl-1">.</span><span class="hl-5">set</span><span class="hl-1">(</span><span class="hl-11">0</span><span class="hl-1">, </span><span class="hl-11">0</span><span class="hl-1">, </span><span class="hl-11">0</span><span class="hl-1">);</span><br/><span class="hl-1"> </span><span class="hl-6">model</span><span class="hl-1">.</span><span class="hl-6">scale</span><span class="hl-1">.</span><span class="hl-5">set</span><span class="hl-1">(</span><span class="hl-11">1</span><span class="hl-1">, </span><span class="hl-11">1</span><span class="hl-1">, </span><span class="hl-11">1</span><span class="hl-1">);</span><br/><br/><span class="hl-1"> </span><span class="hl-8">// 3. 添加到 Five 场景</span><br/><span class="hl-1"> </span><span class="hl-6">five</span><span class="hl-1">.</span><span class="hl-6">scene</span><span class="hl-1">.</span><span class="hl-5">add</span><span class="hl-1">(</span><span class="hl-6">model</span><span class="hl-1">);</span><br/><br/><span class="hl-1"> </span><span class="hl-8">// 4. (可选) 渲染一帧以确保显示</span><br/><span class="hl-1"> </span><span class="hl-6">five</span><span class="hl-1">.</span><span class="hl-6">needsRender</span><span class="hl-1"> = </span><span class="hl-3">true</span><span class="hl-1">;</span><br/><br/><span class="hl-1"> </span><span class="hl-8">// 保存 result 用于后续销毁</span><br/><span class="hl-1"> </span><span class="hl-8">// result.dispose();</span><br/><span class="hl-1">}).</span><span class="hl-5">catch</span><span class="hl-1">(</span><span class="hl-6">err</span><span class="hl-1"> </span><span class="hl-3">=></span><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-6">console</span><span class="hl-1">.</span><span class="hl-5">error</span><span class="hl-1">(</span><span class="hl-9">'加载失败'</span><span class="hl-1">, </span><span class="hl-6">err</span><span class="hl-1">);</span><br/><span class="hl-1">});</span>
|
|
537
|
+
</code><button type="button">Copy</button></pre>
|
|
538
|
+
|
|
539
|
+
<h3 id="进阶用法:加载高斯泼溅-gaussian-splat" class="tsd-anchor-link">进阶用法:加载高斯泼溅 (Gaussian Splat)<a href="#进阶用法:加载高斯泼溅-gaussian-splat" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
540
|
+
<pre><code class="typescript"><span class="hl-10">import</span><span class="hl-1"> { </span><span class="hl-6">loadSplat</span><span class="hl-1"> } </span><span class="hl-10">from</span><span class="hl-1"> </span><span class="hl-9">'@realsee/five'</span><span class="hl-1">;</span><br/><br/><span class="hl-5">loadSplat</span><span class="hl-1">(</span><span class="hl-9">'https://example.com/scene.splat'</span><span class="hl-1">, {</span><br/><span class="hl-1"> </span><span class="hl-6">modelUpAxis:</span><span class="hl-1"> </span><span class="hl-9">'Y'</span><span class="hl-1">, </span><span class="hl-8">// 假设原始数据是 Y-up</span><br/><span class="hl-1"> </span><span class="hl-6">upAxis:</span><span class="hl-1"> </span><span class="hl-9">'Z'</span><span class="hl-1">, </span><span class="hl-8">// 转换到 Five 的 Z-up</span><br/><span class="hl-1">}).</span><span class="hl-5">then</span><span class="hl-1">((</span><span class="hl-6">result</span><span class="hl-1">) </span><span class="hl-3">=></span><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-4">splatMesh</span><span class="hl-1"> = </span><span class="hl-6">result</span><span class="hl-1">.</span><span class="hl-6">scene</span><span class="hl-1">;</span><br/><span class="hl-1"> </span><span class="hl-6">five</span><span class="hl-1">.</span><span class="hl-6">scene</span><span class="hl-1">.</span><span class="hl-5">add</span><span class="hl-1">(</span><span class="hl-6">splatMesh</span><span class="hl-1">);</span><br/><span class="hl-1"> </span><span class="hl-6">five</span><span class="hl-1">.</span><span class="hl-6">needsRender</span><span class="hl-1"> = </span><span class="hl-3">true</span><span class="hl-1">;</span><br/><span class="hl-1">});</span>
|
|
541
|
+
</code><button type="button">Copy</button></pre>
|
|
542
|
+
|
|
543
|
+
<h3 id="进阶用法:自定义-ply-属性映射-custom-ply-properties" class="tsd-anchor-link">进阶用法:自定义 PLY 属性映射 (Custom PLY Properties)<a href="#进阶用法:自定义-ply-属性映射-custom-ply-properties" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
544
|
+
<pre><code class="typescript"><span class="hl-10">import</span><span class="hl-1"> { </span><span class="hl-6">loadPly</span><span class="hl-1"> } </span><span class="hl-10">from</span><span class="hl-1"> </span><span class="hl-9">'@realsee/five'</span><span class="hl-1">;</span><br/><br/><span class="hl-5">loadPly</span><span class="hl-1">(</span><span class="hl-9">'https://example.com/data.ply'</span><span class="hl-1">, {</span><br/><span class="hl-1"> </span><span class="hl-6">type:</span><span class="hl-1"> </span><span class="hl-9">'pbmPointCloud'</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-6">customPropertyMapping:</span><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-6">intensity:</span><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-6">itemType:</span><span class="hl-1"> </span><span class="hl-9">'float32'</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-6">itemNames:</span><span class="hl-1"> [</span><span class="hl-9">'intensity'</span><span class="hl-1">],</span><br/><span class="hl-1"> </span><span class="hl-6">normalized:</span><span class="hl-1"> </span><span class="hl-3">true</span><br/><span class="hl-1"> }</span><br/><span class="hl-1"> }</span><br/><span class="hl-1">}).</span><span class="hl-5">then</span><span class="hl-1">((</span><span class="hl-6">result</span><span class="hl-1">) </span><span class="hl-3">=></span><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-8">// result.scene 是一个 PBMPointCloud 对象</span><br/><span class="hl-1"> </span><span class="hl-6">five</span><span class="hl-1">.</span><span class="hl-6">scene</span><span class="hl-1">.</span><span class="hl-5">add</span><span class="hl-1">(</span><span class="hl-6">result</span><span class="hl-1">.</span><span class="hl-6">scene</span><span class="hl-1">);</span><br/><span class="hl-1">});</span>
|
|
545
|
+
</code><button type="button">Copy</button></pre>
|
|
546
|
+
|
|
547
|
+
<h3 id="基础用法:加载-obj-模型-basic-usage-obj" class="tsd-anchor-link">基础用法:加载 OBJ 模型 (Basic Usage - OBJ)<a href="#基础用法:加载-obj-模型-basic-usage-obj" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
548
|
+
<pre><code class="typescript"><span class="hl-10">import</span><span class="hl-1"> { </span><span class="hl-6">loadObj</span><span class="hl-1"> } </span><span class="hl-10">from</span><span class="hl-1"> </span><span class="hl-9">'@realsee/five'</span><span class="hl-1">;</span><br/><br/><span class="hl-5">loadObj</span><span class="hl-1">(</span><span class="hl-9">'https://example.com/model.obj'</span><span class="hl-1">, {</span><br/><span class="hl-1"> </span><span class="hl-6">modelUpAxis:</span><span class="hl-1"> </span><span class="hl-9">'Z'</span><span class="hl-1">, </span><span class="hl-8">// OBJ 默认通常是 Z-up (或根据实际情况调整)</span><br/><span class="hl-1">}).</span><span class="hl-5">then</span><span class="hl-1">((</span><span class="hl-6">result</span><span class="hl-1">) </span><span class="hl-3">=></span><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-6">five</span><span class="hl-1">.</span><span class="hl-6">scene</span><span class="hl-1">.</span><span class="hl-5">add</span><span class="hl-1">(</span><span class="hl-6">result</span><span class="hl-1">.</span><span class="hl-6">scene</span><span class="hl-1">);</span><br/><span class="hl-1"> </span><span class="hl-8">// OBJ 文件中定义的 .mtl 材质会自动加载</span><br/><span class="hl-1">});</span>
|
|
549
|
+
</code><button type="button">Copy</button></pre>
|
|
550
|
+
|
|
551
|
+
<h3 id="基础用法:加载-fbx-模型" class="tsd-anchor-link">基础用法:加载 FBX 模型<a href="#基础用法:加载-fbx-模型" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
552
|
+
<pre><code class="typescript"><span class="hl-10">import</span><span class="hl-1"> { </span><span class="hl-6">loadFbx</span><span class="hl-1"> } </span><span class="hl-10">from</span><span class="hl-1"> </span><span class="hl-9">'@realsee/five'</span><span class="hl-1">;</span><br/><br/><span class="hl-5">loadFbx</span><span class="hl-1">(</span><span class="hl-9">'https://example.com/model.fbx'</span><span class="hl-1">).</span><span class="hl-5">then</span><span class="hl-1">((</span><span class="hl-6">result</span><span class="hl-1">) </span><span class="hl-3">=></span><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-6">five</span><span class="hl-1">.</span><span class="hl-6">scene</span><span class="hl-1">.</span><span class="hl-5">add</span><span class="hl-1">(</span><span class="hl-6">result</span><span class="hl-1">.</span><span class="hl-6">scene</span><span class="hl-1">);</span><br/><span class="hl-1"> </span><span class="hl-8">// 动画会自动解析到 result.animations</span><br/><span class="hl-1">});</span>
|
|
553
|
+
</code><button type="button">Copy</button></pre>
|
|
554
|
+
|
|
555
|
+
<h3 id="进阶用法:加载-dome-全景-panorama" class="tsd-anchor-link">进阶用法:加载 Dome 全景 (Panorama)<a href="#进阶用法:加载-dome-全景-panorama" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
556
|
+
<pre><code class="typescript"><span class="hl-10">import</span><span class="hl-1"> { </span><span class="hl-6">loadDome</span><span class="hl-1"> } </span><span class="hl-10">from</span><span class="hl-1"> </span><span class="hl-9">'@realsee/five'</span><span class="hl-1">;</span><br/><br/><span class="hl-8">// 加载 .dome 或 .domez 格式</span><br/><span class="hl-5">loadDome</span><span class="hl-1">(</span><span class="hl-9">'https://example.com/panorama.domez'</span><span class="hl-1">, {</span><br/><span class="hl-1"> </span><span class="hl-6">light:</span><span class="hl-1"> </span><span class="hl-3">false</span><span class="hl-1">, </span><span class="hl-8">// 全景模型通常不需要光照计算</span><br/><span class="hl-1"> </span><span class="hl-6">textureOptions:</span><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-6">size:</span><span class="hl-1"> </span><span class="hl-11">4096</span><span class="hl-1">, </span><span class="hl-8">// 限制最大纹理尺寸</span><br/><span class="hl-1"> }</span><br/><span class="hl-1">}).</span><span class="hl-5">then</span><span class="hl-1">((</span><span class="hl-6">result</span><span class="hl-1">) </span><span class="hl-3">=></span><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-6">result</span><span class="hl-1">.</span><span class="hl-6">scene</span><span class="hl-1">.</span><span class="hl-6">position</span><span class="hl-1">.</span><span class="hl-5">set</span><span class="hl-1">(</span><span class="hl-11">0</span><span class="hl-1">, </span><span class="hl-11">0</span><span class="hl-1">, </span><span class="hl-11">0</span><span class="hl-1">);</span><br/><span class="hl-1"> </span><span class="hl-6">five</span><span class="hl-1">.</span><span class="hl-6">scene</span><span class="hl-1">.</span><span class="hl-5">add</span><span class="hl-1">(</span><span class="hl-6">result</span><span class="hl-1">.</span><span class="hl-6">scene</span><span class="hl-1">);</span><br/><span class="hl-1">});</span>
|
|
557
|
+
</code><button type="button">Copy</button></pre>
|
|
558
|
+
|
|
559
|
+
<h3 id="进阶用法:加载压缩模型-at3d" class="tsd-anchor-link">进阶用法:加载压缩模型 (AT3D)<a href="#进阶用法:加载压缩模型-at3d" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
560
|
+
<pre><code class="typescript"><span class="hl-10">import</span><span class="hl-1"> { </span><span class="hl-6">loadAt3d</span><span class="hl-1"> } </span><span class="hl-10">from</span><span class="hl-1"> </span><span class="hl-9">'@realsee/five'</span><span class="hl-1">;</span><br/><br/><span class="hl-5">loadAt3d</span><span class="hl-1">(</span><span class="hl-9">'https://example.com/model.at3d'</span><span class="hl-1">, {</span><br/><span class="hl-1"> </span><span class="hl-6">light:</span><span class="hl-1"> </span><span class="hl-3">false</span><span class="hl-1">,</span><br/><span class="hl-1">}).</span><span class="hl-5">then</span><span class="hl-1">((</span><span class="hl-6">result</span><span class="hl-1">) </span><span class="hl-3">=></span><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-6">five</span><span class="hl-1">.</span><span class="hl-6">scene</span><span class="hl-1">.</span><span class="hl-5">add</span><span class="hl-1">(</span><span class="hl-6">result</span><span class="hl-1">.</span><span class="hl-6">scene</span><span class="hl-1">);</span><br/><span class="hl-1">});</span>
|
|
561
|
+
</code><button type="button">Copy</button></pre>
|
|
562
|
+
|
|
563
|
+
<h2 id="debugging" class="tsd-anchor-link">Debugging<a href="#debugging" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h2>
|
|
564
|
+
<ul>
|
|
565
|
+
<li><strong>查看网络请求</strong>: 检查 Network 面板,确认模型文件是否成功下载 (200 OK)。</li>
|
|
566
|
+
<li><strong>检查模型位置</strong>: 如果加载成功但看不到,尝试 <code>console.log(result.scene)</code> 检查其 <code>position</code> 和 <code>scale</code>。模型可能太小、太大或位置偏离相机视野。</li>
|
|
567
|
+
<li><strong>坐标轴辅助</strong>: 在模型上添加 <code>new THREE.AxesHelper(1)</code> 来确认其自身的坐标轴方向。</li>
|
|
568
|
+
</ul>
|
|
569
|
+
<h2 id="common-pitfalls" class="tsd-anchor-link">Common Pitfalls<a href="#common-pitfalls" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h2>
|
|
570
|
+
<ol>
|
|
571
|
+
<li><strong>坐标轴方向错误</strong>: 模型“躺着”或“倒立”。
|
|
572
|
+
<ul>
|
|
573
|
+
<li><strong>解决</strong>: 调整 <code>modelUpAxis</code> 参数。如果是 GLTF 试着改为 'Z' 或 'Y';如果是 PLY 试着改为 'Y'。</li>
|
|
574
|
+
</ul>
|
|
575
|
+
</li>
|
|
576
|
+
<li><strong>内存泄漏</strong>: 频繁加载/卸载模型但未调用 <code>dispose()</code>。
|
|
577
|
+
<ul>
|
|
578
|
+
<li><strong>解决</strong>: 务必保存 <code>load</code> 返回的 result,并在移除模型时调用 <code>result.dispose()</code>。单纯 <code>scene.remove(object)</code> 不会释放 GPU 内存。</li>
|
|
579
|
+
</ul>
|
|
580
|
+
</li>
|
|
581
|
+
<li><strong>纹理路径错误</strong>: 加载 OBJ/PBM 等带外部纹理的文件时,纹理 404。
|
|
582
|
+
<ul>
|
|
583
|
+
<li><strong>解决</strong>: 确保模型文件内的纹理引用是相对路径,或者通过 <code>resourcePath</code> / <code>textureBaseUri</code> (视具体 loader 而定) 指定纹理目录。</li>
|
|
584
|
+
</ul>
|
|
585
|
+
</li>
|
|
586
|
+
<li><strong>Draco 解码器缺失</strong>: 加载压缩的 GLTF 失败。
|
|
587
|
+
<ul>
|
|
588
|
+
<li><strong>解决</strong>: <code>loadGltf</code> 内部集成了 DracoLoader,通常不需要额外配置。如果报错,检查构建配置或网络是否拦截了 wasm 文件。</li>
|
|
589
|
+
</ul>
|
|
590
|
+
</li>
|
|
591
|
+
</ol>
|
|
592
|
+
<h2 id="related" class="tsd-anchor-link">Related<a href="#related" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h2>
|
|
593
|
+
<ul>
|
|
594
|
+
<li><a href="features_model.html">model.md</a>: 关于 Five 内部模型加载机制的说明。</li>
|
|
595
|
+
</ul>
|
|
596
|
+
<hr>
|
|
597
|
+
<pre><code class="yaml"><span class="hl-0">tags</span><span class="hl-1">: [</span><span class="hl-2">loader</span><span class="hl-1">, </span><span class="hl-2">gltf</span><span class="hl-1">, </span><span class="hl-2">ply</span><span class="hl-1">, </span><span class="hl-2">splat</span><span class="hl-1">, </span><span class="hl-2">fbx</span><span class="hl-1">, </span><span class="hl-2">external-model</span><span class="hl-1">]</span>
|
|
598
|
+
</code><button type="button">Copy</button></pre>
|
|
599
|
+
|
|
600
|
+
</div></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div><details open class="tsd-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>On This Page</h3></summary><div class="tsd-accordion-details"><a href="#加载外部模型-load-external-models"><span>加载外部模型 (<wbr/>Load <wbr/>External <wbr/>Models)</span></a><ul><li><a href="#schema"><span>Schema</span></a></li><li><a href="#concepts"><span>Concepts</span></a></li><li><ul><li><a href="#独立加载函数-standalone-functions"><span>独立加载函数 (<wbr/>Standalone <wbr/>Functions)</span></a></li><li><a href="#坐标系转换-up-axis-conversion"><span>坐标系转换 (<wbr/>Up-<wbr/>Axis <wbr/>Conversion)</span></a></li><li><a href="#资源销毁-disposal"><span>资源销毁 (<wbr/>Disposal)</span></a></li><li><a href="#fetcher"><span>Fetcher</span></a></li></ul></li><li><a href="#configuration"><span>Configuration</span></a></li><li><ul><li><a href="#loadgltf"><span>load<wbr/>Gltf</span></a></li><li><a href="#loadply"><span>load<wbr/>Ply</span></a></li><li><a href="#loadsplat"><span>load<wbr/>Splat</span></a></li><li><a href="#loadspz"><span>load<wbr/>Spz</span></a></li><li><a href="#loadfbx"><span>load<wbr/>Fbx</span></a></li><li><a href="#loadobj"><span>load<wbr/>Obj</span></a></li><li><a href="#loadpbm"><span>load<wbr/>Pbm</span></a></li><li><a href="#loaddome-loaddomez"><span>load<wbr/>Dome / load<wbr/>Domez</span></a></li><li><a href="#loadat3d"><span>load<wbr/>At3d</span></a></li><li><a href="#loadb3dm"><span>load<wbr/>B3dm</span></a></li><li><a href="#loadpnts"><span>load<wbr/>Pnts</span></a></li><li><a href="#loadx3p"><span>load<wbr/>X3p</span></a></li></ul></li><li><a href="#examples"><span>Examples</span></a></li><li><ul><li><a href="#基础用法:加载-gltf-模型-basic-usage"><span>基础用法:加载 <wbr/>GLTF 模型 (<wbr/>Basic <wbr/>Usage)</span></a></li><li><a href="#进阶用法:加载高斯泼溅-gaussian-splat"><span>进阶用法:加载高斯泼溅 (<wbr/>Gaussian <wbr/>Splat)</span></a></li><li><a href="#进阶用法:自定义-ply-属性映射-custom-ply-properties"><span>进阶用法:自定义 <wbr/>PLY 属性映射 (<wbr/>Custom <wbr/>PLY <wbr/>Properties)</span></a></li><li><a href="#基础用法:加载-obj-模型-basic-usage-obj"><span>基础用法:加载 <wbr/>OBJ 模型 (<wbr/>Basic <wbr/>Usage -<wbr/> <wbr/>OBJ)</span></a></li><li><a href="#基础用法:加载-fbx-模型"><span>基础用法:加载 <wbr/>FBX 模型</span></a></li><li><a href="#进阶用法:加载-dome-全景-panorama"><span>进阶用法:加载 <wbr/>Dome 全景 (<wbr/>Panorama)</span></a></li><li><a href="#进阶用法:加载压缩模型-at3d"><span>进阶用法:加载压缩模型 (<wbr/>AT3<wbr/>D)</span></a></li></ul></li><li><a href="#debugging"><span>Debugging</span></a></li><li><a href="#common-pitfalls"><span>Common <wbr/>Pitfalls</span></a></li><li><a href="#related"><span>Related</span></a></li></ul></div></details></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html">如视 Five SDK</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>
|