@realsee/five 6.8.0-alpha.2 → 6.8.0-alpha.21
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 +9 -6
- package/{guides → ai_guides}/README.md +12 -2
- package/ai_guides/ai-doc-guidelines.md +102 -0
- package/{guides → ai_guides}/api.md +24 -1
- package/ai_guides/features/3dtile.md +172 -0
- package/{guides → ai_guides}/features/camera-animation.md +24 -3
- package/{guides → ai_guides}/features/clipper.md +2 -0
- package/{guides/features/coordnate-system.md → ai_guides/features/coordinate-system.md} +2 -0
- package/{guides → ai_guides}/features/event.md +2 -0
- package/{guides → ai_guides}/features/five.md +4 -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/{guides → ai_guides}/features/gesture.md +3 -0
- package/{guides → ai_guides}/features/get-screen-pixels.md +2 -0
- package/{guides → ai_guides}/features/image-options.md +3 -0
- package/{guides → ai_guides}/features/load-external-model.md +21 -0
- package/ai_guides/features/load-progress.md +140 -0
- package/ai_guides/features/material.md +153 -0
- package/{guides → ai_guides}/features/mode.md +4 -0
- package/{guides → ai_guides}/features/model.md +4 -1
- package/{guides → ai_guides}/features/move-pano-effect.md +2 -0
- package/{guides → ai_guides}/features/multi-work.md +2 -0
- package/ai_guides/features/pano-filter.md +148 -0
- package/{guides → ai_guides}/features/pano-tile.md +7 -14
- 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/{guides → ai_guides}/features/postprocessing.md +39 -4
- package/{guides → ai_guides}/features/raycast.md +11 -0
- package/{guides → ai_guides}/features/request-proxy.md +2 -0
- package/{guides → ai_guides}/features/screen-project.md +2 -0
- package/{guides → ai_guides}/features/state.md +2 -0
- package/ai_guides/features/view-layer.md +187 -0
- package/{guides → ai_guides}/features/work.md +63 -2
- package/{guides → ai_guides}/glossary.md +26 -5
- package/{guides → ai_guides}/intro.md +1 -1
- package/{guides → ai_guides}/quick-start.md +1 -0
- package/ai_guides/release_notes/6.8.md +208 -0
- package/{guides → ai_guides}/template.md +17 -3
- package/docs/00_FOR_AI_AGENTS.md +11 -0
- package/docs/README.md +4 -7
- package/docs/assets/hierarchy.js +1 -1
- package/docs/assets/navigation.js +1 -1
- package/docs/assets/search.js +1 -1
- package/docs/classes/five.AdaptiveLuminancePass.html +7 -6
- package/docs/classes/five.BoundingMesh.html +2 -2
- package/docs/classes/five.Camera.html +1 -1
- package/docs/classes/five.EyeDomeLightingPass.html +1 -1
- package/docs/classes/five.Five.html +73 -72
- package/docs/classes/five.FivePass.html +1 -1
- package/docs/classes/five.Histogram.html +19 -0
- package/docs/classes/five.InternalWebGLRenderer.html +1 -1
- package/docs/classes/five.Model.html +31 -31
- package/docs/classes/five.ModelScene.html +1 -1
- package/docs/classes/five.NetworkSubscribe.html +1 -1
- package/docs/classes/five.PBMContainer.html +1 -1
- package/docs/classes/five.PBMCustomShader.html +42 -3
- package/docs/classes/five.PBMGSObject.html +5 -3
- package/docs/classes/five.PBMGroup.html +1 -1
- package/docs/classes/five.PBMMesh.html +1 -1
- package/docs/classes/five.PBMMeshMaterial.html +16 -7
- package/docs/classes/five.PBMPanoFilter.html +61 -0
- package/docs/classes/five.PBMPointCloud.html +1 -1
- package/docs/classes/five.PBMPointCloudMaterial.html +5 -6
- package/docs/classes/five.PBMSkinnedMesh.html +1 -1
- package/docs/classes/five.PBMUpdateable.html +41 -0
- 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 +57 -53
- package/docs/classes/five.Scene.html +1 -1
- package/docs/classes/five.Subscribe.html +1 -1
- 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 +27 -2
- 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 +1 -1
- package/docs/classes/gltf-loader.GLTFObject.html +1 -1
- package/docs/classes/gltf-loader.GLTFParser.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/sticker.Sticker.html +1 -1
- 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 +11 -2
- package/docs/documents/ai-doc-guidelines.html +60 -15
- package/docs/documents/api.html +40 -15
- package/docs/documents/features_3dtile.html +142 -45
- package/docs/documents/features_camera-animation.html +62 -5
- package/docs/documents/features_clipper.html +3 -0
- package/docs/documents/{features_coordnate-system.html → features_coordinate-system.html} +4 -1
- package/docs/documents/features_event.html +3 -0
- package/docs/documents/features_five.html +4 -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 +4 -0
- package/docs/documents/features_get-screen-pixels.html +3 -0
- package/docs/documents/features_image-options.html +3 -0
- package/docs/documents/features_load-external-model.html +25 -2
- package/docs/documents/features_load-progress.html +110 -0
- package/docs/documents/features_material.html +341 -0
- package/docs/documents/features_mode.html +5 -0
- package/docs/documents/features_model.html +5 -1
- package/docs/documents/features_move-pano-effect.html +3 -0
- package/docs/documents/features_multi-work.html +3 -0
- package/docs/documents/features_pano-filter.html +122 -0
- package/docs/documents/features_pano-tile.html +34 -19
- package/docs/documents/features_pano-uv.html +82 -0
- package/docs/documents/features_parameter.html +76 -56
- package/docs/documents/features_plugin.html +105 -0
- package/docs/documents/features_postprocessing.html +22 -5
- package/docs/documents/features_raycast.html +4 -1
- package/docs/documents/features_request-proxy.html +3 -0
- package/docs/documents/features_screen-project.html +3 -0
- package/docs/documents/features_state.html +3 -0
- package/docs/documents/features_view-layer.html +158 -0
- package/docs/documents/features_work.html +63 -2
- package/docs/documents/glossary.html +31 -6
- package/docs/documents/intro.html +1 -1
- package/docs/documents/quick-start.html +1 -0
- package/docs/documents/release_notes_6.8.html +189 -0
- package/docs/documents/template.html +45 -4
- 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/vue.useFiveWorks.html +2 -2
- package/docs/hierarchy.html +1 -1
- package/docs/index.html +11 -2
- 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 +53 -47
- package/docs/interfaces/five.FloorplanControllerCustomInitArgs.html +9 -9
- 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.MapviewControllerCustomInitArgs.html +9 -9
- 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 +7 -7
- 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.PBMClipperParameter.html +2 -2
- package/docs/interfaces/five.PBMCustomShaderInitArgs.html +2 -2
- package/docs/interfaces/five.PBMCustomShaderSlots.html +2 -2
- package/docs/interfaces/five.PBMMaterial.html +1 -1
- package/docs/interfaces/five.PBMMeshMaterialParameters.html +5 -3
- package/docs/interfaces/five.PBMPanoDepth.html +5 -5
- package/docs/interfaces/five.PBMPanoFilterValue.html +6 -0
- package/docs/interfaces/five.PBMPanoPicture.html +8 -6
- package/docs/interfaces/five.PBMPointCloudMaterialParameters.html +2 -3
- package/docs/interfaces/five.PBMRefinedScreen.html +2 -2
- 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 +42 -38
- package/docs/interfaces/five.ParameterTilesetValue.html +15 -15
- package/docs/interfaces/five.ParameterValue.html +56 -52
- package/docs/interfaces/five.Pose.html +1 -1
- package/docs/interfaces/five.RenderEvent.html +2 -2
- package/docs/interfaces/five.ResolvedParameterValue.html +56 -52
- package/docs/interfaces/five.RgbaData.html +7 -0
- package/docs/interfaces/five.SplatData.html +2 -2
- package/docs/interfaces/five.State.html +1 -1
- 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 +7 -7
- 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 +27 -2
- 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 +13 -13
- package/docs/modules/five.html +1 -1
- package/docs/modules.html +1 -1
- package/docs/types/five.ControllerEventTypes.html +27 -25
- package/docs/types/five.EasingFunction.html +1 -0
- package/docs/types/five.EventTypes.html +27 -25
- 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.PBMAlphaMode.html +1 -1
- package/docs/types/five.PBMColorStyle.html +1 -1
- package/docs/types/five.PBMFloorStyle.html +1 -1
- package/docs/types/five.PBMMeshShaderType.html +1 -1
- package/docs/types/five.PBMPointBack.html +1 -1
- package/docs/types/five.PBMPointCloudShaderType.html +1 -1
- package/docs/types/five.PBMPointShape.html +1 -1
- package/docs/types/five.PBMPointSize.html +1 -1
- package/docs/types/five.PBMTransition.html +1 -1
- package/docs/types/five.ParseOptions.html +6 -6
- package/docs/types/plugins.BasePlugin.EventMap.html +1 -1
- package/docs/variables/five.PROXY_CONTROLLER_EVENT_NAMES.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 +519 -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-png-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 +167 -0
- package/five/controllers/events.d.ts +71 -0
- package/five/controllers/floorplan.d.ts +119 -0
- package/five/controllers/mapview.d.ts +139 -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/gaussian-splatting/util/renderData.d.ts +52 -0
- package/five/gaussian-splatting/wasm/data.d.ts +20 -0
- package/five/gaussian-splatting/wasm/sort.d.ts +18 -0
- package/five/gaussian-splatting/worker/dataWorker.d.ts +1 -0
- package/five/gaussian-splatting/worker/sortWorker.d.ts +1 -0
- package/five/index.d.ts +60 -4637
- package/five/index.js +193 -341
- package/five/index.mjs +26455 -31011
- 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 +137 -0
- package/five/model/materials/pbmMeshMaterial.d.ts +126 -0
- package/five/model/materials/pbmPointCloudMaterial.d.ts +70 -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/pbmGaussianSplattingObject.d.ts +43 -0
- package/five/model/objects/pbmGaussianSplattingRenderMesh.d.ts +55 -0
- package/five/model/objects/pbmGaussianSplattingTestMesh.d.ts +7 -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 +140 -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 +17 -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-cube-to-equirectangular.d.ts +7 -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/histogram.d.ts +54 -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/texture/textureData.d.ts +11 -0
- package/five/thirdparty/fflate.d.ts +1407 -0
- package/five/thirdparty/hammer.d.ts +375 -0
- package/five/thirdparty/jsrsasign.d.ts +753 -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 +36 -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 +159 -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 +9 -9
- package/gltf-loader/index.mjs +1351 -1451
- 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 +4 -4
- package/line/index.mjs +334 -513
- 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 +43 -31
- package/package.json +11 -2
- 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 +17 -21
- package/plugins/index.mjs +3342 -4245
- 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 +3 -3
- package/react/index.mjs +572 -783
- 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 +13 -14
- package/shader-lib/index.mjs +424 -824
- package/sticker/geometry.d.ts +3 -0
- package/sticker/index.d.ts +68 -71
- package/sticker/index.js +3 -3
- package/sticker/index.mjs +102 -142
- package/umd/five-gltf-loader.js +9 -9
- package/umd/five-line.js +4 -4
- package/umd/five-plugins.js +17 -21
- package/umd/five-react.js +3 -3
- package/umd/five-shader-lib.js +13 -14
- package/umd/five-sticker.js +3 -3
- package/umd/five-vfx.js +21 -21
- package/umd/five-vue.js +3 -3
- package/umd/five.js +188 -336
- 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 +21 -21
- package/vfx/index.mjs +454 -910
- 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 +3 -3
- package/vue/index.mjs +309 -301
- 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 +3 -3
- package/work-downloader/index.mjs +317 -556
- 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/five.FivePlugin.plugin.html +0 -60
- package/docs/documents/plugin.html +0 -60
- package/docs/media/five.ts +0 -2881
- package/docs/media/pass.ts +0 -64
- package/guides/ai-doc-guidelines.md +0 -72
- package/guides/features/3dtile.md +0 -264
- package/guides/features/parameter.md +0 -178
- package/guides/plugin.md +0 -206
- /package/{guides → ai_guides}/release_notes/6.6.md +0 -0
- /package/{guides → ai_guides}/release_notes/6.7.md +0 -0
- /package/{guides → ai_guides}/support.md +0 -0
|
@@ -0,0 +1,540 @@
|
|
|
1
|
+
import * as $protobuf from "protobufjs";
|
|
2
|
+
import Long = require("long");
|
|
3
|
+
/** Properties of a Model. */
|
|
4
|
+
export interface IModel {
|
|
5
|
+
|
|
6
|
+
/** Model meshes */
|
|
7
|
+
meshes?: (IMesh[]|null);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
/** Represents a Model. */
|
|
11
|
+
export class Model implements IModel {
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Constructs a new Model.
|
|
15
|
+
* @param [properties] Properties to set
|
|
16
|
+
*/
|
|
17
|
+
constructor(properties?: IModel);
|
|
18
|
+
|
|
19
|
+
/** Model meshes. */
|
|
20
|
+
public meshes: IMesh[];
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Decodes a Model message from the specified reader or buffer.
|
|
24
|
+
* @param reader Reader or buffer to decode from
|
|
25
|
+
* @param [length] Message length if known beforehand
|
|
26
|
+
* @returns Model
|
|
27
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
28
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
29
|
+
*/
|
|
30
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): Model;
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* Gets the default type url for Model
|
|
34
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
35
|
+
* @returns The default type url
|
|
36
|
+
*/
|
|
37
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/** Properties of a Mesh. */
|
|
41
|
+
export interface IMesh {
|
|
42
|
+
|
|
43
|
+
/** Mesh name */
|
|
44
|
+
name: string;
|
|
45
|
+
|
|
46
|
+
/** Mesh chunks */
|
|
47
|
+
chunks?: (IChunk[]|null);
|
|
48
|
+
|
|
49
|
+
/** Mesh matrix */
|
|
50
|
+
matrix?: (IMatrix[]|null);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
/** Represents a Mesh. */
|
|
54
|
+
export class Mesh implements IMesh {
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Constructs a new Mesh.
|
|
58
|
+
* @param [properties] Properties to set
|
|
59
|
+
*/
|
|
60
|
+
constructor(properties?: IMesh);
|
|
61
|
+
|
|
62
|
+
/** Mesh name. */
|
|
63
|
+
public name: string;
|
|
64
|
+
|
|
65
|
+
/** Mesh chunks. */
|
|
66
|
+
public chunks: IChunk[];
|
|
67
|
+
|
|
68
|
+
/** Mesh matrix. */
|
|
69
|
+
public matrix: IMatrix[];
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* Decodes a Mesh message from the specified reader or buffer.
|
|
73
|
+
* @param reader Reader or buffer to decode from
|
|
74
|
+
* @param [length] Message length if known beforehand
|
|
75
|
+
* @returns Mesh
|
|
76
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
77
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
78
|
+
*/
|
|
79
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): Mesh;
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* Gets the default type url for Mesh
|
|
83
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
84
|
+
* @returns The default type url
|
|
85
|
+
*/
|
|
86
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
/** Properties of a Matrix. */
|
|
90
|
+
export interface IMatrix {
|
|
91
|
+
|
|
92
|
+
/** Matrix elements */
|
|
93
|
+
elements?: (number[]|null);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
/** Represents a Matrix. */
|
|
97
|
+
export class Matrix implements IMatrix {
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* Constructs a new Matrix.
|
|
101
|
+
* @param [properties] Properties to set
|
|
102
|
+
*/
|
|
103
|
+
constructor(properties?: IMatrix);
|
|
104
|
+
|
|
105
|
+
/** Matrix elements. */
|
|
106
|
+
public elements: number[];
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* Decodes a Matrix message from the specified reader or buffer.
|
|
110
|
+
* @param reader Reader or buffer to decode from
|
|
111
|
+
* @param [length] Message length if known beforehand
|
|
112
|
+
* @returns Matrix
|
|
113
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
114
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
115
|
+
*/
|
|
116
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): Matrix;
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* Gets the default type url for Matrix
|
|
120
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
121
|
+
* @returns The default type url
|
|
122
|
+
*/
|
|
123
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
/** Properties of a Chunk. */
|
|
127
|
+
export interface IChunk {
|
|
128
|
+
|
|
129
|
+
/** Chunk geometry */
|
|
130
|
+
geometry: IGeometry;
|
|
131
|
+
|
|
132
|
+
/** Chunk material */
|
|
133
|
+
material?: (IMaterial[]|null);
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
/** Represents a Chunk. */
|
|
137
|
+
export class Chunk implements IChunk {
|
|
138
|
+
|
|
139
|
+
/**
|
|
140
|
+
* Constructs a new Chunk.
|
|
141
|
+
* @param [properties] Properties to set
|
|
142
|
+
*/
|
|
143
|
+
constructor(properties?: IChunk);
|
|
144
|
+
|
|
145
|
+
/** Chunk geometry. */
|
|
146
|
+
public geometry: IGeometry;
|
|
147
|
+
|
|
148
|
+
/** Chunk material. */
|
|
149
|
+
public material: IMaterial[];
|
|
150
|
+
|
|
151
|
+
/**
|
|
152
|
+
* Decodes a Chunk message from the specified reader or buffer.
|
|
153
|
+
* @param reader Reader or buffer to decode from
|
|
154
|
+
* @param [length] Message length if known beforehand
|
|
155
|
+
* @returns Chunk
|
|
156
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
157
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
158
|
+
*/
|
|
159
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): Chunk;
|
|
160
|
+
|
|
161
|
+
/**
|
|
162
|
+
* Gets the default type url for Chunk
|
|
163
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
164
|
+
* @returns The default type url
|
|
165
|
+
*/
|
|
166
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
/** Properties of a Geometry. */
|
|
170
|
+
export interface IGeometry {
|
|
171
|
+
|
|
172
|
+
/** Geometry position */
|
|
173
|
+
position: IPosition;
|
|
174
|
+
|
|
175
|
+
/** Geometry uv */
|
|
176
|
+
uv?: (IUV|null);
|
|
177
|
+
|
|
178
|
+
/** Geometry uv2 */
|
|
179
|
+
uv2?: (IUV|null);
|
|
180
|
+
|
|
181
|
+
/** Geometry normal */
|
|
182
|
+
normal: INormal;
|
|
183
|
+
|
|
184
|
+
/** Geometry groups */
|
|
185
|
+
groups?: (IGroup[]|null);
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
/** Represents a Geometry. */
|
|
189
|
+
export class Geometry implements IGeometry {
|
|
190
|
+
|
|
191
|
+
/**
|
|
192
|
+
* Constructs a new Geometry.
|
|
193
|
+
* @param [properties] Properties to set
|
|
194
|
+
*/
|
|
195
|
+
constructor(properties?: IGeometry);
|
|
196
|
+
|
|
197
|
+
/** Geometry position. */
|
|
198
|
+
public position: IPosition;
|
|
199
|
+
|
|
200
|
+
/** Geometry uv. */
|
|
201
|
+
public uv?: (IUV|null);
|
|
202
|
+
|
|
203
|
+
/** Geometry uv2. */
|
|
204
|
+
public uv2?: (IUV|null);
|
|
205
|
+
|
|
206
|
+
/** Geometry normal. */
|
|
207
|
+
public normal: INormal;
|
|
208
|
+
|
|
209
|
+
/** Geometry groups. */
|
|
210
|
+
public groups: IGroup[];
|
|
211
|
+
|
|
212
|
+
/**
|
|
213
|
+
* Decodes a Geometry message from the specified reader or buffer.
|
|
214
|
+
* @param reader Reader or buffer to decode from
|
|
215
|
+
* @param [length] Message length if known beforehand
|
|
216
|
+
* @returns Geometry
|
|
217
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
218
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
219
|
+
*/
|
|
220
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): Geometry;
|
|
221
|
+
|
|
222
|
+
/**
|
|
223
|
+
* Gets the default type url for Geometry
|
|
224
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
225
|
+
* @returns The default type url
|
|
226
|
+
*/
|
|
227
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
/** Properties of a Position. */
|
|
231
|
+
export interface IPosition {
|
|
232
|
+
|
|
233
|
+
/** Position array */
|
|
234
|
+
array?: (number[]|null);
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
/** Represents a Position. */
|
|
238
|
+
export class Position implements IPosition {
|
|
239
|
+
|
|
240
|
+
/**
|
|
241
|
+
* Constructs a new Position.
|
|
242
|
+
* @param [properties] Properties to set
|
|
243
|
+
*/
|
|
244
|
+
constructor(properties?: IPosition);
|
|
245
|
+
|
|
246
|
+
/** Position array. */
|
|
247
|
+
public array: number[];
|
|
248
|
+
|
|
249
|
+
/**
|
|
250
|
+
* Decodes a Position message from the specified reader or buffer.
|
|
251
|
+
* @param reader Reader or buffer to decode from
|
|
252
|
+
* @param [length] Message length if known beforehand
|
|
253
|
+
* @returns Position
|
|
254
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
255
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
256
|
+
*/
|
|
257
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): Position;
|
|
258
|
+
|
|
259
|
+
/**
|
|
260
|
+
* Gets the default type url for Position
|
|
261
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
262
|
+
* @returns The default type url
|
|
263
|
+
*/
|
|
264
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
/** Properties of a UV. */
|
|
268
|
+
export interface IUV {
|
|
269
|
+
|
|
270
|
+
/** UV array */
|
|
271
|
+
array?: (number[]|null);
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
/** Represents a UV. */
|
|
275
|
+
export class UV implements IUV {
|
|
276
|
+
|
|
277
|
+
/**
|
|
278
|
+
* Constructs a new UV.
|
|
279
|
+
* @param [properties] Properties to set
|
|
280
|
+
*/
|
|
281
|
+
constructor(properties?: IUV);
|
|
282
|
+
|
|
283
|
+
/** UV array. */
|
|
284
|
+
public array: number[];
|
|
285
|
+
|
|
286
|
+
/**
|
|
287
|
+
* Decodes a UV message from the specified reader or buffer.
|
|
288
|
+
* @param reader Reader or buffer to decode from
|
|
289
|
+
* @param [length] Message length if known beforehand
|
|
290
|
+
* @returns UV
|
|
291
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
292
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
293
|
+
*/
|
|
294
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): UV;
|
|
295
|
+
|
|
296
|
+
/**
|
|
297
|
+
* Gets the default type url for UV
|
|
298
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
299
|
+
* @returns The default type url
|
|
300
|
+
*/
|
|
301
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
/** Properties of a Normal. */
|
|
305
|
+
export interface INormal {
|
|
306
|
+
|
|
307
|
+
/** Normal array */
|
|
308
|
+
array?: (number[]|null);
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
/** Represents a Normal. */
|
|
312
|
+
export class Normal implements INormal {
|
|
313
|
+
|
|
314
|
+
/**
|
|
315
|
+
* Constructs a new Normal.
|
|
316
|
+
* @param [properties] Properties to set
|
|
317
|
+
*/
|
|
318
|
+
constructor(properties?: INormal);
|
|
319
|
+
|
|
320
|
+
/** Normal array. */
|
|
321
|
+
public array: number[];
|
|
322
|
+
|
|
323
|
+
/**
|
|
324
|
+
* Decodes a Normal message from the specified reader or buffer.
|
|
325
|
+
* @param reader Reader or buffer to decode from
|
|
326
|
+
* @param [length] Message length if known beforehand
|
|
327
|
+
* @returns Normal
|
|
328
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
329
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
330
|
+
*/
|
|
331
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): Normal;
|
|
332
|
+
|
|
333
|
+
/**
|
|
334
|
+
* Gets the default type url for Normal
|
|
335
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
336
|
+
* @returns The default type url
|
|
337
|
+
*/
|
|
338
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
/** Properties of a Group. */
|
|
342
|
+
export interface IGroup {
|
|
343
|
+
|
|
344
|
+
/** Group start */
|
|
345
|
+
start: number;
|
|
346
|
+
|
|
347
|
+
/** Group count */
|
|
348
|
+
count: number;
|
|
349
|
+
|
|
350
|
+
/** Group materialIndex */
|
|
351
|
+
materialIndex: number;
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
/** Represents a Group. */
|
|
355
|
+
export class Group implements IGroup {
|
|
356
|
+
|
|
357
|
+
/**
|
|
358
|
+
* Constructs a new Group.
|
|
359
|
+
* @param [properties] Properties to set
|
|
360
|
+
*/
|
|
361
|
+
constructor(properties?: IGroup);
|
|
362
|
+
|
|
363
|
+
/** Group start. */
|
|
364
|
+
public start: number;
|
|
365
|
+
|
|
366
|
+
/** Group count. */
|
|
367
|
+
public count: number;
|
|
368
|
+
|
|
369
|
+
/** Group materialIndex. */
|
|
370
|
+
public materialIndex: number;
|
|
371
|
+
|
|
372
|
+
/**
|
|
373
|
+
* Decodes a Group message from the specified reader or buffer.
|
|
374
|
+
* @param reader Reader or buffer to decode from
|
|
375
|
+
* @param [length] Message length if known beforehand
|
|
376
|
+
* @returns Group
|
|
377
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
378
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
379
|
+
*/
|
|
380
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): Group;
|
|
381
|
+
|
|
382
|
+
/**
|
|
383
|
+
* Gets the default type url for Group
|
|
384
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
385
|
+
* @returns The default type url
|
|
386
|
+
*/
|
|
387
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
/** Properties of a Material. */
|
|
391
|
+
export interface IMaterial {
|
|
392
|
+
|
|
393
|
+
/** Material kd */
|
|
394
|
+
kd?: (IColor|null);
|
|
395
|
+
|
|
396
|
+
/** Material ks */
|
|
397
|
+
ks?: (IColor|null);
|
|
398
|
+
|
|
399
|
+
/** Material ke */
|
|
400
|
+
ke?: (IColor|null);
|
|
401
|
+
|
|
402
|
+
/** Material mapkd */
|
|
403
|
+
mapkd?: (string|null);
|
|
404
|
+
|
|
405
|
+
/** Material mapks */
|
|
406
|
+
mapks?: (string|null);
|
|
407
|
+
|
|
408
|
+
/** Material mapke */
|
|
409
|
+
mapke?: (string|null);
|
|
410
|
+
|
|
411
|
+
/** Material norm */
|
|
412
|
+
norm?: (string|null);
|
|
413
|
+
|
|
414
|
+
/** Material mapbump */
|
|
415
|
+
mapbump?: (string|null);
|
|
416
|
+
|
|
417
|
+
/** Material bump */
|
|
418
|
+
bump?: (string|null);
|
|
419
|
+
|
|
420
|
+
/** Material mapd */
|
|
421
|
+
mapd?: (string|null);
|
|
422
|
+
|
|
423
|
+
/** Material ns */
|
|
424
|
+
ns?: (number|null);
|
|
425
|
+
|
|
426
|
+
/** Material d */
|
|
427
|
+
d?: (number|null);
|
|
428
|
+
|
|
429
|
+
/** Material tr */
|
|
430
|
+
tr?: (number|null);
|
|
431
|
+
|
|
432
|
+
/** Material mapkdrepeat */
|
|
433
|
+
mapkdrepeat?: (string|null);
|
|
434
|
+
}
|
|
435
|
+
|
|
436
|
+
/** Represents a Material. */
|
|
437
|
+
export class Material implements IMaterial {
|
|
438
|
+
|
|
439
|
+
/**
|
|
440
|
+
* Constructs a new Material.
|
|
441
|
+
* @param [properties] Properties to set
|
|
442
|
+
*/
|
|
443
|
+
constructor(properties?: IMaterial);
|
|
444
|
+
|
|
445
|
+
/** Material kd. */
|
|
446
|
+
public kd?: (IColor|null);
|
|
447
|
+
|
|
448
|
+
/** Material ks. */
|
|
449
|
+
public ks?: (IColor|null);
|
|
450
|
+
|
|
451
|
+
/** Material ke. */
|
|
452
|
+
public ke?: (IColor|null);
|
|
453
|
+
|
|
454
|
+
/** Material mapkd. */
|
|
455
|
+
public mapkd: string;
|
|
456
|
+
|
|
457
|
+
/** Material mapks. */
|
|
458
|
+
public mapks: string;
|
|
459
|
+
|
|
460
|
+
/** Material mapke. */
|
|
461
|
+
public mapke: string;
|
|
462
|
+
|
|
463
|
+
/** Material norm. */
|
|
464
|
+
public norm: string;
|
|
465
|
+
|
|
466
|
+
/** Material mapbump. */
|
|
467
|
+
public mapbump: string;
|
|
468
|
+
|
|
469
|
+
/** Material bump. */
|
|
470
|
+
public bump: string;
|
|
471
|
+
|
|
472
|
+
/** Material mapd. */
|
|
473
|
+
public mapd: string;
|
|
474
|
+
|
|
475
|
+
/** Material ns. */
|
|
476
|
+
public ns: number;
|
|
477
|
+
|
|
478
|
+
/** Material d. */
|
|
479
|
+
public d: number;
|
|
480
|
+
|
|
481
|
+
/** Material tr. */
|
|
482
|
+
public tr: number;
|
|
483
|
+
|
|
484
|
+
/** Material mapkdrepeat. */
|
|
485
|
+
public mapkdrepeat: string;
|
|
486
|
+
|
|
487
|
+
/**
|
|
488
|
+
* Decodes a Material message from the specified reader or buffer.
|
|
489
|
+
* @param reader Reader or buffer to decode from
|
|
490
|
+
* @param [length] Message length if known beforehand
|
|
491
|
+
* @returns Material
|
|
492
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
493
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
494
|
+
*/
|
|
495
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): Material;
|
|
496
|
+
|
|
497
|
+
/**
|
|
498
|
+
* Gets the default type url for Material
|
|
499
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
500
|
+
* @returns The default type url
|
|
501
|
+
*/
|
|
502
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
/** Properties of a Color. */
|
|
506
|
+
export interface IColor {
|
|
507
|
+
|
|
508
|
+
/** Color rgb */
|
|
509
|
+
rgb?: (number[]|null);
|
|
510
|
+
}
|
|
511
|
+
|
|
512
|
+
/** Represents a Color. */
|
|
513
|
+
export class Color implements IColor {
|
|
514
|
+
|
|
515
|
+
/**
|
|
516
|
+
* Constructs a new Color.
|
|
517
|
+
* @param [properties] Properties to set
|
|
518
|
+
*/
|
|
519
|
+
constructor(properties?: IColor);
|
|
520
|
+
|
|
521
|
+
/** Color rgb. */
|
|
522
|
+
public rgb: number[];
|
|
523
|
+
|
|
524
|
+
/**
|
|
525
|
+
* Decodes a Color message from the specified reader or buffer.
|
|
526
|
+
* @param reader Reader or buffer to decode from
|
|
527
|
+
* @param [length] Message length if known beforehand
|
|
528
|
+
* @returns Color
|
|
529
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
530
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
531
|
+
*/
|
|
532
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): Color;
|
|
533
|
+
|
|
534
|
+
/**
|
|
535
|
+
* Gets the default type url for Color
|
|
536
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
537
|
+
* @returns The default type url
|
|
538
|
+
*/
|
|
539
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
540
|
+
}
|