@realsee/five 6.8.0-alpha.9 → 6.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS_READ_ME.md +6 -1
- package/AI_CONTEXT.md +6 -1
- package/README.md +10 -3
- package/ai_guides/README.md +29 -0
- package/ai_guides/api.md +92 -21
- package/ai_guides/features/3dtile.md +1 -1
- package/ai_guides/features/camera-animation.md +18 -1
- package/ai_guides/features/clipper.md +2 -2
- package/ai_guides/features/coordinate-system.md +20 -2
- package/ai_guides/features/event.md +106 -10
- package/ai_guides/features/five.md +17 -17
- package/ai_guides/features/flowing-light-2d-pass.md +75 -17
- package/ai_guides/features/flowing-light-3d-pass.md +76 -17
- package/ai_guides/features/gaussian-blur-pass.md +1 -1
- package/ai_guides/features/gesture.md +2 -1
- package/ai_guides/features/get-screen-pixels.md +2 -2
- package/ai_guides/features/image-options.md +2 -2
- package/ai_guides/features/load-external-model.md +6 -2
- package/ai_guides/features/load-progress.md +1 -1
- package/ai_guides/features/material.md +20 -12
- package/ai_guides/features/mode.md +1 -1
- package/ai_guides/features/model.md +1 -1
- package/ai_guides/features/move-pano-effect.md +1 -1
- package/ai_guides/features/multi-work.md +1 -1
- package/ai_guides/features/pano-filter.md +149 -0
- package/ai_guides/features/pano-tile.md +1 -1
- package/ai_guides/features/pano-uv.md +1 -1
- package/ai_guides/features/parameter.md +26 -2
- package/ai_guides/features/plugin.md +1 -1
- package/ai_guides/features/postprocessing.md +1 -1
- package/ai_guides/features/raycast.md +5 -2
- package/ai_guides/features/request-proxy.md +1 -1
- package/ai_guides/features/screen-project.md +2 -1
- package/ai_guides/features/state.md +23 -3
- package/ai_guides/features/view-layer.md +1 -1
- package/ai_guides/features/work.md +1 -1
- package/ai_guides/glossary.md +4 -4
- package/ai_guides/release_notes/6.8.md +190 -58
- package/ai_guides/template.md +11 -0
- package/docs/00_FOR_AI_AGENTS.md +3 -2
- package/docs/README.md +3 -2
- package/docs/assets/hierarchy.js +1 -1
- package/docs/assets/main.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.AnimationFrameLoop.html +1 -1
- package/docs/classes/five.BoundingMesh.html +2 -2
- package/docs/classes/five.Camera.html +3 -3
- package/docs/classes/five.EyeDomeLightingPass.html +1 -1
- package/docs/classes/five.Five.html +77 -76
- 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 +8 -8
- package/docs/classes/five.ModelScene.html +1 -1
- package/docs/classes/five.NetworkSubscribe.html +5 -5
- 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 +7 -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 -55
- package/docs/classes/five.Scene.html +1 -1
- package/docs/classes/five.Subscribe.html +5 -5
- package/docs/classes/five.Tile.html +1 -1
- package/docs/classes/five.Tile3D.html +24 -24
- package/docs/classes/five.TileNode.html +1 -1
- package/docs/classes/five.Tileset.html +3 -2
- package/docs/classes/five.TrajectoryNode.html +1 -1
- package/docs/classes/five.Work.html +16 -16
- package/docs/classes/five.WorkResolvedObserver.html +22 -22
- 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.GLTFParser.html +1 -1
- package/docs/classes/gltf-loader.THREEGLTFLoader.html +2 -2
- 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.CSS2DObject.html +10 -0
- package/docs/classes/plugins.CSS2DRenderer.html +7 -0
- package/docs/classes/plugins.CSS3DObject.html +9 -0
- package/docs/classes/plugins.CSS3DRenderer.html +4 -2
- package/docs/classes/plugins.CSS3DSprite.html +11 -0
- package/docs/classes/plugins.Object3DHelperController.html +43 -0
- 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 +6 -6
- package/docs/classes/vfx.ParticleGPU.html +3 -3
- package/docs/classes/vfx.SpotLight.html +1 -1
- package/docs/documents/README.html +122 -1
- package/docs/documents/api.html +163 -35
- package/docs/documents/features_3dtile.html +1 -1
- package/docs/documents/features_camera-animation.html +18 -2
- package/docs/documents/features_clipper.html +2 -2
- package/docs/documents/features_coordinate-system.html +52 -3
- package/docs/documents/features_event.html +44 -8
- package/docs/documents/features_five.html +17 -17
- package/docs/documents/features_flowing-light-2d-pass.html +41 -125
- package/docs/documents/features_flowing-light-3d-pass.html +43 -132
- package/docs/documents/features_gaussian-blur-pass.html +6 -6
- package/docs/documents/features_gesture.html +2 -1
- package/docs/documents/features_get-screen-pixels.html +2 -2
- package/docs/documents/features_image-options.html +2 -2
- package/docs/documents/features_load-external-model.html +6 -2
- package/docs/documents/features_load-progress.html +1 -1
- package/docs/documents/features_material.html +11 -4
- package/docs/documents/features_mode.html +1 -1
- package/docs/documents/features_model.html +1 -1
- package/docs/documents/features_move-pano-effect.html +1 -1
- package/docs/documents/features_multi-work.html +1 -1
- package/docs/documents/features_pano-filter.html +123 -0
- package/docs/documents/features_pano-tile.html +1 -1
- package/docs/documents/features_pano-uv.html +1 -1
- package/docs/documents/features_parameter.html +11 -3
- package/docs/documents/features_plugin.html +1 -1
- package/docs/documents/features_postprocessing.html +1 -1
- package/docs/documents/features_raycast.html +5 -2
- package/docs/documents/features_request-proxy.html +1 -1
- package/docs/documents/features_screen-project.html +2 -1
- package/docs/documents/features_state.html +9 -2
- package/docs/documents/features_view-layer.html +1 -1
- package/docs/documents/features_work.html +1 -1
- package/docs/documents/glossary.html +5 -5
- package/docs/documents/release_notes_6.8.html +164 -64
- package/docs/documents/template.html +9 -0
- package/docs/functions/five.createDebugBoundingMesh.html +1 -1
- package/docs/functions/five.parseWork.html +1 -1
- package/docs/functions/plugins.CSS2DPlugin.html +1 -0
- package/docs/functions/plugins.CSS3DPlugin.html +1 -0
- package/docs/functions/plugins.GaussianSplattingEntranceAnimationPlugin.html +1 -0
- package/docs/functions/plugins.Object3DHelperPlugin.html +1 -0
- package/docs/functions/react.getPlugin.html +2 -0
- package/docs/functions/react.setPlugin.html +2 -0
- package/docs/functions/react.useFiveCurrentObserver.html +2 -2
- package/docs/functions/react.useFiveFloor.html +2 -2
- package/docs/functions/react.useFivePlugin.html +8 -0
- package/docs/functions/react.useFiveProject2d.html +2 -2
- package/docs/functions/react.withFive.html +1 -1
- package/docs/functions/vue.useFiveCurrentObserver.html +2 -2
- package/docs/functions/vue.useFiveFloor.html +2 -2
- package/docs/functions/vue.useFiveWorks.html +2 -2
- package/docs/hierarchy.html +1 -1
- package/docs/index.html +122 -1
- package/docs/interfaces/five.AddableObject.html +1 -1
- package/docs/interfaces/five.AjaxOptions.html +1 -1
- package/docs/interfaces/five.BaseEvent.html +7 -2
- package/docs/interfaces/five.BaseExtendableEvent.html +11 -0
- package/docs/interfaces/five.EventCallback.html +58 -54
- package/docs/interfaces/five.FiveInitArgs.html +2 -2
- package/docs/interfaces/five.FloorplanControllerCustomInitArgs.html +9 -9
- package/docs/interfaces/five.GestureEvent.html +21 -2
- package/docs/interfaces/five.GesturePointer.html +20 -0
- package/docs/interfaces/five.ImageOptions.html +1 -1
- package/docs/interfaces/five.IntersectEvent.html +10 -2
- package/docs/interfaces/five.IntersectMesh.html +1 -1
- package/docs/interfaces/five.IntersectMeshInterface.html +1 -1
- package/docs/interfaces/five.Intersection.html +1 -1
- package/docs/interfaces/five.LooseWorkObserver.html +2 -2
- package/docs/interfaces/five.LooseWorkPanorama.html +2 -2
- package/docs/interfaces/five.LooseWorkWithExtrinsics.html +6 -6
- package/docs/interfaces/five.MapviewControllerCustomInitArgs.html +10 -10
- package/docs/interfaces/five.ModeChangeEvent.html +9 -2
- package/docs/interfaces/five.ModelControllerCustomInitArgs.html +1 -1
- package/docs/interfaces/five.ModelEvent.html +7 -2
- package/docs/interfaces/five.ModelSceneEvent.html +7 -2
- package/docs/interfaces/five.ModelTileEvent.html +7 -2
- package/docs/interfaces/five.MovePanoOptions.html +8 -8
- 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 +7 -2
- package/docs/interfaces/five.NetworkResponseError.html +1 -1
- package/docs/interfaces/five.NetworkTimeoutError.html +1 -1
- package/docs/interfaces/five.ObjectEvent.html +7 -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 +2 -2
- package/docs/interfaces/five.PanoEvent.html +15 -2
- package/docs/interfaces/five.PanoPrepareEvent.html +15 -0
- package/docs/interfaces/five.PanoTextureEvent.html +11 -2
- package/docs/interfaces/five.PanoramaControllerCustomInitArgs.html +1 -1
- package/docs/interfaces/five.PanoramaLikeControllerCustomInitArgs.html +1 -1
- package/docs/interfaces/five.ParameterMaterialValue.html +40 -38
- package/docs/interfaces/five.ParameterTilesetValue.html +15 -15
- package/docs/interfaces/five.ParameterValue.html +54 -52
- package/docs/interfaces/five.Pose.html +1 -1
- package/docs/interfaces/five.RenderEvent.html +7 -2
- package/docs/interfaces/five.ResolvedParameterValue.html +55 -54
- 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 +9 -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 +24 -24
- package/docs/interfaces/five.WorkCubeImage.html +3 -2
- package/docs/interfaces/five.WorkImage.html +6 -5
- package/docs/interfaces/five.WorkInitial.html +8 -8
- package/docs/interfaces/five.WorkModel.html +8 -8
- package/docs/interfaces/five.WorkModelLayer.html +6 -6
- package/docs/interfaces/five.WorkObserver.html +29 -29
- package/docs/interfaces/five.WorkObserverJson.html +2 -2
- package/docs/interfaces/five.WorkObserverProto.html +26 -0
- package/docs/interfaces/five.WorkPanoramaJson.html +2 -2
- package/docs/interfaces/five.WorkTile.html +6 -5
- package/docs/interfaces/five.WorkVideo.html +4 -4
- package/docs/interfaces/five.WorksEvent.html +7 -2
- package/docs/interfaces/five.XRControllerEvent.html +10 -2
- package/docs/interfaces/five.XRControllerState.html +8 -0
- package/docs/interfaces/five.XRGestureEvent.html +13 -2
- package/docs/interfaces/five.XRPanoramaControllerCustomInitArgs.html +1 -1
- package/docs/interfaces/five.XRSessionEvent.html +9 -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.CSS2DPluginController.html +49 -0
- package/docs/interfaces/plugins.CSS2DPluginType.Config.html +2 -0
- package/docs/interfaces/plugins.CSS2DPluginType.CreateCSS2DObjectType.html +8 -0
- package/docs/interfaces/plugins.CSS2DPluginType.EventMap.html +10 -0
- package/docs/interfaces/plugins.CSS2DPluginType.Params.html +4 -0
- package/docs/interfaces/plugins.CSS2DPluginType.State.html +8 -0
- package/docs/interfaces/plugins.CSS2DRendererParameters.html +2 -0
- package/docs/interfaces/plugins.CSS3DPluginController.html +52 -0
- package/docs/interfaces/plugins.CSS3DPluginType.Config.html +2 -0
- package/docs/interfaces/plugins.CSS3DPluginType.CreateCSS3DObjectType.html +10 -0
- package/docs/interfaces/plugins.CSS3DPluginType.EventMap.html +10 -0
- package/docs/interfaces/plugins.CSS3DPluginType.Params.html +4 -0
- package/docs/interfaces/plugins.CSS3DPluginType.State.html +8 -0
- package/docs/interfaces/plugins.CSS3DRendererParameters.html +2 -0
- package/docs/interfaces/plugins.DynamicPathLinePluginController.html +3 -3
- package/docs/interfaces/plugins.DynamicPathLinePluginType.EventMap.html +1 -1
- package/docs/interfaces/plugins.DynamicPathLinePluginType.State.html +1 -1
- package/docs/interfaces/plugins.GaussianSplattingEntranceAnimationController.html +44 -0
- package/docs/interfaces/plugins.GaussianSplattingEntranceAnimationPluginType.BoundingAABB2D.html +3 -0
- package/docs/interfaces/plugins.GaussianSplattingEntranceAnimationPluginType.Config.html +8 -0
- package/docs/interfaces/plugins.GaussianSplattingEntranceAnimationPluginType.EventMap.html +10 -0
- package/docs/interfaces/plugins.GaussianSplattingEntranceAnimationPluginType.Keyframe.html +3 -0
- package/docs/interfaces/plugins.GaussianSplattingEntranceAnimationPluginType.State.html +8 -0
- package/docs/interfaces/plugins.ItemMaskController.html +1 -1
- package/docs/interfaces/plugins.ItemMaskPluginType.EventMap.html +1 -1
- package/docs/interfaces/plugins.ItemMaskPluginType.State.html +2 -2
- package/docs/interfaces/plugins.Object3DHelperPluginType.BaseController.html +30 -0
- package/docs/interfaces/plugins.Object3DHelperPluginType.BaseHelper.html +22 -0
- package/docs/interfaces/plugins.Object3DHelperPluginType.BoundingBoxController.html +30 -0
- package/docs/interfaces/plugins.Object3DHelperPluginType.HelperOffset.html +4 -0
- package/docs/interfaces/plugins.Object3DHelperPluginType.MoveController.html +36 -0
- package/docs/interfaces/plugins.Object3DHelperPluginType.MoveHelperAbstract.html +32 -0
- package/docs/interfaces/plugins.Object3DHelperPluginType.Object3DHelper.html +12 -0
- package/docs/interfaces/plugins.Object3DHelperPluginType.Object3DHelperPluginState.html +4 -0
- package/docs/interfaces/plugins.Object3DHelperPluginType.Object3DHelperState.html +4 -0
- package/docs/interfaces/plugins.Object3DHelperPluginType.ObjectHelperControllers.html +4 -0
- package/docs/interfaces/plugins.Object3DHelperPluginType.RotateController.html +36 -0
- package/docs/interfaces/plugins.Object3DHelperPluginType.RotateHelperAbstract.html +28 -0
- package/docs/interfaces/plugins.Object3DHelperPluginType.Scissor.html +5 -0
- package/docs/interfaces/plugins.Object3DHelperPluginType.Vector2Position.html +3 -0
- package/docs/interfaces/plugins.Object3DHelperPluginType.Vector3Position.html +4 -0
- package/docs/interfaces/plugins.OrientationPluginController.html +6 -6
- 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.PlayingState.html +2 -2
- package/docs/interfaces/plugins.PluginTemplateType.EventMap.html +1 -1
- package/docs/interfaces/plugins.PluginTemplateType.State.html +1 -1
- package/docs/interfaces/plugins.TrajectoryController.html +8 -8
- package/docs/interfaces/react.FiveAppProps.html +11 -0
- package/docs/interfaces/react.FiveInjectionTypes.html +21 -21
- package/docs/interfaces/sticker.IntersectionLike.html +2 -2
- package/docs/interfaces/vfx.ParticleArgs.html +4 -4
- package/docs/interfaces/vue.FiveActionVueCallbacks.html +3 -3
- package/docs/modules/five.html +1 -1
- package/docs/modules/plugins.CSS2DPluginType.html +1 -0
- package/docs/modules/plugins.CSS3DPluginType.html +1 -0
- package/docs/modules/plugins.GaussianSplattingEntranceAnimationPluginType.html +1 -0
- package/docs/modules/plugins.Object3DHelperPluginType.html +1 -0
- package/docs/modules/plugins.html +1 -1
- package/docs/modules/react.html +1 -1
- package/docs/modules.html +1 -1
- package/docs/types/five.ControllerEventTypes.html +30 -26
- package/docs/types/five.EasingFunction.html +1 -0
- package/docs/types/five.EventTypes.html +26 -26
- package/docs/types/five.LegacyEventType.html +7 -7
- 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/five.Works.html +1 -1
- package/docs/types/plugins.BasePlugin.EventMap.html +1 -1
- package/docs/types/plugins.CSS2DPluginType.PluginData.html +1 -0
- package/docs/types/plugins.CSS2DPluginType.ServerData.html +1 -0
- package/docs/types/plugins.CSS3DPluginType.PluginData.html +1 -0
- package/docs/types/plugins.CSS3DPluginType.ServerData.html +1 -0
- package/docs/types/plugins.Object3DHelperPluginType.AddObject3DHelperConfig.html +13 -0
- package/docs/types/plugins.Object3DHelperPluginType.Circle.html +1 -0
- package/docs/types/plugins.Object3DHelperPluginType.Color.html +1 -0
- package/docs/types/plugins.Object3DHelperPluginType.Direction.html +1 -0
- package/docs/types/plugins.Object3DHelperPluginType.Direction4.html +1 -0
- package/docs/types/plugins.Object3DHelperPluginType.HelperConfig.html +1 -0
- package/docs/types/plugins.Object3DHelperPluginType.HelperEventMap.html +17 -0
- package/docs/types/plugins.Object3DHelperPluginType.InternalHelperEventMap.html +8 -0
- package/docs/types/plugins.Object3DHelperPluginType.Object3DHelperEventMap.html +1 -0
- package/docs/types/plugins.Object3DHelperPluginType.Object3DHelperPluginEventMap.html +7 -0
- package/docs/types/plugins.Object3DHelperPluginType.PositionFrom.html +1 -0
- package/docs/types/plugins.Object3DHelperPluginType.ScaleCallback.html +1 -0
- package/docs/types/plugins.Object3DHelperPluginType.ScalePosition.html +4 -0
- package/docs/types/plugins.Object3DHelperPluginType.UseFaceNormalInterface.html +4 -0
- package/docs/types/plugins.Object3DHelperPluginType.Vector2WithArray.html +1 -0
- package/docs/types/plugins.Object3DHelperPluginType.Vector3WithArray.html +1 -0
- package/docs/variables/five.PROXY_CONTROLLER_EVENT_NAMES.html +1 -1
- package/docs/variables/react.FiveApp.html +3 -0
- package/docs/variables/react.FiveAutoCanvas.html +3 -0
- package/five/application/events.d.ts +1 -1
- package/five/application/five.d.ts +6 -5
- package/five/bvh/bvhObject.d.ts +2 -2
- package/five/controllers/base.d.ts +1 -0
- package/five/controllers/events.d.ts +5 -1
- package/five/controllers/mapview.d.ts +1 -0
- package/five/controllers/model.d.ts +2 -2
- package/five/controllers/panorama.d.ts +3 -2
- package/five/controllers/xrPanorama.d.ts +1 -1
- package/five/core/camera.d.ts +1 -1
- package/five/gaussian-splatting/util/renderData.d.ts +66 -0
- package/five/index.d.ts +4 -1
- package/five/index.js +272 -782
- package/five/index.mjs +26894 -32056
- package/five/meshes/boundingMesh.d.ts +1 -0
- package/five/model/index.d.ts +2 -2
- package/five/model/loaders/glTF-helpers/extensions/KHR_binary_glTF.d.ts +1 -1
- package/five/model/loaders/glTF-helpers/extensions/KHR_gaussian_splatting.d.ts +26 -0
- package/five/model/loaders/glTF-helpers/extensions/KHR_gaussian_splatting_compression_spz.d.ts +7 -5
- package/five/model/loaders/glTF-helpers/extensions/KHR_gaussian_splatting_compression_spz_2.d.ts +13 -0
- package/five/model/loaders/glTF-helpers/extensions/base.d.ts +2 -1
- package/five/model/loaders/glTF-helpers/index.d.ts +4 -0
- package/five/model/loaders/glTF-helpers/parser.d.ts +2 -1
- package/five/model/loaders/spz.d.ts +2 -2
- package/five/model/materials/pbmMaterial.d.ts +54 -4
- package/five/model/materials/pbmMeshMaterial.d.ts +5 -3
- package/five/model/materials/pbmPointCloudMaterial.d.ts +0 -2
- package/five/model/objects/{pbmGSObject.d.ts → pbmGaussianSplattingObject.d.ts} +4 -1
- package/five/model/objects/pbmGaussianSplattingRenderMesh.d.ts +59 -0
- package/five/model/objects/pbmGaussianSplattingTestMesh.d.ts +7 -0
- package/five/model/parameter.d.ts +11 -6
- package/five/model/tile3d/index.d.ts +5 -3
- package/five/model/tile3d/tile-node.d.ts +2 -2
- package/five/model/tile3d/tileset.d.ts +1 -0
- package/five/renderer/postprocessing/passes/adaptive-luminance-pass.d.ts +9 -7
- package/five/renderer/postprocessing/passes/flowing-light-2d-pass.d.ts +6 -1
- package/five/renderer/postprocessing/passes/flowing-light-3d-pass.d.ts +3 -1
- package/five/renderer/tools/render-cube-to-equirectangular.d.ts +7 -0
- package/five/renderer/tools/render-full-screen.d.ts +1 -1
- package/five/texture/histogram.d.ts +54 -0
- package/five/texture/loader.d.ts +1 -1
- package/five/texture/textureData.d.ts +11 -0
- package/five/thirdparty/hammer.d.ts +371 -255
- package/five/thirdparty/jsrsasign.d.ts +5 -20
- package/five/types/movePanoOptions.d.ts +4 -3
- package/five/utils/error.d.ts +1 -0
- package/five/utils/event.d.ts +98 -37
- package/five/utils/imageURL.d.ts +1 -1
- package/five/utils/memoryUsage.d.ts +2 -2
- package/five/utils/subscribe.d.ts +2 -2
- package/five/webxr/motionHelper.d.ts +1 -1
- package/five/work/index.d.ts +1 -0
- package/five/work/looseWorkType.d.ts +2 -2
- package/five/work/work.d.ts +5 -35
- package/five/work/workJsonType.d.ts +2 -2
- package/five/work/workObserverProto.d.ts +39 -0
- package/gltf-loader/index.js +9 -9
- package/gltf-loader/index.mjs +1351 -1451
- package/line/index.js +4 -4
- package/line/index.mjs +334 -513
- package/llms.txt +37 -1
- package/package.json +4 -4
- package/plugins/CSS2DPlugin/Controller.d.ts +59 -0
- package/plugins/CSS2DPlugin/index.d.ts +5 -0
- package/plugins/CSS2DPlugin/typing.d.ts +30 -0
- package/plugins/CSS3DPlugin/Controller.d.ts +64 -0
- package/plugins/CSS3DPlugin/index.d.ts +5 -0
- package/plugins/CSS3DPlugin/typing.d.ts +32 -0
- package/plugins/GaussianSplattingEntranceAnimationPlugin/Controller.d.ts +30 -0
- package/plugins/GaussianSplattingEntranceAnimationPlugin/index.d.ts +5 -0
- package/plugins/GaussianSplattingEntranceAnimationPlugin/typing.d.ts +28 -0
- package/plugins/Object3DHelperPlugin/Controller.d.ts +99 -0
- package/plugins/Object3DHelperPlugin/Controllers/BaseController.d.ts +142 -0
- package/plugins/Object3DHelperPlugin/Controllers/BoundingBoxController.d.ts +16 -0
- package/plugins/Object3DHelperPlugin/Controllers/MoveController.d.ts +66 -0
- package/plugins/Object3DHelperPlugin/Controllers/RotateController.d.ts +61 -0
- package/plugins/Object3DHelperPlugin/FiveControllerWrapper.d.ts +17 -0
- package/plugins/Object3DHelperPlugin/Helper/BaseHelper.d.ts +97 -0
- package/plugins/Object3DHelperPlugin/Helper/BoundingBoxHelper.d.ts +16 -0
- package/plugins/Object3DHelperPlugin/Helper/MoveHelper.d.ts +37 -0
- package/plugins/Object3DHelperPlugin/Helper/RotateHelper.d.ts +93 -0
- package/plugins/Object3DHelperPlugin/constant.d.ts +27 -0
- package/plugins/Object3DHelperPlugin/index.d.ts +6 -0
- package/plugins/Object3DHelperPlugin/typing.d.ts +143 -0
- package/plugins/Object3DHelperPlugin/utils/ArrowGroup.d.ts +22 -0
- package/plugins/Object3DHelperPlugin/utils/CenterHandle.d.ts +23 -0
- package/plugins/Object3DHelperPlugin/utils/PlaneHandle.d.ts +19 -0
- package/plugins/Object3DHelperPlugin/utils/calculateScaleByCamera.d.ts +5 -0
- package/plugins/Object3DHelperPlugin/utils/cameraHooks.d.ts +2 -0
- package/plugins/Object3DHelperPlugin/utils/direction.d.ts +14 -0
- package/plugins/Object3DHelperPlugin/utils/getMouseRaycaster.d.ts +5 -0
- package/plugins/Object3DHelperPlugin/utils/getOrthographicCameraDirection.d.ts +8 -0
- package/plugins/Object3DHelperPlugin/utils/setObjectQuaternion.d.ts +8 -0
- package/plugins/Object3DHelperPlugin/utils/solidGuide.d.ts +27 -0
- package/plugins/Object3DHelperPlugin/utils/tipsDom.d.ts +8 -0
- package/plugins/TrajectoryPlugin/Controller.d.ts +1 -1
- package/plugins/index.d.ts +6 -1
- package/plugins/index.js +55 -21
- package/plugins/index.mjs +5582 -4238
- package/plugins/thirdParty/CSS2DRenderer.d.ts +37 -0
- package/plugins/thirdParty/CSS3DRenderer.d.ts +16 -3
- package/plugins/thirdParty/domevents.d.ts +36 -0
- package/plugins/utils/uuid.d.ts +1 -4
- package/react/autoCanvas.d.ts +9 -0
- package/react/context.d.ts +3 -2
- package/react/createProvider.d.ts +4 -4
- package/react/createStore.d.ts +3 -3
- package/react/fiveApp.d.ts +22 -0
- package/react/hooks/useFivePlugin.d.ts +26 -0
- package/react/hooks/useFiveProject2d.d.ts +1 -1
- package/react/index.d.ts +4 -0
- package/react/index.js +3 -3
- package/react/index.mjs +687 -782
- package/react/rendererPool.d.ts +2 -2
- package/react/withFive.d.ts +1 -1
- package/shader-lib/index.js +13 -14
- package/shader-lib/index.mjs +424 -824
- 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 +55 -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 +267 -777
- package/vfx/index.js +21 -21
- package/vfx/index.mjs +454 -910
- package/vue/index.js +3 -3
- package/vue/index.mjs +309 -301
- package/vue/rendererPool.d.ts +5 -5
- package/work-downloader/index.js +3 -3
- package/work-downloader/index.mjs +339 -556
- package/five/gs/util/renderData.d.ts +0 -32
- package/five/model/objects/pbmGSRenderMesh.d.ts +0 -29
- package/five/work/workObserverUtils.d.ts +0 -36
- /package/five/assets/{realsee-pmg-data-url.d.ts → realsee-png-data-url.d.ts} +0 -0
- /package/five/{gs → gaussian-splatting}/wasm/data.d.ts +0 -0
- /package/five/{gs → gaussian-splatting}/wasm/sort.d.ts +0 -0
- /package/five/{gs → gaussian-splatting}/worker/dataWorker.d.ts +0 -0
- /package/five/{gs → gaussian-splatting}/worker/sortWorker.d.ts +0 -0
|
@@ -1,259 +1,375 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
1
|
+
// Type definitions for Hammer.js 2.0.8
|
|
2
|
+
// Project: http://hammerjs.github.io/
|
|
3
|
+
// Definitions by: Philip Bulley <https://github.com/milkisevil>, Han Lin Yap <https://github.com/codler>
|
|
4
|
+
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
5
|
+
|
|
6
|
+
declare var Hammer:HammerStatic;
|
|
7
|
+
|
|
8
|
+
interface HammerStatic
|
|
9
|
+
{
|
|
10
|
+
new( element:HTMLElement | SVGElement, options?:HammerOptions ): HammerManager;
|
|
11
|
+
|
|
12
|
+
defaults:HammerDefaults;
|
|
13
|
+
|
|
14
|
+
VERSION: number;
|
|
15
|
+
|
|
16
|
+
INPUT_START: 1;
|
|
17
|
+
INPUT_MOVE: 2;
|
|
18
|
+
INPUT_END: 4;
|
|
19
|
+
INPUT_CANCEL: 8;
|
|
20
|
+
|
|
21
|
+
STATE_POSSIBLE: 1;
|
|
22
|
+
STATE_BEGAN: 2;
|
|
23
|
+
STATE_CHANGED: 4;
|
|
24
|
+
STATE_ENDED: 8;
|
|
25
|
+
STATE_RECOGNIZED: 8; // same as STATE_ENDED
|
|
26
|
+
STATE_CANCELLED: 16;
|
|
27
|
+
STATE_FAILED: 32;
|
|
28
|
+
|
|
29
|
+
DIRECTION_NONE: 1;
|
|
30
|
+
DIRECTION_LEFT: 2;
|
|
31
|
+
DIRECTION_RIGHT: 4;
|
|
32
|
+
DIRECTION_UP: 8;
|
|
33
|
+
DIRECTION_DOWN: 16;
|
|
34
|
+
DIRECTION_HORIZONTAL: 6; // DIRECTION_LEFT | DIRECTION_RIGHT
|
|
35
|
+
DIRECTION_VERTICAL: 24; // DIRECTION_UP | DIRECTION_DOWN
|
|
36
|
+
DIRECTION_ALL: 30; // DIRECTION_HORIZONTAL | DIRECTION_VERTICAL
|
|
37
|
+
|
|
38
|
+
Manager: HammerManagerConstructor;
|
|
39
|
+
Input: HammerInput;
|
|
40
|
+
TouchAction: TouchAction;
|
|
41
|
+
|
|
42
|
+
TouchInput: TouchInput;
|
|
43
|
+
MouseInput: MouseInput;
|
|
44
|
+
PointerEventInput: PointerEventInput;
|
|
45
|
+
TouchMouseInput: TouchMouseInput;
|
|
46
|
+
SingleTouchInput: SingleTouchInput;
|
|
47
|
+
|
|
48
|
+
Recognizer: RecognizerStatic;
|
|
49
|
+
AttrRecognizer: AttrRecognizerStatic;
|
|
50
|
+
Tap: TapRecognizerStatic;
|
|
51
|
+
Pan: PanRecognizerStatic;
|
|
52
|
+
Swipe: SwipeRecognizerStatic;
|
|
53
|
+
Pinch: PinchRecognizerStatic;
|
|
54
|
+
Rotate: RotateRecognizerStatic;
|
|
55
|
+
Press: PressRecognizerStatic;
|
|
56
|
+
|
|
57
|
+
on( target:EventTarget, types:string, handler:Function ):void;
|
|
58
|
+
off( target:EventTarget, types:string, handler:Function ):void;
|
|
59
|
+
each( obj:any, iterator:Function, context:any ): void;
|
|
60
|
+
merge( dest:any, src:any ): any;
|
|
61
|
+
extend( dest:any, src:any, merge:boolean ): any;
|
|
62
|
+
inherit( child:Function, base:Function, properties:any ):any;
|
|
63
|
+
bindFn( fn:Function, context:any ):Function;
|
|
64
|
+
prefixed( obj:any, property:string ):string;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
type RecognizerTuple =
|
|
68
|
+
[RecognizerStatic]
|
|
69
|
+
| [RecognizerStatic, RecognizerOptions]
|
|
70
|
+
| [RecognizerStatic, RecognizerOptions, string | string[]]
|
|
71
|
+
| [RecognizerStatic, RecognizerOptions, string | string[], (string | Recognizer) | (string | Recognizer)[]];
|
|
72
|
+
|
|
73
|
+
interface HammerDefaults extends HammerOptions
|
|
74
|
+
{
|
|
75
|
+
domEvents:boolean;
|
|
76
|
+
enable:boolean;
|
|
77
|
+
preset:RecognizerTuple[];
|
|
78
|
+
touchAction:string;
|
|
79
|
+
cssProps:CssProps;
|
|
80
|
+
|
|
81
|
+
inputClass:HammerInput;
|
|
82
|
+
inputTarget:EventTarget;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
interface CssProps
|
|
86
|
+
{
|
|
87
|
+
contentZooming:string;
|
|
88
|
+
tapHighlightColor:string;
|
|
89
|
+
touchCallout:string;
|
|
90
|
+
touchSelect:string;
|
|
91
|
+
userDrag:string;
|
|
92
|
+
userSelect:string;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
interface HammerOptions
|
|
96
|
+
{
|
|
97
|
+
cssProps?:CssProps | undefined;
|
|
98
|
+
domEvents?:boolean | undefined;
|
|
99
|
+
enable?:boolean | ((manager: HammerManager) => boolean) | undefined;
|
|
100
|
+
preset?:RecognizerTuple[] | undefined;
|
|
101
|
+
touchAction?:string | undefined;
|
|
102
|
+
recognizers?:RecognizerTuple[] | undefined;
|
|
103
|
+
|
|
104
|
+
inputClass?:HammerInput | undefined;
|
|
105
|
+
inputTarget?:EventTarget | undefined;
|
|
106
|
+
}
|
|
107
|
+
|
|
79
108
|
interface HammerManagerConstructor {
|
|
80
|
-
|
|
109
|
+
new( element:EventTarget, options?:HammerOptions ):HammerManager;
|
|
81
110
|
}
|
|
111
|
+
|
|
82
112
|
interface HammerListener {
|
|
83
|
-
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
113
|
+
(event:HammerInput): void
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
interface HammerManager
|
|
117
|
+
{
|
|
118
|
+
add( recogniser:Recognizer ):Recognizer;
|
|
119
|
+
add( recogniser:Recognizer ):HammerManager;
|
|
120
|
+
add( recogniser:Recognizer[] ):Recognizer;
|
|
121
|
+
add( recogniser:Recognizer[] ):HammerManager;
|
|
122
|
+
destroy():void;
|
|
123
|
+
emit( event:string, data:any ):void;
|
|
124
|
+
get( recogniser:Recognizer ):Recognizer;
|
|
125
|
+
get( recogniser:string ):Recognizer;
|
|
126
|
+
off( events:string, handler?:HammerListener ):void;
|
|
127
|
+
on( events:string, handler:HammerListener ):void;
|
|
128
|
+
recognize( inputData:any ):void;
|
|
129
|
+
remove( recogniser:Recognizer ):HammerManager;
|
|
130
|
+
remove( recogniser:string ):HammerManager;
|
|
131
|
+
set( options:HammerOptions ):HammerManager;
|
|
132
|
+
stop( force:boolean ):void;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
declare class HammerInput
|
|
136
|
+
{
|
|
137
|
+
constructor( manager:HammerManager, callback:Function );
|
|
138
|
+
|
|
139
|
+
destroy():void;
|
|
140
|
+
handler():void;
|
|
141
|
+
init():void;
|
|
142
|
+
|
|
143
|
+
/** Name of the event. Like panstart. */
|
|
144
|
+
type:string;
|
|
145
|
+
|
|
146
|
+
/** Movement of the X axis. */
|
|
147
|
+
deltaX:number;
|
|
148
|
+
|
|
149
|
+
/** Movement of the Y axis. */
|
|
150
|
+
deltaY:number;
|
|
151
|
+
|
|
152
|
+
/** Total time in ms since the first input. */
|
|
153
|
+
deltaTime:number;
|
|
154
|
+
|
|
155
|
+
/** Distance moved. */
|
|
156
|
+
distance:number;
|
|
157
|
+
|
|
158
|
+
/** Angle moved. */
|
|
159
|
+
angle:number;
|
|
160
|
+
|
|
161
|
+
/** Velocity on the X axis, in px/ms. */
|
|
162
|
+
velocityX:number;
|
|
163
|
+
|
|
164
|
+
/** Velocity on the Y axis, in px/ms */
|
|
165
|
+
velocityY:number;
|
|
166
|
+
|
|
167
|
+
/** Highest velocityX/Y value. */
|
|
168
|
+
velocity:number;
|
|
169
|
+
|
|
170
|
+
overallVelocity:number;
|
|
171
|
+
|
|
172
|
+
overallVelocityX:number;
|
|
173
|
+
|
|
174
|
+
overallVelocityY:number;
|
|
175
|
+
|
|
176
|
+
/** Direction moved. Matches the DIRECTION constants. */
|
|
177
|
+
direction:number;
|
|
178
|
+
|
|
179
|
+
/** Direction moved from it's starting point. Matches the DIRECTION constants. */
|
|
180
|
+
offsetDirection:number;
|
|
181
|
+
|
|
182
|
+
/** Scaling that has been done when multi-touch. 1 on a single touch. */
|
|
183
|
+
scale:number;
|
|
184
|
+
|
|
185
|
+
/** Rotation that has been done when multi-touch. 0 on a single touch. */
|
|
186
|
+
rotation:number;
|
|
187
|
+
|
|
188
|
+
/** Center position for multi-touch, or just the single pointer. */
|
|
189
|
+
center:HammerPoint;
|
|
190
|
+
|
|
191
|
+
/** Source event object, type TouchEvent, MouseEvent or PointerEvent. */
|
|
192
|
+
srcEvent:TouchEvent | MouseEvent | PointerEvent;
|
|
193
|
+
|
|
194
|
+
/** Target that received the event. */
|
|
195
|
+
target:HTMLElement;
|
|
196
|
+
|
|
197
|
+
/** Primary pointer type, could be touch, mouse, pen or kinect. */
|
|
198
|
+
pointerType:string;
|
|
199
|
+
|
|
200
|
+
/** Event type, matches the INPUT constants. */
|
|
201
|
+
eventType: HammerStatic['INPUT_START'] |
|
|
202
|
+
HammerStatic['INPUT_MOVE'] |
|
|
203
|
+
HammerStatic['INPUT_END'] |
|
|
204
|
+
HammerStatic['INPUT_CANCEL'];
|
|
205
|
+
|
|
206
|
+
/** true when the first input. */
|
|
207
|
+
isFirst:boolean;
|
|
208
|
+
|
|
209
|
+
/** true when the final (last) input. */
|
|
210
|
+
isFinal:boolean;
|
|
211
|
+
|
|
212
|
+
/** Array with all pointers, including the ended pointers (touchend, mouseup). */
|
|
213
|
+
pointers:any[];
|
|
214
|
+
|
|
215
|
+
/** Array with all new/moved/lost pointers. */
|
|
216
|
+
changedPointers:any[];
|
|
217
|
+
|
|
218
|
+
/** Maximum number of pointers detected in the gesture */
|
|
219
|
+
maxPointers:number;
|
|
220
|
+
|
|
221
|
+
/** Timestamp of a gesture */
|
|
222
|
+
timeStamp:number;
|
|
223
|
+
|
|
224
|
+
/** Reference to the srcEvent.preventDefault() method. Only for experts! */
|
|
225
|
+
preventDefault:Function;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
declare class MouseInput extends HammerInput
|
|
229
|
+
{
|
|
230
|
+
constructor( manager:HammerManager, callback:Function );
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
declare class PointerEventInput extends HammerInput
|
|
234
|
+
{
|
|
235
|
+
constructor( manager:HammerManager, callback:Function );
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
declare class SingleTouchInput extends HammerInput
|
|
239
|
+
{
|
|
240
|
+
constructor( manager:HammerManager, callback:Function );
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
declare class TouchInput extends HammerInput
|
|
244
|
+
{
|
|
245
|
+
constructor( manager:HammerManager, callback:Function );
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
declare class TouchMouseInput extends HammerInput
|
|
249
|
+
{
|
|
250
|
+
constructor( manager:HammerManager, callback:Function );
|
|
251
|
+
}
|
|
252
|
+
|
|
176
253
|
interface RecognizerOptions {
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
interface
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
interface
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
interface
|
|
231
|
-
|
|
232
|
-
}
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
interface
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
254
|
+
direction?: number | undefined;
|
|
255
|
+
enable?: boolean | ((recognizer: Recognizer, inputData: HammerInput) => boolean) | undefined;
|
|
256
|
+
event?: string | undefined;
|
|
257
|
+
interval?: number | undefined;
|
|
258
|
+
pointers?: number | undefined;
|
|
259
|
+
posThreshold?: number | undefined;
|
|
260
|
+
taps?: number | undefined
|
|
261
|
+
threshold?: number | undefined;
|
|
262
|
+
time?: number | undefined;
|
|
263
|
+
velocity?: number | undefined;
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
interface RecognizerStatic
|
|
267
|
+
{
|
|
268
|
+
new( options?:RecognizerOptions ):Recognizer;
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
interface Recognizer
|
|
272
|
+
{
|
|
273
|
+
defaults:any;
|
|
274
|
+
|
|
275
|
+
canEmit():boolean;
|
|
276
|
+
canRecognizeWith( otherRecognizer:Recognizer ):boolean;
|
|
277
|
+
dropRecognizeWith( otherRecognizer:Recognizer | Recognizer[] | string):Recognizer;
|
|
278
|
+
dropRequireFailure( otherRecognizer:Recognizer | Recognizer[] | string):Recognizer;
|
|
279
|
+
emit( input:HammerInput ):void;
|
|
280
|
+
getTouchAction():any[];
|
|
281
|
+
hasRequireFailures():boolean;
|
|
282
|
+
process( inputData:HammerInput ):string;
|
|
283
|
+
recognize( inputData:HammerInput ):void;
|
|
284
|
+
recognizeWith( otherRecognizer:Recognizer | Recognizer[] | string):Recognizer;
|
|
285
|
+
requireFailure( otherRecognizer:Recognizer | Recognizer[] | string):Recognizer;
|
|
286
|
+
reset():void;
|
|
287
|
+
set( options?:RecognizerOptions ):Recognizer;
|
|
288
|
+
tryEmit( input:HammerInput ):void;
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
interface AttrRecognizerStatic
|
|
292
|
+
{
|
|
293
|
+
attrTest( input:HammerInput ):boolean;
|
|
294
|
+
process( input:HammerInput ):any;
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
interface AttrRecognizer extends Recognizer
|
|
298
|
+
{
|
|
299
|
+
new( options?:RecognizerOptions ):AttrRecognizer;
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
interface PanRecognizerStatic
|
|
303
|
+
{
|
|
304
|
+
new( options?:RecognizerOptions ):PanRecognizer;
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
interface PanRecognizer extends AttrRecognizer
|
|
308
|
+
{
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
interface PinchRecognizerStatic
|
|
312
|
+
{
|
|
313
|
+
new( options?:RecognizerOptions ):PinchRecognizer;
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
interface PinchRecognizer extends AttrRecognizer
|
|
317
|
+
{
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
interface PressRecognizerStatic
|
|
321
|
+
{
|
|
322
|
+
new( options?:RecognizerOptions ):PressRecognizer;
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
interface PressRecognizer extends AttrRecognizer
|
|
326
|
+
{
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
interface RotateRecognizerStatic
|
|
330
|
+
{
|
|
331
|
+
new( options?:RecognizerOptions ):RotateRecognizer;
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
interface RotateRecognizer extends AttrRecognizer
|
|
335
|
+
{
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
interface SwipeRecognizerStatic
|
|
339
|
+
{
|
|
340
|
+
new( options?:RecognizerOptions ):SwipeRecognizer;
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
interface SwipeRecognizer extends AttrRecognizer
|
|
344
|
+
{
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
interface TapRecognizerStatic
|
|
348
|
+
{
|
|
349
|
+
new( options?:RecognizerOptions ):TapRecognizer;
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
interface TapRecognizer extends AttrRecognizer
|
|
353
|
+
{
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
declare class TouchAction
|
|
357
|
+
{
|
|
358
|
+
constructor( manager:HammerManager, value:string );
|
|
359
|
+
|
|
360
|
+
compute():string;
|
|
361
|
+
preventDefaults( input:HammerInput ):void;
|
|
362
|
+
preventSrc( srcEvent:any ):void;
|
|
363
|
+
set( value:string ):void;
|
|
364
|
+
update():void;
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
interface HammerPoint
|
|
368
|
+
{
|
|
369
|
+
x: number;
|
|
370
|
+
y: number;
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
|
|
374
|
+
export default Hammer as HammerStatic;
|
|
375
|
+
export type { HammerInput, HammerManager };
|