@realsee/five 6.6.0-alpha.0 → 6.6.0-alpha.2
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/docs/assets/hierarchy.js +1 -0
- package/docs/assets/icons.js +1 -1
- package/docs/assets/icons.svg +1 -1
- package/docs/assets/main.js +5 -5
- package/docs/assets/navigation.js +1 -1
- package/docs/assets/search.js +1 -1
- package/docs/assets/style.css +1440 -1255
- package/docs/classes/five.AnimationFrameLoop.html +16 -16
- package/docs/classes/five.Camera.html +41 -41
- package/docs/classes/five.Fetcher.html +5 -5
- package/docs/classes/five.Five.html +211 -211
- package/docs/classes/five.InternalWebGLRenderer.html +2 -2
- package/docs/classes/five.Model.html +72 -72
- package/docs/classes/five.ModelScene.html +34 -34
- package/docs/classes/five.Motion.html +17 -17
- package/docs/classes/five.NetworkSubscribe.html +35 -35
- package/docs/classes/five.PBMContainer.html +17 -17
- package/docs/classes/five.PBMCustomShader.html +11 -11
- package/docs/classes/five.PBMGroup.html +4 -4
- package/docs/classes/five.PBMMesh.html +2 -2
- package/docs/classes/five.PBMMeshMaterial.html +84 -84
- package/docs/classes/five.PBMPointCloud.html +3 -3
- package/docs/classes/five.PBMPointCloudMaterial.html +40 -40
- package/docs/classes/five.PBMSkinnedMesh.html +4 -4
- package/docs/classes/five.PanoCircleMesh.html +20 -20
- package/docs/classes/five.PanoCircleMeshCustom.html +20 -20
- package/docs/classes/five.PanoCircleMeshSolid.html +20 -20
- package/docs/classes/five.Parameter.html +114 -114
- package/docs/classes/five.Scene.html +9 -9
- package/docs/classes/five.Subscribe.html +37 -37
- package/docs/classes/five.TextureLoader.html +4 -4
- package/docs/classes/five.Tile.html +34 -34
- package/docs/classes/five.Tile3DModel.html +91 -91
- package/docs/classes/five.TileCache.html +8 -8
- package/docs/classes/five.TileNode.html +9 -9
- package/docs/classes/five.TileRequestScheduler.html +4 -4
- package/docs/classes/five.Tileset.html +37 -37
- package/docs/classes/five.Trajectory.html +8 -8
- package/docs/classes/five.TrajectoryNode.html +7 -7
- package/docs/classes/five.Work.html +42 -42
- package/docs/classes/five.WorkResolvedObserver.html +40 -40
- package/docs/classes/five.XRButton.html +3 -3
- package/docs/classes/gltf-loader.DDSLoader.html +3 -0
- package/docs/classes/gltf-loader.DRACOLoader.html +8 -0
- package/docs/classes/gltf-loader.GLTFLoader.html +19 -0
- package/docs/classes/gltf-loader.GLTFObject.html +9 -0
- package/docs/classes/gltf-loader.GLTFParser.html +6 -0
- package/docs/classes/gltf-loader.THREEGLTFLoader.html +8 -0
- package/docs/classes/line.Line.html +10 -10
- package/docs/classes/line.LineGeometry.html +17 -17
- package/docs/classes/line.LineMaterial.html +8 -8
- package/docs/classes/line.LineSegmentsGeometry.html +15 -15
- package/docs/classes/line.THREE_Line2.html +4 -4
- package/docs/classes/line.THREE_LineSegments2.html +4 -4
- package/docs/classes/plugins.BasePlugin.Controller.html +39 -0
- package/docs/classes/plugins.CSS3DRenderer.html +6 -0
- package/docs/classes/plugins.OrbitControls.html +41 -0
- package/docs/classes/plugins.RoundedBoxGeometry.html +3 -0
- package/docs/classes/react.Store.html +20 -20
- package/docs/classes/sticker.Sticker.html +17 -17
- package/docs/classes/vfx.Airflow.html +8 -8
- package/docs/classes/vfx.Flame.html +10 -10
- package/docs/classes/vfx.Particle.html +78 -78
- package/docs/classes/vfx.SpotLight.html +7 -7
- package/docs/documents/coordinate.html +4 -4
- package/docs/documents/five.FivePlugin.plugins.html +15 -15
- package/docs/documents/five.Pose.coordinate.html +4 -4
- package/docs/documents/plugins.html +15 -15
- package/docs/documents/react-component.html +32 -0
- package/docs/enums/five.VolumePlaneIntersect.html +4 -4
- package/docs/enums/plugins.BackgroundPluginType.WarningCodeType.html +2 -0
- package/docs/functions/five.coordinatesToVector.html +2 -0
- package/docs/functions/five.createDebugBoundingMesh.html +1 -1
- package/docs/functions/five.createWorks.html +1 -1
- package/docs/functions/five.defaultImageURLTransform.html +2 -2
- package/docs/functions/five.getViewportScale.html +1 -1
- package/docs/functions/five.headingToLongitude.html +4 -0
- package/docs/functions/five.imageSupport.html +1 -1
- package/docs/functions/five.isBoundingVolume.html +1 -1
- package/docs/functions/five.isPanoId.html +1 -1
- 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.loadX3p.html +1 -1
- package/docs/functions/five.longitudeToHeading.html +4 -0
- package/docs/functions/five.makeBoundingVolume.html +1 -1
- package/docs/functions/five.panoEqual.html +1 -1
- package/docs/functions/five.panoParse.html +1 -1
- package/docs/functions/five.panoStringify.html +1 -1
- package/docs/functions/five.parseWork.html +2 -2
- package/docs/functions/five.vectorToCoordinates.html +2 -0
- package/docs/functions/five.workToJson.html +1 -1
- package/docs/functions/plugins.BackgroundPlugin.html +1 -0
- package/docs/functions/plugins.ItemMaskPlugin.html +1 -0
- package/docs/functions/plugins.OrientationPlugin.html +1 -0
- package/docs/functions/plugins.PanoAnimePlugin.html +1 -0
- package/docs/functions/plugins.TrajectoryPlugin.html +1 -0
- package/docs/functions/react.createFiveFeature.html +1 -1
- package/docs/functions/react.createFiveProvider.html +5 -5
- package/docs/functions/react.createStore.html +12 -12
- package/docs/functions/react.unsafe__useFiveInstance.html +4 -4
- package/docs/functions/react.useFiveAction.html +8 -8
- package/docs/functions/react.useFiveCameraDirection.html +3 -3
- package/docs/functions/react.useFiveCameraRaycaster.html +3 -3
- package/docs/functions/react.useFiveCurrentObserver.html +4 -4
- package/docs/functions/react.useFiveCurrentState.html +4 -4
- package/docs/functions/react.useFiveEventCallback.html +3 -3
- package/docs/functions/react.useFiveFloor.html +4 -4
- package/docs/functions/react.useFiveHelper.html +4 -4
- package/docs/functions/react.useFiveModelIntersectRaycaster.html +4 -4
- package/docs/functions/react.useFiveModelReadyState.html +3 -3
- package/docs/functions/react.useFiveProject2d.html +4 -4
- package/docs/functions/react.useFiveSceneEffect.html +4 -4
- package/docs/functions/react.useFiveState.html +1 -1
- package/docs/functions/react.useFiveWork.html +5 -5
- package/docs/functions/react.withFive.html +1 -1
- package/docs/functions/vue.unsafe__useFiveInject.html +4 -4
- package/docs/functions/vue.useFiveAction.html +10 -10
- package/docs/functions/vue.useFiveCameraDirection.html +3 -3
- package/docs/functions/vue.useFiveCameraRaycaster.html +3 -3
- package/docs/functions/vue.useFiveCurrentObserver.html +4 -4
- package/docs/functions/vue.useFiveCurrentState.html +4 -4
- package/docs/functions/vue.useFiveEventCallback.html +3 -3
- package/docs/functions/vue.useFiveFloor.html +4 -4
- package/docs/functions/vue.useFiveHelper.html +4 -4
- package/docs/functions/vue.useFiveModel.html +2 -2
- package/docs/functions/vue.useFiveModelBounding.html +2 -2
- package/docs/functions/vue.useFiveModelIntersectRaycaster.html +4 -4
- package/docs/functions/vue.useFiveModelReadyState.html +3 -3
- package/docs/functions/vue.useFiveProject2d.html +4 -4
- package/docs/functions/vue.useFiveScene.html +2 -2
- package/docs/functions/vue.useFiveState.html +4 -4
- package/docs/functions/vue.useFiveWorks.html +5 -5
- package/docs/hierarchy.html +1 -1
- package/docs/index.html +17 -17
- package/docs/interfaces/five.AddableObject.html +9 -9
- package/docs/interfaces/five.AjaxOptions.html +9 -9
- package/docs/interfaces/five.AnimationFrame.html +5 -5
- package/docs/interfaces/five.AnimationFrameContext.html +3 -3
- package/docs/interfaces/five.BaseEvent.html +5 -5
- package/docs/interfaces/five.BoundingVolume.html +15 -15
- package/docs/interfaces/five.BoxBoundingVolume.html +18 -0
- package/docs/interfaces/five.CameraPose.html +6 -6
- package/docs/interfaces/five.CullingVolume.html +9 -0
- package/docs/interfaces/five.Draco.html +12 -0
- package/docs/interfaces/five.EventCallback.html +255 -255
- package/docs/interfaces/five.FiveInitArgs.html +85 -85
- package/docs/interfaces/five.FiveLoadOptions.html +13 -13
- package/docs/interfaces/five.FloorplanControllerCustomInitArgs.html +17 -17
- package/docs/interfaces/five.GestureEvent.html +19 -19
- package/docs/interfaces/five.ImageOptions.html +14 -14
- package/docs/interfaces/five.ImageURLMappings.html +1 -1
- package/docs/interfaces/five.ImageURLOptions.html +15 -15
- package/docs/interfaces/five.IntersectEvent.html +8 -8
- package/docs/interfaces/five.IntersectMesh.html +2 -0
- package/docs/interfaces/five.IntersectMeshInterface.html +3 -3
- package/docs/interfaces/five.Intersection.html +5 -5
- package/docs/interfaces/five.KTX2.html +9 -0
- package/docs/interfaces/five.LoosePanoWork.html +10 -10
- package/docs/interfaces/five.LooseWork.html +15 -0
- package/docs/interfaces/five.LooseWorkInitial.html +11 -0
- package/docs/interfaces/five.LooseWorkModel.html +6 -0
- package/docs/interfaces/five.LooseWorkObserver.html +16 -0
- package/docs/interfaces/five.LooseWorkPanorama.html +13 -0
- package/docs/interfaces/five.LooseWorkVideo.html +4 -0
- package/docs/interfaces/five.LooseWorkWithExtrinsics.html +13 -0
- package/docs/interfaces/five.MapviewControllerCustomInitArgs.html +17 -17
- package/docs/interfaces/five.ModeChangeEvent.html +9 -9
- package/docs/interfaces/five.ModelControllerCustomInitArgs.html +18 -18
- package/docs/interfaces/five.ModelEvent.html +8 -8
- package/docs/interfaces/five.ModelLike.html +3 -3
- package/docs/interfaces/five.ModelSceneEvent.html +6 -6
- package/docs/interfaces/five.MotionKeyframe.html +4 -4
- package/docs/interfaces/five.MovePanoOptions.html +24 -24
- package/docs/interfaces/five.NetworkAbortError.html +1 -0
- package/docs/interfaces/five.NetworkFirbiddenError.html +1 -0
- package/docs/interfaces/five.NetworkOptions.html +7 -7
- package/docs/interfaces/five.NetworkProxyError.html +1 -0
- package/docs/interfaces/five.NetworkResourceEvent.html +9 -9
- package/docs/interfaces/five.NetworkResponseError.html +2 -0
- package/docs/interfaces/five.NetworkTimeoutError.html +1 -0
- package/docs/interfaces/five.ObjectEvent.html +6 -6
- package/docs/interfaces/five.PBMClipperParameter.html +3 -3
- package/docs/interfaces/five.PBMCustomShaderInitArgs.html +6 -6
- package/docs/interfaces/five.PBMCustomShaderSlots.html +3 -3
- package/docs/interfaces/five.PBMMaterial.html +1 -0
- package/docs/interfaces/five.PBMMeshMaterialParameters.html +28 -28
- package/docs/interfaces/five.PBMPanoDepth.html +9 -9
- package/docs/interfaces/five.PBMPanoPicture.html +11 -11
- package/docs/interfaces/five.PBMPointCloudMaterialParameters.html +28 -28
- package/docs/interfaces/five.PBMRefinedScreen.html +6 -6
- package/docs/interfaces/five.PanoCircleMeshCustomOptions.html +9 -9
- package/docs/interfaces/five.PanoCircleMeshInterface.html +20 -20
- package/docs/interfaces/five.PanoCircleMeshOptions.html +3 -3
- package/docs/interfaces/five.PanoCircleMeshSolidOptions.html +3 -3
- package/docs/interfaces/five.PanoEvent.html +11 -11
- package/docs/interfaces/five.PanoTextureEvent.html +9 -9
- package/docs/interfaces/five.PanoramaControllerCustomInitArgs.html +38 -38
- package/docs/interfaces/five.PanoramaLikeControllerCustomInitArgs.html +18 -18
- package/docs/interfaces/five.ParameterMaterialValue.html +73 -73
- package/docs/interfaces/five.ParameterTilesetValue.html +31 -31
- package/docs/interfaces/five.ParameterValue.html +103 -103
- package/docs/interfaces/five.Pose.html +13 -13
- package/docs/interfaces/five.RegionBoundingVolume.html +21 -0
- package/docs/interfaces/five.RenderEvent.html +6 -6
- package/docs/interfaces/five.ResolvedParameterValue.html +105 -105
- package/docs/interfaces/five.SphereBoundingVolume.html +17 -0
- package/docs/interfaces/five.State.html +19 -19
- package/docs/interfaces/five.StateEvent.html +7 -7
- package/docs/interfaces/five.TextureOptions.html +16 -16
- package/docs/interfaces/five.Tile3DModelLoaderOptions.html +12 -12
- package/docs/interfaces/five.TileHeader.html +9 -9
- package/docs/interfaces/five.TilesetHeader.html +20 -20
- package/docs/interfaces/five.TilesetOptions.html +12 -12
- package/docs/interfaces/five.TopviewControllerCustomInitArgs.html +9 -9
- package/docs/interfaces/five.TrajectoryHeader.html +5 -5
- package/docs/interfaces/five.VRPanoramaControllerCustomInitArgs.html +34 -34
- package/docs/interfaces/five.ViewLayer.html +90 -90
- package/docs/interfaces/five.Viewport.html +11 -11
- package/docs/interfaces/five.WebXRAxesParams.html +4 -4
- package/docs/interfaces/five.WebXRControllerParams.html +2 -2
- package/docs/interfaces/five.WorkCubeImage.html +8 -14
- package/docs/interfaces/five.WorkImage.html +13 -19
- package/docs/interfaces/five.WorkInitial.html +17 -17
- package/docs/interfaces/five.WorkInitialJson.html +8 -8
- package/docs/interfaces/five.WorkJson.html +12 -12
- package/docs/interfaces/five.WorkModel.html +12 -12
- package/docs/interfaces/five.WorkModelJson.html +5 -5
- package/docs/interfaces/five.WorkModelLayer.html +6 -6
- package/docs/interfaces/five.WorkModelLayerJson.html +5 -5
- package/docs/interfaces/five.WorkObserver.html +34 -34
- package/docs/interfaces/five.WorkObserverJson.html +8 -8
- package/docs/interfaces/five.WorkPanoramaJson.html +14 -14
- package/docs/interfaces/five.WorkPanoramasJson.html +3 -3
- package/docs/interfaces/five.WorkTile.html +14 -20
- package/docs/interfaces/five.WorkVideo.html +9 -9
- package/docs/interfaces/five.WorksEvent.html +9 -9
- package/docs/interfaces/five.XRControllerEvent.html +8 -8
- package/docs/interfaces/five.XRGestureEvent.html +11 -11
- package/docs/interfaces/five.XRPanoramaControllerCustomInitArgs.html +34 -34
- package/docs/interfaces/five.XRSessionEvent.html +7 -7
- package/docs/interfaces/gltf-loader.DDS.html +7 -0
- package/docs/interfaces/gltf-loader.GLTF.html +13 -0
- package/docs/interfaces/gltf-loader.GLTFReference.html +3 -0
- package/docs/interfaces/gltf-loader.THREEGLTF.html +8 -0
- package/docs/interfaces/plugins.BackgroundPluginController.html +37 -0
- package/docs/interfaces/plugins.BackgroundPluginType.Config.html +1 -0
- package/docs/interfaces/plugins.BackgroundPluginType.EventMap.html +20 -0
- package/docs/interfaces/plugins.BackgroundPluginType.Params.html +3 -0
- package/docs/interfaces/plugins.BackgroundPluginType.PluginDataItem.html +1 -0
- package/docs/interfaces/plugins.BasePlugin.BaseOptions.html +3 -0
- package/docs/interfaces/plugins.BasePlugin.Config.html +5 -0
- package/docs/interfaces/plugins.BasePlugin.State.html +8 -0
- package/docs/interfaces/plugins.BasePlugin.StateChangeParams.html +7 -0
- package/docs/interfaces/plugins.ItemMaskController.html +35 -0
- package/docs/interfaces/plugins.ItemMaskPluginType.Config.html +2 -0
- package/docs/interfaces/plugins.ItemMaskPluginType.EventMap.html +10 -0
- package/docs/interfaces/plugins.ItemMaskPluginType.ItemType.html +13 -0
- package/docs/interfaces/plugins.ItemMaskPluginType.MaskType.html +4 -0
- package/docs/interfaces/plugins.ItemMaskPluginType.Params.html +4 -0
- package/docs/interfaces/plugins.ItemMaskPluginType.State.html +14 -0
- package/docs/interfaces/plugins.Keyframe.html +3 -0
- package/docs/interfaces/plugins.OrientationPluginController.html +46 -0
- package/docs/interfaces/plugins.OrientationPluginType.Config.html +4 -0
- package/docs/interfaces/plugins.OrientationPluginType.EventMap.html +10 -0
- package/docs/interfaces/plugins.OrientationPluginType.Params.html +4 -0
- package/docs/interfaces/plugins.OrientationPluginType.State.html +10 -0
- package/docs/interfaces/plugins.PanoAnimeController.html +32 -0
- package/docs/interfaces/plugins.PanoAnimePluginType.Config.html +2 -0
- package/docs/interfaces/plugins.PanoAnimePluginType.EventMap.html +11 -0
- package/docs/interfaces/plugins.PanoAnimePluginType.Params.html +4 -0
- package/docs/interfaces/plugins.PanoAnimePluginType.State.html +8 -0
- package/docs/interfaces/plugins.PlayingState.html +3 -0
- package/docs/interfaces/plugins.PluginTemplateType.Config.html +3 -0
- package/docs/interfaces/plugins.PluginTemplateType.EventMap.html +10 -0
- package/docs/interfaces/plugins.PluginTemplateType.Params.html +4 -0
- package/docs/interfaces/plugins.PluginTemplateType.State.html +8 -0
- package/docs/interfaces/plugins.TrajectoryController.html +50 -0
- package/docs/interfaces/react.FiveActionReactCallbacks.html +27 -27
- package/docs/interfaces/react.FiveCanvasProps.html +5 -5
- package/docs/interfaces/react.FiveInjectionTypes.html +152 -144
- package/docs/interfaces/react.PropTypeOfFiveFeatures.html +2 -2
- package/docs/interfaces/sticker.IntersectionLike.html +7 -7
- package/docs/interfaces/vfx.ParticleArgs.html +67 -67
- package/docs/interfaces/vfx.ParticleTweenKeyframe.html +3 -3
- package/docs/interfaces/vue.FiveActionVueCallbacks.html +30 -30
- package/docs/modules/five.html +1 -231
- package/docs/modules/gltf-loader.html +1 -0
- package/docs/modules/line.html +1 -8
- package/docs/modules/plugins.BackgroundPluginType.html +1 -0
- package/docs/modules/plugins.BasePlugin.html +1 -0
- package/docs/modules/plugins.ItemMaskPluginType.html +1 -0
- package/docs/modules/plugins.OrientationPluginType.html +1 -0
- package/docs/modules/plugins.PanoAnimePluginType.html +1 -0
- package/docs/modules/plugins.PluginTemplateType.html +1 -0
- package/docs/modules/plugins.html +1 -0
- package/docs/modules/react.html +1 -37
- package/docs/modules/sticker.html +1 -3
- package/docs/modules/vfx.html +1 -8
- package/docs/modules/vue.html +1 -24
- package/docs/modules.html +1 -0
- package/docs/types/five.AjaxResponseType.html +1 -1
- package/docs/types/five.AjaxResponseTypeMapping.html +1 -1
- package/docs/types/five.AnimationFrameLoopType.html +1 -1
- package/docs/types/five.BoundingVolumeJson.html +1 -1
- package/docs/types/five.BoxBoundingVolumeJson.html +2 -1
- package/docs/types/five.ControllerCustomInitTypes.html +8 -1
- package/docs/types/five.ControllerEventTypes.html +66 -33
- package/docs/types/five.CubeFace.html +1 -0
- package/docs/types/five.EventTypes.html +26 -26
- package/docs/types/five.FivePlugin.html +4 -4
- package/docs/types/five.FivePluginInit.html +3 -3
- package/docs/types/five.FivePluginInstance.html +3 -3
- package/docs/types/five.GestureTypes.html +1 -1
- package/docs/types/five.LegacyEventType.html +149 -86
- package/docs/types/five.LoadResultType.html +12 -1
- package/docs/types/five.Mode.html +9 -9
- package/docs/types/five.Models.html +11 -11
- package/docs/types/five.MotionCircle.html +2 -2
- package/docs/types/five.MotionConfig.html +1 -1
- package/docs/types/five.MotionInitalValue.html +1 -1
- package/docs/types/five.MotionValue.html +1 -1
- package/docs/types/five.MovePanoEffect.html +3 -3
- package/docs/types/five.NetWorkMeta.html +8 -1
- package/docs/types/five.NetworkError.html +1 -1
- package/docs/types/five.NetworkErrorCallback.html +1 -1
- package/docs/types/five.NetworkProgressCallback.html +1 -1
- package/docs/types/five.NetworkResponse.html +3 -1
- package/docs/types/five.NetworkState.html +1 -1
- package/docs/types/five.NetworkSuccessCallback.html +1 -1
- package/docs/types/five.NetworkType.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.Pano.html +3 -1
- package/docs/types/five.PanoId.html +1 -1
- package/docs/types/five.ParseOptions.html +11 -6
- package/docs/types/five.PostProcessingType.html +1 -1
- package/docs/types/five.RegionBoundingVolumeJson.html +2 -1
- package/docs/types/five.Scissor.html +2 -2
- package/docs/types/five.SphereBoundingVolumeJson.html +2 -1
- package/docs/types/five.SubscribeEventMap.html +1 -1
- package/docs/types/five.Tile3dOptions.html +1 -1
- package/docs/types/five.TileCacheOptions.html +3 -1
- package/docs/types/five.TileContentData.html +6 -1
- package/docs/types/five.TileRequestOrder.html +1 -1
- package/docs/types/five.TileRequestSchedulerOptions.html +4 -1
- package/docs/types/five.TilesetFrameState.html +22 -1
- package/docs/types/five.TrajectoryContentData.html +7 -1
- package/docs/types/five.WebXRControllerKey.html +1 -1
- package/docs/types/five.WebXRControllerType.html +1 -1
- package/docs/types/five.Works.html +1 -1
- package/docs/types/line.LineMaterialParameters.html +8 -1
- package/docs/types/plugins.BackgroundPluginType.Mirror.html +1 -0
- package/docs/types/plugins.BackgroundPluginType.Mode.html +1 -0
- package/docs/types/plugins.BackgroundPluginType.PluginData.html +1 -0
- package/docs/types/plugins.BackgroundPluginType.State.html +2 -0
- package/docs/types/plugins.BasePlugin.EventMap.html +10 -0
- package/docs/types/plugins.ItemMaskPluginType.PluginData.html +3 -0
- package/docs/types/plugins.ItemMaskPluginType.ServerData.html +3 -0
- package/docs/types/plugins.OrientationPluginType.PluginData.html +1 -0
- package/docs/types/plugins.OrientationPluginType.ServerData.html +1 -0
- package/docs/types/plugins.PanoAnimePluginType.PluginData.html +1 -0
- package/docs/types/plugins.PanoAnimePluginType.ServerData.html +1 -0
- package/docs/types/plugins.PluginTemplateType.PluginData.html +1 -0
- package/docs/types/plugins.PluginTemplateType.ServerData.html +2 -0
- package/docs/types/react.FiveInjectionActionFeature.html +1 -1
- package/docs/types/react.FiveInjectionDataFeature.html +1 -1
- package/docs/types/react.FiveInjectionFeature.html +1 -1
- package/docs/types/react.FiveProviderPropTypes.html +11 -1
- package/docs/types/react.FiveProviderType.html +1 -1
- package/docs/types/react.StoreActionMapHanlder.html +1 -1
- package/docs/types/react.StoreActionMapType.html +1 -1
- package/docs/types/react.StoreProviderType.html +1 -1
- package/docs/types/react.StoreValueMapType.html +1 -1
- package/docs/types/vfx.ParticleType.html +1 -1
- package/docs/types/vue.FiveModelIntersectRaycaster.html +1 -1
- package/docs/types/vue.FiveProviderComponent.html +1 -1
- package/docs/types/vue.Project2d.html +1 -1
- package/docs/variables/five.PROXY_CONTROLLER_EVENT_NAMES.html +1 -1
- package/docs/variables/five.controllersDefaultInitArgs.html +1 -1
- package/docs/variables/five.draco.html +1 -0
- package/docs/variables/five.ktx2.html +1 -0
- package/docs/variables/react.FiveCanvas.html +6 -0
- package/docs/variables/react.INJECTION_PROPNAME.html +1 -1
- package/docs/variables/react.useFiveScene.html +7 -0
- package/docs/variables/vue.FiveCanvas.html +7 -7
- package/docs/variables/vue.FiveProvider.html +5 -5
- package/five/index.d.ts +53 -57
- package/five/index.js +93 -91
- package/five/index.mjs +4247 -4193
- package/gltf-loader/index.js +5 -5
- package/gltf-loader/index.mjs +160 -172
- package/line/index.js +4 -4
- package/line/index.mjs +15 -15
- package/package.json +4 -7
- package/plugins/index.js +10 -10
- package/plugins/index.mjs +42 -42
- package/react/index.d.ts +46 -37
- package/react/index.js +3 -3
- package/react/index.mjs +8 -8
- package/shader-lib/index.js +7 -7
- package/shader-lib/index.mjs +14 -14
- package/sticker/index.js +3 -3
- package/sticker/index.mjs +9 -9
- package/umd/five-gltf-loader.js +5 -5
- package/umd/five-line.js +4 -4
- package/umd/five-plugins.js +10 -10
- package/umd/five-react.js +3 -3
- package/umd/five-shader-lib.js +8 -8
- package/umd/five-sticker.js +3 -3
- package/umd/five-vfx.js +7 -7
- package/umd/five-vue.js +3 -3
- package/umd/five.js +94 -92
- package/vfx/index.js +6 -6
- package/vfx/index.mjs +12 -12
- package/vue/index.js +2 -2
- package/vue/index.mjs +2 -2
- package/work-downloader/index.js +3 -3
- package/work-downloader/index.mjs +4 -4
- package/docs/classes/five.BoxBoundingVolume.html +0 -19
- package/docs/classes/five.CullingVolume.html +0 -13
- package/docs/classes/five.Draco.html +0 -13
- package/docs/classes/five.IntersectMesh.html +0 -4
- package/docs/classes/five.KTX2.html +0 -10
- package/docs/classes/five.NetworkAbortError.html +0 -2
- package/docs/classes/five.NetworkFirbiddenError.html +0 -2
- package/docs/classes/five.NetworkProxyError.html +0 -2
- package/docs/classes/five.NetworkResponseError.html +0 -3
- package/docs/classes/five.NetworkTimeoutError.html +0 -2
- package/docs/classes/five.PBMMaterial.html +0 -2
- package/docs/classes/five.RegionBoundingVolume.html +0 -22
- package/docs/classes/five.SphereBoundingVolume.html +0 -18
- package/docs/classes/gltf_loader.DDSLoader.html +0 -3
- package/docs/classes/gltf_loader.DRACOLoader.html +0 -8
- package/docs/classes/gltf_loader.GLTFLoader.html +0 -19
- package/docs/classes/gltf_loader.GLTFObject.html +0 -9
- package/docs/classes/gltf_loader.GLTFParser.html +0 -6
- package/docs/classes/gltf_loader.THREEGLTFLoader.html +0 -8
- package/docs/classes/plugins-1.BackgroundPluginController.html +0 -38
- package/docs/classes/plugins-1.BasePlugin.Controller.html +0 -39
- package/docs/classes/plugins-1.CSS3DRenderer.html +0 -6
- package/docs/classes/plugins-1.ItemMaskController.html +0 -36
- package/docs/classes/plugins-1.OrbitControls.html +0 -41
- package/docs/classes/plugins-1.OrientationPluginController.html +0 -47
- package/docs/classes/plugins-1.PanoAnimeController.html +0 -33
- package/docs/classes/plugins-1.RoundedBoxGeometry.html +0 -3
- package/docs/classes/plugins-1.TrajectoryController.html +0 -51
- package/docs/documents/react_component.html +0 -32
- package/docs/enums/plugins-1.BackgroundPluginType.WarningCodeType.html +0 -2
- package/docs/functions/plugins-1.BackgroundPlugin.html +0 -1
- package/docs/functions/plugins-1.ItemMaskPlugin.html +0 -1
- package/docs/functions/plugins-1.OrientationPlugin.html +0 -1
- package/docs/functions/plugins-1.PanoAnimePlugin.html +0 -1
- package/docs/functions/plugins-1.TrajectoryPlugin.html +0 -1
- package/docs/functions/react.FiveCanvas.html +0 -6
- package/docs/functions/react.useFiveScene.html +0 -7
- package/docs/interfaces/gltf_loader.DDS.html +0 -7
- package/docs/interfaces/gltf_loader.GLTF.html +0 -13
- package/docs/interfaces/gltf_loader.GLTFReference.html +0 -3
- package/docs/interfaces/gltf_loader.THREEGLTF.html +0 -8
- package/docs/interfaces/plugins-1.BackgroundPluginType.Config.html +0 -1
- package/docs/interfaces/plugins-1.BackgroundPluginType.EventMap.html +0 -20
- package/docs/interfaces/plugins-1.BackgroundPluginType.Params.html +0 -3
- package/docs/interfaces/plugins-1.BackgroundPluginType.PluginDataItem.html +0 -1
- package/docs/interfaces/plugins-1.BasePlugin.BaseOptions.html +0 -3
- package/docs/interfaces/plugins-1.BasePlugin.Config.html +0 -5
- package/docs/interfaces/plugins-1.BasePlugin.State.html +0 -8
- package/docs/interfaces/plugins-1.BasePlugin.StateChangeParams.html +0 -7
- package/docs/interfaces/plugins-1.ItemMaskPluginType.Config.html +0 -2
- package/docs/interfaces/plugins-1.ItemMaskPluginType.EventMap.html +0 -10
- package/docs/interfaces/plugins-1.ItemMaskPluginType.ItemType.html +0 -13
- package/docs/interfaces/plugins-1.ItemMaskPluginType.MaskType.html +0 -4
- package/docs/interfaces/plugins-1.ItemMaskPluginType.Params.html +0 -4
- package/docs/interfaces/plugins-1.ItemMaskPluginType.State.html +0 -14
- package/docs/interfaces/plugins-1.Keyframe.html +0 -3
- package/docs/interfaces/plugins-1.OrientationPluginType.Config.html +0 -4
- package/docs/interfaces/plugins-1.OrientationPluginType.EventMap.html +0 -10
- package/docs/interfaces/plugins-1.OrientationPluginType.Params.html +0 -4
- package/docs/interfaces/plugins-1.OrientationPluginType.State.html +0 -10
- package/docs/interfaces/plugins-1.PanoAnimePluginType.Config.html +0 -2
- package/docs/interfaces/plugins-1.PanoAnimePluginType.EventMap.html +0 -11
- package/docs/interfaces/plugins-1.PanoAnimePluginType.Params.html +0 -4
- package/docs/interfaces/plugins-1.PanoAnimePluginType.State.html +0 -8
- package/docs/interfaces/plugins-1.PlayingState.html +0 -3
- package/docs/interfaces/plugins-1.PluginTemplateType.Config.html +0 -3
- package/docs/interfaces/plugins-1.PluginTemplateType.EventMap.html +0 -10
- package/docs/interfaces/plugins-1.PluginTemplateType.Params.html +0 -4
- package/docs/interfaces/plugins-1.PluginTemplateType.State.html +0 -8
- package/docs/modules/gltf_loader.html +0 -11
- package/docs/modules/plugins-1.BackgroundPluginType.html +0 -10
- package/docs/modules/plugins-1.BasePlugin.html +0 -7
- package/docs/modules/plugins-1.ItemMaskPluginType.html +0 -9
- package/docs/modules/plugins-1.OrientationPluginType.html +0 -7
- package/docs/modules/plugins-1.PanoAnimePluginType.html +0 -7
- package/docs/modules/plugins-1.PluginTemplateType.html +0 -7
- package/docs/modules/plugins-1.html +0 -22
- package/docs/types/five.LooseWork.html +0 -1
- package/docs/types/five.LooseWorkInitial.html +0 -1
- package/docs/types/five.LooseWorkModel.html +0 -1
- package/docs/types/five.LooseWorkObserver.html +0 -1
- package/docs/types/five.LooseWorkPanorama.html +0 -1
- package/docs/types/five.LooseWorkVideo.html +0 -1
- package/docs/types/five.LooseWorkWithExtrinsics.html +0 -2
- package/docs/types/plugins-1.BackgroundPluginType.Mirror.html +0 -1
- package/docs/types/plugins-1.BackgroundPluginType.Mode.html +0 -1
- package/docs/types/plugins-1.BackgroundPluginType.PluginData.html +0 -1
- package/docs/types/plugins-1.BackgroundPluginType.State.html +0 -1
- package/docs/types/plugins-1.BasePlugin.EventMap.html +0 -6
- package/docs/types/plugins-1.ItemMaskPluginType.PluginData.html +0 -1
- package/docs/types/plugins-1.ItemMaskPluginType.ServerData.html +0 -1
- package/docs/types/plugins-1.OrientationPluginType.PluginData.html +0 -1
- package/docs/types/plugins-1.OrientationPluginType.ServerData.html +0 -1
- package/docs/types/plugins-1.PanoAnimePluginType.PluginData.html +0 -1
- package/docs/types/plugins-1.PanoAnimePluginType.ServerData.html +0 -1
- package/docs/types/plugins-1.PluginTemplateType.PluginData.html +0 -1
- package/docs/types/plugins-1.PluginTemplateType.ServerData.html +0 -1
- package/docs/variables/five.draco-1.html +0 -1
- package/docs/variables/five.ktx2-1.html +0 -1
|
@@ -1,113 +1,113 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>Five | 如视 Five SDK</title><meta name="description" content="Documentation for 如视 Five SDK"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><
|
|
2
|
-
</div><div class="tsd-comment tsd-typography"><
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>Five | 如视 Five SDK</title><meta name="description" content="Documentation for 如视 Five SDK"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script><script async src="../assets/hierarchy.js" id="tsd-hierarchy-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><a href="../index.html" class="title">如视 Five SDK</a><div id="tsd-toolbar-links"></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/><ul role="listbox" id="tsd-search-results"></ul><div id="tsd-search-status" aria-live="polite" aria-atomic="true"><div>Preparing search index...</div></div></dialog><a href="#" class="tsd-widget menu" id="tsd-toolbar-menu-trigger" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb" aria-label="Breadcrumb"><li><a href="../modules/five.html">five</a></li><li><a href="" aria-current="page">Five</a></li></ul><h1>Class Five</h1></div><section class="tsd-panel tsd-comment"><div class="tsd-comment tsd-typography"><p>如视 VR Web展示器</p>
|
|
2
|
+
</div><div class="tsd-comment tsd-typography"><div class="tsd-tag-example"><h4 class="tsd-anchor-link" id="example">Example<a href="#example" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><pre><code><span class="hl-5">// 初始化构造函数</span><br/><span class="hl-6">const</span><span class="hl-1"> </span><span class="hl-7">five</span><span class="hl-1"> = </span><span class="hl-6">new</span><span class="hl-1"> </span><span class="hl-0">Five</span><span class="hl-1">();</span><br/><span class="hl-5">// 将绘制区域添加到页面上</span><br/><span class="hl-4">five</span><span class="hl-1">.</span><span class="hl-0">appendTo</span><span class="hl-1">(</span><span class="hl-4">document</span><span class="hl-1">.</span><span class="hl-4">body</span><span class="hl-1">);</span><br/><span class="hl-5">// 加载 Work 数据</span><br/><span class="hl-4">five</span><span class="hl-1">.</span><span class="hl-0">load</span><span class="hl-1">({...});</span>
|
|
3
3
|
</code><button>Copy</button></pre>
|
|
4
4
|
|
|
5
|
-
</div></section><section class="tsd-panel tsd-hierarchy"><h4>Hierarchy (<a href="../hierarchy.html#five.Five">
|
|
6
|
-
</div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Properties</h3><div class="tsd-index-list"><a href="
|
|
7
|
-
<a href="
|
|
8
|
-
<a href="
|
|
9
|
-
<a href="
|
|
10
|
-
<a href="
|
|
11
|
-
<a href="
|
|
12
|
-
<a href="
|
|
13
|
-
<a href="
|
|
14
|
-
<a href="
|
|
15
|
-
<a href="
|
|
16
|
-
<a href="
|
|
17
|
-
<a href="
|
|
18
|
-
<a href="
|
|
19
|
-
<a href="
|
|
20
|
-
<a href="
|
|
21
|
-
<a href="
|
|
22
|
-
<a href="
|
|
23
|
-
<a href="
|
|
24
|
-
<a href="
|
|
25
|
-
<a href="
|
|
26
|
-
<a href="
|
|
27
|
-
<a href="
|
|
28
|
-
<a href="
|
|
29
|
-
</div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Accessors</h3><div class="tsd-index-list"><a href="
|
|
30
|
-
<a href="
|
|
31
|
-
<a href="
|
|
32
|
-
<a href="
|
|
33
|
-
<a href="
|
|
34
|
-
<a href="
|
|
35
|
-
<a href="
|
|
36
|
-
<a href="
|
|
37
|
-
<a href="
|
|
38
|
-
<a href="
|
|
39
|
-
<a href="
|
|
40
|
-
<a href="
|
|
41
|
-
<a href="
|
|
42
|
-
<a href="
|
|
43
|
-
<a href="
|
|
44
|
-
<a href="
|
|
45
|
-
<a href="
|
|
46
|
-
</div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Methods</h3><div class="tsd-index-list"><a href="
|
|
47
|
-
<a href="
|
|
48
|
-
<a href="
|
|
49
|
-
<a href="
|
|
50
|
-
<a href="
|
|
51
|
-
<a href="
|
|
52
|
-
<a href="
|
|
53
|
-
<a href="
|
|
54
|
-
<a href="
|
|
55
|
-
<a href="
|
|
56
|
-
<a href="
|
|
57
|
-
<a href="
|
|
58
|
-
<a href="
|
|
59
|
-
<a href="
|
|
60
|
-
<a href="
|
|
61
|
-
<a href="
|
|
62
|
-
<a href="
|
|
63
|
-
<a href="
|
|
64
|
-
<a href="
|
|
65
|
-
<a href="
|
|
66
|
-
<a href="
|
|
67
|
-
<a href="
|
|
68
|
-
<a href="
|
|
69
|
-
<a href="
|
|
70
|
-
<a href="
|
|
71
|
-
<a href="
|
|
72
|
-
<a href="
|
|
73
|
-
<a href="
|
|
74
|
-
<a href="
|
|
75
|
-
<a href="
|
|
76
|
-
<a href="
|
|
77
|
-
<a href="
|
|
78
|
-
<a href="
|
|
79
|
-
<a href="
|
|
80
|
-
<a href="
|
|
81
|
-
<a href="
|
|
82
|
-
<a href="
|
|
83
|
-
<a href="
|
|
84
|
-
<a href="
|
|
85
|
-
<a href="
|
|
86
|
-
</div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Constructors"><
|
|
87
|
-
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
88
|
-
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
89
|
-
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
90
|
-
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
91
|
-
</div><div class="tsd-comment tsd-typography"><
|
|
5
|
+
</div></div></section><section class="tsd-panel tsd-hierarchy" data-refl="1668"><h4>Hierarchy (<a href="../hierarchy.html#five.Five">View Summary</a>)</h4><ul class="tsd-hierarchy"><li class="tsd-hierarchy-item"><a href="five.Subscribe.html" class="tsd-signature-type tsd-kind-class">Subscribe</a><span class="tsd-signature-symbol"><</span><a href="../types/five.EventTypes.html" class="tsd-signature-type tsd-kind-type-alias">EventTypes</a><span class="tsd-signature-symbol">></span><ul class="tsd-hierarchy"><li class="tsd-hierarchy-item"><span class="tsd-hierarchy-target">Five</span></li></ul></li></ul></section><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:95</li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h5 class="tsd-index-heading uppercase">Index</h5></summary><div class="tsd-accordion-details"><section class="tsd-index-section"><h3 class="tsd-index-heading">Constructors</h3><div class="tsd-index-list"><a href="#constructor" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Constructor"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a>
|
|
6
|
+
</div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Properties</h3><div class="tsd-index-list"><a href="#backgroundalpha" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>background<wbr/>Alpha</span></a>
|
|
7
|
+
<a href="#backgroundcolor" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>background<wbr/>Color</span></a>
|
|
8
|
+
<a href="#camera" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>camera</span></a>
|
|
9
|
+
<a href="#currentmode" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>current<wbr/>Mode</span></a>
|
|
10
|
+
<a href="#enablelayeringrendering" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>enable<wbr/>Layering<wbr/>Rendering</span></a>
|
|
11
|
+
<a href="#ident" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>ident</span></a>
|
|
12
|
+
<a href="#imageoptions" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>image<wbr/>Options</span></a>
|
|
13
|
+
<a href="#modelscene" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>model<wbr/>Scene</span></a>
|
|
14
|
+
<a href="#modelsceneneedsrender" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>model<wbr/>Scene<wbr/>Needs<wbr/>Render</span></a>
|
|
15
|
+
<a href="#needsrender" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>needs<wbr/>Render</span></a>
|
|
16
|
+
<a href="#onlyrenderifneeds" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>only<wbr/>Render<wbr/>If<wbr/>Needs</span></a>
|
|
17
|
+
<a href="#pano" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>pano</span></a>
|
|
18
|
+
<a href="#paused" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>paused</span></a>
|
|
19
|
+
<a href="#plugins" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>plugins</span></a>
|
|
20
|
+
<a href="#poweredbyrealsee" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>powered<wbr/>By<wbr/>Realsee</span></a>
|
|
21
|
+
<a href="#renderer" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>renderer?</span></a>
|
|
22
|
+
<a href="#scene" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>scene</span></a>
|
|
23
|
+
<a href="#state" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>state</span></a>
|
|
24
|
+
<a href="#textureoptions" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>texture<wbr/>Options</span></a>
|
|
25
|
+
<a href="#videotexture" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>video<wbr/>Texture</span></a>
|
|
26
|
+
<a href="#viewport" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>viewport</span></a>
|
|
27
|
+
<a href="#xrcustomobjectsscene" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>xr<wbr/>Custom<wbr/>Objects<wbr/>Scene</span></a>
|
|
28
|
+
<a href="#mode" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>Mode</span></a>
|
|
29
|
+
</div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Accessors</h3><div class="tsd-index-list"><a href="#enableedl" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Accessor"><use href="../assets/icons.svg#icon-262144"></use></svg><span>enable<wbr/>EDL</span></a>
|
|
30
|
+
<a href="#enablehq" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Accessor"><use href="../assets/icons.svg#icon-262144"></use></svg><span>enable<wbr/>HQ</span></a>
|
|
31
|
+
<a href="#enableiosedr" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Accessor"><use href="../assets/icons.svg#icon-262144"></use></svg><span>enable<wbr/>IOSEDR</span></a>
|
|
32
|
+
<a href="#enablepostprocessing" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Accessor"><use href="../assets/icons.svg#icon-262144"></use></svg><span>enable<wbr/>Post<wbr/>Processing</span></a>
|
|
33
|
+
<a href="#helpervisible" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Accessor"><use href="../assets/icons.svg#icon-262144"></use></svg><span>helper<wbr/>Visible</span></a>
|
|
34
|
+
<a href="#internallightsenabled" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Accessor"><use href="../assets/icons.svg#icon-262144"></use></svg><span>internal<wbr/>Lights<wbr/>Enabled</span></a>
|
|
35
|
+
<a href="#model" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Accessor"><use href="../assets/icons.svg#icon-262144"></use></svg><span>model</span></a>
|
|
36
|
+
<a href="#models" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Accessor"><use href="../assets/icons.svg#icon-262144"></use></svg><span>models</span></a>
|
|
37
|
+
<a href="#observers" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Accessor"><use href="../assets/icons.svg#icon-262144"></use></svg><span>observers</span></a>
|
|
38
|
+
<a href="#panoindex" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Accessor"><use href="../assets/icons.svg#icon-262144"></use></svg><span>pano<wbr/>Index</span></a>
|
|
39
|
+
<a href="#rendereffect" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Accessor"><use href="../assets/icons.svg#icon-262144"></use></svg><span>render<wbr/>Effect</span></a>
|
|
40
|
+
<a href="#scissor" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Accessor"><use href="../assets/icons.svg#icon-262144"></use></svg><span>scissor</span></a>
|
|
41
|
+
<a href="#work" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Accessor"><use href="../assets/icons.svg#icon-262144"></use></svg><span>work</span></a>
|
|
42
|
+
<a href="#works" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Accessor"><use href="../assets/icons.svg#icon-262144"></use></svg><span>works</span></a>
|
|
43
|
+
<a href="#dracopath" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Accessor"><use href="../assets/icons.svg#icon-262144"></use></svg><span>draco<wbr/>Path</span></a>
|
|
44
|
+
<a href="#ktx2path" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Accessor"><use href="../assets/icons.svg#icon-262144"></use></svg><span>ktx2<wbr/>Path</span></a>
|
|
45
|
+
<a href="#version" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Accessor"><use href="../assets/icons.svg#icon-262144"></use></svg><span>version</span></a>
|
|
46
|
+
</div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Methods</h3><div class="tsd-index-list"><a href="#addextraelement" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>add<wbr/>Extra<wbr/>Element</span></a>
|
|
47
|
+
<a href="#appendto" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>append<wbr/>To</span></a>
|
|
48
|
+
<a href="#changemode" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>change<wbr/>Mode</span></a>
|
|
49
|
+
<a href="#dispose" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>dispose</span></a>
|
|
50
|
+
<a href="#emit" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>emit</span></a>
|
|
51
|
+
<a href="#exitfullscreen" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>exit<wbr/>Fullscreen</span></a>
|
|
52
|
+
<a href="#getcameralocal" class="tsd-index-link deprecated"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Camera<wbr/>Local</span></a>
|
|
53
|
+
<a href="#getcurrentstate" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Current<wbr/>State</span></a>
|
|
54
|
+
<a href="#getdrawingbuffersize" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Drawing<wbr/>Buffer<wbr/>Size</span></a>
|
|
55
|
+
<a href="#getelement" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Element</span></a>
|
|
56
|
+
<a href="#getlongitudeandlatitude" class="tsd-index-link deprecated"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Longitude<wbr/>And<wbr/>Latitude</span></a>
|
|
57
|
+
<a href="#getoffset" class="tsd-index-link deprecated"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Offset</span></a>
|
|
58
|
+
<a href="#getpixels" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Pixels</span></a>
|
|
59
|
+
<a href="#getpose" class="tsd-index-link deprecated"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Pose</span></a>
|
|
60
|
+
<a href="#getsize" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Size</span></a>
|
|
61
|
+
<a href="#haslistener" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>has<wbr/>Listener</span></a>
|
|
62
|
+
<a href="#load" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>load</span></a>
|
|
63
|
+
<a href="#movetopano" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>move<wbr/>To<wbr/>Pano</span></a>
|
|
64
|
+
<a href="#off" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>off</span></a>
|
|
65
|
+
<a href="#on" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>on</span></a>
|
|
66
|
+
<a href="#once" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>once</span></a>
|
|
67
|
+
<a href="#pause" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>pause</span></a>
|
|
68
|
+
<a href="#play" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>play</span></a>
|
|
69
|
+
<a href="#preloadpano" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>preload<wbr/>Pano</span></a>
|
|
70
|
+
<a href="#project2d" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>project2d</span></a>
|
|
71
|
+
<a href="#ready" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>ready</span></a>
|
|
72
|
+
<a href="#refresh" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>refresh</span></a>
|
|
73
|
+
<a href="#removeextraelement" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>remove<wbr/>Extra<wbr/>Element</span></a>
|
|
74
|
+
<a href="#render" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>render</span></a>
|
|
75
|
+
<a href="#requestfullscreen" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>request<wbr/>Fullscreen</span></a>
|
|
76
|
+
<a href="#reset" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>reset</span></a>
|
|
77
|
+
<a href="#reset_" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>reset_</span></a>
|
|
78
|
+
<a href="#setscissor" class="tsd-index-link deprecated"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Scissor</span></a>
|
|
79
|
+
<a href="#setstate" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>State</span></a>
|
|
80
|
+
<a href="#setviewport" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Viewport</span></a>
|
|
81
|
+
<a href="#updatecamera" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>update<wbr/>Camera</span></a>
|
|
82
|
+
<a href="#updatecamerawithkeyframes" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>update<wbr/>Camera<wbr/>With<wbr/>Keyframes</span></a>
|
|
83
|
+
<a href="#updateconfiguration" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>update<wbr/>Configuration</span></a>
|
|
84
|
+
<a href="#updatetime" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>update<wbr/>Time</span></a>
|
|
85
|
+
<a href="#waituntil" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>wait<wbr/>Until</span></a>
|
|
86
|
+
</div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Constructors</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="constructor"><span>constructor</span><a href="#constructor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="constructorfive"><span class="tsd-signature-keyword">new</span> <span class="tsd-kind-constructor-signature">Five</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">initArgs</span><span class="tsd-signature-symbol">?:</span> <a href="../interfaces/five.FiveInitArgs.html" class="tsd-signature-type tsd-kind-interface">FiveInitArgs</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <a href="" class="tsd-signature-type tsd-kind-class">Five</a><a href="#constructorfive" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">initArgs</span>: <a href="../interfaces/five.FiveInitArgs.html" class="tsd-signature-type tsd-kind-interface">FiveInitArgs</a><span class="tsd-signature-symbol"> = {}</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <a href="" class="tsd-signature-type tsd-kind-class">Five</a></h4><aside class="tsd-sources"><p>Overrides <a href="five.Subscribe.html">Subscribe</a>.<a href="five.Subscribe.html#constructor">constructor</a></p><ul><li>Defined in lib/five/application/five.ts:296</li></ul></aside></div></li></ul></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Properties</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="backgroundalpha"><span>background<wbr/>Alpha</span><a href="#backgroundalpha" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">backgroundAlpha</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><div class="tsd-comment tsd-typography"><p>背景透明度</p>
|
|
87
|
+
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:212</li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="backgroundcolor"><span>background<wbr/>Color</span><a href="#backgroundcolor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">backgroundColor</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Color</span></div><div class="tsd-comment tsd-typography"><p>背景颜色</p>
|
|
88
|
+
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:209</li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="camera"><span>camera</span><a href="#camera" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">camera</span><span class="tsd-signature-symbol">:</span> <a href="five.Camera.html" class="tsd-signature-type tsd-kind-class">Camera</a></div><div class="tsd-comment tsd-typography"><p>内部使用的 <code>Camera</code></p>
|
|
89
|
+
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:162</li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="currentmode"><span>current<wbr/>Mode</span><a href="#currentmode" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">currentMode</span><span class="tsd-signature-symbol">:</span> <a href="../types/five.Mode.html" class="tsd-signature-type tsd-kind-type-alias">Mode</a></div><div class="tsd-comment tsd-typography"><p>当前展示的模式</p>
|
|
90
|
+
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:151</li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="enablelayeringrendering"><span>enable<wbr/>Layering<wbr/>Rendering</span><a href="#enablelayeringrendering" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">enableLayeringRendering</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:291</li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="ident"><span>ident</span><a href="#ident" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">ident</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:261</li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="imageoptions"><span>image<wbr/>Options</span><a href="#imageoptions" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">imageOptions</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/five.ImageOptions.html" class="tsd-signature-type tsd-kind-interface">ImageOptions</a></div><div class="tsd-comment tsd-typography"><p>全景图的配置参数</p>
|
|
91
|
+
</div><div class="tsd-comment tsd-typography"><div class="tsd-tag-description"><h4 class="tsd-anchor-link" id="description">Description<a href="#description" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>可以动态对配置在 <code>work</code> 数据中的全景图片在 runtime 做 url 调整。
|
|
92
92
|
平衡加载时间和图片质量</p>
|
|
93
|
-
</div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
94
|
-
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
95
|
-
</div><div class="tsd-comment tsd-typography"><
|
|
96
|
-
</div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
97
|
-
</div><div class="tsd-comment tsd-typography"><
|
|
93
|
+
</div></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:220</li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="modelscene"><span>model<wbr/>Scene</span><a href="#modelscene" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">modelScene</span><span class="tsd-signature-symbol">:</span> <a href="five.ModelScene.html" class="tsd-signature-type tsd-kind-class">ModelScene</a></div><div class="tsd-comment tsd-typography"><p>内部模型部分使用的 <code>THREE.Scene</code></p>
|
|
94
|
+
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:156</li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="modelsceneneedsrender"><span>model<wbr/>Scene<wbr/>Needs<wbr/>Render</span><a href="#modelsceneneedsrender" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">modelSceneNeedsRender</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><div class="tsd-comment tsd-typography"><p>模型是否需要更新渲染</p>
|
|
95
|
+
</div><div class="tsd-comment tsd-typography"><div class="tsd-tag-description"><h4 class="tsd-anchor-link" id="description-1">Description<a href="#description-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>可以设置modelNeedsRender为true,通知five进行模型渲染的更新</p>
|
|
96
|
+
</div></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:203</li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="needsrender"><span>needs<wbr/>Render</span><a href="#needsrender" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">needsRender</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><div class="tsd-comment tsd-typography"><p>是否需要渲染</p>
|
|
97
|
+
</div><div class="tsd-comment tsd-typography"><div class="tsd-tag-description"><h4 class="tsd-anchor-link" id="description-2">Description<a href="#description-2" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>如果初始化设置了 <code>onlyRenderIfNeeds: true</code>, 则会激活按需渲染
|
|
98
98
|
可以通过设置 <code>five.needsRender = true</code> 来告知,five 会在下一帧渲染画面。</p>
|
|
99
|
-
</div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
100
|
-
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
101
|
-
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
102
|
-
</div><div class="tsd-comment tsd-typography"><
|
|
103
|
-
</div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
104
|
-
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
105
|
-
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
106
|
-
</div><div class="tsd-comment tsd-typography"><
|
|
99
|
+
</div></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:191</li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="onlyrenderifneeds"><span>only<wbr/>Render<wbr/>If<wbr/>Needs</span><a href="#onlyrenderifneeds" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">onlyRenderIfNeeds</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><div class="tsd-comment tsd-typography"><p>是否按需渲染</p>
|
|
100
|
+
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:196</li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="pano"><span>pano</span><a href="#pano" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">pano</span><span class="tsd-signature-symbol">:</span> <a href="../types/five.Pano.html" class="tsd-signature-type tsd-kind-type-alias">Pano</a></div><div class="tsd-comment tsd-typography"><p>当前点位序号</p>
|
|
101
|
+
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:148</li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="paused"><span>paused</span><a href="#paused" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">paused</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><div class="tsd-comment tsd-typography"><p>自动播放状态是否暂停</p>
|
|
102
|
+
</div><div class="tsd-comment tsd-typography"><div class="tsd-tag-description"><h4 class="tsd-anchor-link" id="description-3">Description<a href="#description-3" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>可以通过 <code>five.play</code> <code>five.pause</code> 方法播放或暂停</p>
|
|
103
|
+
</div></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:145</li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="plugins"><span>plugins</span><a href="#plugins" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">plugins</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{</span> <span class="tsd-signature-symbol">[</span><span class="tsd-kind-index-signature">key</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">]:</span> <span class="tsd-signature-type">any</span> <span class="tsd-signature-symbol">}</span></div><div class="tsd-comment tsd-typography"><p>插件暴露的方法</p>
|
|
104
|
+
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:259</li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="poweredbyrealsee"><span>powered<wbr/>By<wbr/>Realsee</span><a href="#poweredbyrealsee" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">poweredByRealsee</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><div class="tsd-comment tsd-typography"><p>是否显示 Powered By Realsee</p>
|
|
105
|
+
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:206</li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="renderer"><code class="tsd-tag">Optional</code><span>renderer</span><a href="#renderer" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">renderer</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">WebGLRenderer</span></div><div class="tsd-comment tsd-typography"><p>当前使用的 THREE.WebGLRenderer。</p>
|
|
106
|
+
</div><div class="tsd-comment tsd-typography"><div class="tsd-tag-description"><h4 class="tsd-anchor-link" id="description-4">Description<a href="#description-4" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>如果初始化时传入了 <code>renderer</code> 则直接时该值
|
|
107
107
|
否则会通过 <code>preserveDrawingBuffer</code> <code>backgroundColor</code> <code>backgroundAlpha</code> <code>antialias</code> 创建一个 <code>THREE.WebGLRenderer</code></p>
|
|
108
|
-
</div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
109
|
-
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
110
|
-
</div><div class="tsd-comment tsd-typography"><
|
|
108
|
+
</div></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:183</li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="scene"><span>scene</span><a href="#scene" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">scene</span><span class="tsd-signature-symbol">:</span> <a href="five.Scene.html" class="tsd-signature-type tsd-kind-class">Scene</a></div><div class="tsd-comment tsd-typography"><p>非模型部分使用的 <code>THREE.Scene</code></p>
|
|
109
|
+
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:154</li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="state"><span>state</span><a href="#state" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">state</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/five.State.html" class="tsd-signature-type tsd-kind-interface">State</a></div><div class="tsd-comment tsd-typography"><p>当前状态</p>
|
|
110
|
+
</div><div class="tsd-comment tsd-typography"><div class="tsd-tag-description"><h4 class="tsd-anchor-link" id="description-5">Description<a href="#description-5" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><pre><code class="text">five 设置了以下状态
|
|
111
111
|
|
|
112
112
|
- mode: Mode
|
|
113
113
|
- panoIndex: number
|
|
@@ -121,22 +121,22 @@
|
|
|
121
121
|
来迎合一些通过数据驱动的场景。
|
|
122
122
|
</code><button type="button">Copy</button></pre>
|
|
123
123
|
|
|
124
|
-
</div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
125
|
-
</div><div class="tsd-comment tsd-typography"><
|
|
124
|
+
</div></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:256</li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="textureoptions"><span>texture<wbr/>Options</span><a href="#textureoptions" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">textureOptions</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/five.TextureOptions.html" class="tsd-signature-type tsd-kind-interface">TextureOptions</a></div><div class="tsd-comment tsd-typography"><p>模型贴图的配置参数</p>
|
|
125
|
+
</div><div class="tsd-comment tsd-typography"><div class="tsd-tag-description"><h4 class="tsd-anchor-link" id="description-6">Description<a href="#description-6" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>可以动态对配置在 <code>work</code> 数据中的模型贴图在 runtime 做 url 调整。
|
|
126
126
|
平衡加载时间和图片质量</p>
|
|
127
|
-
</div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
128
|
-
</div><div class="tsd-comment tsd-typography"><
|
|
127
|
+
</div></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:228</li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="videotexture"><span>video<wbr/>Texture</span><a href="#videotexture" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">videoTexture</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">VideoTexture</span></div><div class="tsd-comment tsd-typography"><p>模型贴图的配置参数</p>
|
|
128
|
+
</div><div class="tsd-comment tsd-typography"><div class="tsd-tag-description"><h4 class="tsd-anchor-link" id="description-7">Description<a href="#description-7" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>可以动态对配置在 <code>work</code> 数据中的模型贴图在 runtime 做 url 调整。
|
|
129
129
|
平衡加载时间和图片质量</p>
|
|
130
|
-
</div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
131
|
-
</div><div class="tsd-comment tsd-typography"><
|
|
130
|
+
</div></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:236</li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="viewport"><span>viewport</span><a href="#viewport" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">viewport</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/five.Viewport.html" class="tsd-signature-type tsd-kind-interface">Viewport</a></div><div class="tsd-comment tsd-typography"><p>当前设置的 <code>viewport</code></p>
|
|
131
|
+
</div><div class="tsd-comment tsd-typography"><div class="tsd-tag-description"><h4 class="tsd-anchor-link" id="description-8">Description<a href="#description-8" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>可通过初始化,或者 setScissor 方式设置
|
|
132
132
|
<code>viewport</code> 是将屏幕中的内容渲染到 <code>renderer</code> 的指定区域。
|
|
133
133
|
页面整体长宽均为 <code>1</code>。通过类似 css 的 <code>left</code> <code>bottom</code> <code>width</code> <code>height</code> 来确定区域。</p>
|
|
134
|
-
|
|
134
|
+
</div><div class="tsd-tag-example"><h4 class="tsd-anchor-link" id="example-1">Example<a href="#example-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><pre><code><span class="hl-15">viewport</span><span class="hl-1">: { </span><span class="hl-15">left</span><span class="hl-1">: </span><span class="hl-13">0.75</span><span class="hl-1">, </span><span class="hl-15">bottom</span><span class="hl-1">: </span><span class="hl-13">0</span><span class="hl-1">, </span><span class="hl-15">width</span><span class="hl-1">: </span><span class="hl-13">0.25</span><span class="hl-1">, </span><span class="hl-15">height</span><span class="hl-1">: </span><span class="hl-13">1</span><span class="hl-1"> }</span>
|
|
135
135
|
</code><button>Copy</button></pre>
|
|
136
136
|
|
|
137
|
-
</div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
138
|
-
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
139
|
-
</div><div class="tsd-comment tsd-typography"><
|
|
137
|
+
</div></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:175</li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="xrcustomobjectsscene"><span>xr<wbr/>Custom<wbr/>Objects<wbr/>Scene</span><a href="#xrcustomobjectsscene" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">xrCustomObjectsScene</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Scene</span></div><div class="tsd-comment tsd-typography"><p>供外部放置需要在xr场景下产生遮挡的物体们</p>
|
|
138
|
+
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:159</li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="mode"><code class="tsd-tag">Static</code><span>Mode</span><a href="#mode" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">Mode</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{</span><br/> <span class="tsd-kind-property">Floorplan</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"Floorplan"</span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">Mapview</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"Mapview"</span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">Model</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"Model"</span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">Panorama</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"Panorama"</span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">Topview</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"Topview"</span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">VRPanorama</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"VRPanorama"</span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">XRPanorama</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"XRPanorama"</span><span class="tsd-signature-symbol">;</span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol"> = ...</span></div><div class="tsd-comment tsd-typography"><p>Five 的显示模式,可以通过 <code>five.changeMode</code> <code>five.setState</code> 来切换</p>
|
|
139
|
+
</div><div class="tsd-comment tsd-typography"><div class="tsd-tag-description"><h4 class="tsd-anchor-link" id="description-9">Description<a href="#description-9" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><pre><code class="text">Panorama 全景图游走模式
|
|
140
140
|
Model 模型游走模式
|
|
141
141
|
Floorplan 模型查看模式
|
|
142
142
|
Topview 户型图模式
|
|
@@ -144,124 +144,124 @@ VRPanorama VR眼镜模式
|
|
|
144
144
|
XRPanorama VR硬件模式
|
|
145
145
|
</code><button type="button">Copy</button></pre>
|
|
146
146
|
|
|
147
|
-
</div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
148
|
-
</div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
149
|
-
</div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
150
|
-
</div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
151
|
-
</div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
152
|
-
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:623</li></ul></aside></li><li class="tsd-signature" id="helperVisible.helperVisible-2"><span class="tsd-signature-keyword">set</span> helperVisible<span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">visible</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">visible</span>: <span class="tsd-signature-type">boolean</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:626</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="internalLightsEnabled" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>internal<wbr/>Lights<wbr/>Enabled</span><a href="#internalLightsEnabled" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature" id="internalLightsEnabled.internalLightsEnabled-1"><span class="tsd-signature-keyword">get</span> internalLightsEnabled<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li><li class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:2752</li></ul></aside></li><li class="tsd-signature" id="internalLightsEnabled.internalLightsEnabled-2"><span class="tsd-signature-keyword">set</span> internalLightsEnabled<span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">value</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">value</span>: <span class="tsd-signature-type">boolean</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:2761</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="model-1" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>model</span><a href="#model-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature" id="model-1.model-2"><span class="tsd-signature-keyword">get</span> model<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="five.Model.html" class="tsd-signature-type tsd-kind-class">Model</a></li><li class="tsd-description"><h4 class="tsd-returns-title">Returns <a href="five.Model.html" class="tsd-signature-type tsd-kind-class">Model</a></h4><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:915</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="models" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>models</span><a href="#models" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature" id="models.models-1"><span class="tsd-signature-keyword">get</span> models<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../types/five.Models.html" class="tsd-signature-type tsd-kind-type-alias">Models</a></li><li class="tsd-description"><h4 class="tsd-returns-title">Returns <a href="../types/five.Models.html" class="tsd-signature-type tsd-kind-type-alias">Models</a></h4><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:911</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="observers" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>observers</span><a href="#observers" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature" id="observers.observers-1"><span class="tsd-signature-keyword">get</span> observers<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-keyword">readonly </span><a href="../interfaces/five.WorkObserver.html" class="tsd-signature-type tsd-kind-interface">WorkObserver</a><span class="tsd-signature-symbol">[]</span></li><li class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-keyword">readonly </span><a href="../interfaces/five.WorkObserver.html" class="tsd-signature-type tsd-kind-interface">WorkObserver</a><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:907</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="panoIndex" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>pano<wbr/>Index</span><a href="#panoIndex" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature" id="panoIndex.panoIndex-1"><span class="tsd-signature-keyword">get</span> panoIndex<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li><li class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:535</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="renderEffect" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>render<wbr/>Effect</span><a href="#renderEffect" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature" id="renderEffect.renderEffect-1"><span class="tsd-signature-keyword">get</span> renderEffect<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"default"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"edl"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"hq"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"luminance"</span></li><li class="tsd-description"><h4 class="tsd-returns-title">Returns <br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"default"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"edl"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"hq"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"luminance"</span></h4><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:687</li></ul></aside></li><li class="tsd-signature" id="renderEffect.renderEffect-2"><span class="tsd-signature-keyword">set</span> renderEffect<span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">value</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">value</span>: <br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"default"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"edl"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"hq"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"luminance"</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:691</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="scissor" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>scissor</span><a href="#scissor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature" id="scissor.scissor-1"><span class="tsd-signature-keyword">get</span> scissor<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/five.Viewport.html" class="tsd-signature-type tsd-kind-interface">Viewport</a></li><li class="tsd-description"><h4 class="tsd-returns-title">Returns <a href="../interfaces/five.Viewport.html" class="tsd-signature-type tsd-kind-interface">Viewport</a></h4><div class="tsd-comment tsd-typography"><h4 class="tsd-anchor-link"><a id="Deprecated-4" class="tsd-anchor"></a>Deprecated<a href="#Deprecated-4" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>use Viewport instead.</p>
|
|
153
|
-
</div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
154
|
-
</div><h4 class="tsd-returns-title">Returns <a href="../types/five.Works.html" class="tsd-signature-type tsd-kind-type-alias">Works</a></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
155
|
-
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">element</span>: <span class="tsd-signature-type">HTMLElement</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">(</span
|
|
156
|
-
<
|
|
147
|
+
</div></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:130</li></ul></aside></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Accessors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Accessors</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="enableedl"><span>enable<wbr/>EDL</span><a href="#enableedl" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li><div class="tsd-signature" id="enableedlenableedl"><span class="tsd-signature-keyword">get</span> <span class="tsd-kind-get-signature">enableEDL</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><div class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><div class="tsd-comment tsd-typography"><div class="tsd-tag-deprecated"><h4 class="tsd-anchor-link" id="deprecated">Deprecated<a href="#deprecated" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>use five.effect instead</p>
|
|
148
|
+
</div></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:2846</li></ul></aside></div></li><li><div class="tsd-signature" id="enableedlenableedl-1"><span class="tsd-signature-keyword">set</span> <span class="tsd-kind-set-signature">enableEDL</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">enable</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">enable</span>: <span class="tsd-signature-type">boolean</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:2849</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="enablehq"><span>enable<wbr/>HQ</span><a href="#enablehq" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li><div class="tsd-signature" id="enablehqenablehq"><span class="tsd-signature-keyword">get</span> <span class="tsd-kind-get-signature">enableHQ</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><div class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><div class="tsd-comment tsd-typography"><div class="tsd-tag-deprecated"><h4 class="tsd-anchor-link" id="deprecated-1">Deprecated<a href="#deprecated-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>use five.effect instead</p>
|
|
149
|
+
</div></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:2857</li></ul></aside></div></li><li><div class="tsd-signature" id="enablehqenablehq-1"><span class="tsd-signature-keyword">set</span> <span class="tsd-kind-set-signature">enableHQ</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">enable</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">enable</span>: <span class="tsd-signature-type">boolean</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:2860</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="enableiosedr"><span>enable<wbr/>IOSEDR</span><a href="#enableiosedr" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li><div class="tsd-signature" id="enableiosedrenableiosedr"><span class="tsd-signature-keyword">get</span> <span class="tsd-kind-get-signature">enableIOSEDR</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><div class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><div class="tsd-comment tsd-typography"><div class="tsd-tag-deprecated"><h4 class="tsd-anchor-link" id="deprecated-2">Deprecated<a href="#deprecated-2" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>use five.effect instead</p>
|
|
150
|
+
</div></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:2836</li></ul></aside></div></li><li><div class="tsd-signature" id="enableiosedrenableiosedr-1"><span class="tsd-signature-keyword">set</span> <span class="tsd-kind-set-signature">enableIOSEDR</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">enable</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">enable</span>: <span class="tsd-signature-type">boolean</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:2839</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="enablepostprocessing"><span>enable<wbr/>Post<wbr/>Processing</span><a href="#enablepostprocessing" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li><div class="tsd-signature" id="enablepostprocessingenablepostprocessing"><span class="tsd-signature-keyword">get</span> <span class="tsd-kind-get-signature">enablePostProcessing</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><div class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><div class="tsd-comment tsd-typography"><div class="tsd-tag-deprecated"><h4 class="tsd-anchor-link" id="deprecated-3">Deprecated<a href="#deprecated-3" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>use five.effect instead</p>
|
|
151
|
+
</div></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:2868</li></ul></aside></div></li><li><div class="tsd-signature" id="enablepostprocessingenablepostprocessing-1"><span class="tsd-signature-keyword">set</span> <span class="tsd-kind-set-signature">enablePostProcessing</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">enable</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">enable</span>: <span class="tsd-signature-type">boolean</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:2871</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="helpervisible"><span>helper<wbr/>Visible</span><a href="#helpervisible" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li><div class="tsd-signature" id="helpervisiblehelpervisible"><span class="tsd-signature-keyword">get</span> <span class="tsd-kind-get-signature">helperVisible</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>帮助元素显示/隐藏</p>
|
|
152
|
+
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:621</li></ul></aside></div></li><li><div class="tsd-signature" id="helpervisiblehelpervisible-1"><span class="tsd-signature-keyword">set</span> <span class="tsd-kind-set-signature">helperVisible</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">visible</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">visible</span>: <span class="tsd-signature-type">boolean</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:624</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="internallightsenabled"><span>internal<wbr/>Lights<wbr/>Enabled</span><a href="#internallightsenabled" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li><div class="tsd-signature" id="internallightsenabledinternallightsenabled"><span class="tsd-signature-keyword">get</span> <span class="tsd-kind-get-signature">internalLightsEnabled</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><div class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:2750</li></ul></aside></div></li><li><div class="tsd-signature" id="internallightsenabledinternallightsenabled-1"><span class="tsd-signature-keyword">set</span> <span class="tsd-kind-set-signature">internalLightsEnabled</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">value</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">value</span>: <span class="tsd-signature-type">boolean</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:2759</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="model"><span>model</span><a href="#model" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li><div class="tsd-signature" id="modelmodel"><span class="tsd-signature-keyword">get</span> <span class="tsd-kind-get-signature">model</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <a href="five.Model.html" class="tsd-signature-type tsd-kind-class">Model</a></div><div class="tsd-description"><h4 class="tsd-returns-title">Returns <a href="five.Model.html" class="tsd-signature-type tsd-kind-class">Model</a></h4><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:913</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="models"><span>models</span><a href="#models" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li><div class="tsd-signature" id="modelsmodels"><span class="tsd-signature-keyword">get</span> <span class="tsd-kind-get-signature">models</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <a href="../types/five.Models.html" class="tsd-signature-type tsd-kind-type-alias">Models</a></div><div class="tsd-description"><h4 class="tsd-returns-title">Returns <a href="../types/five.Models.html" class="tsd-signature-type tsd-kind-type-alias">Models</a></h4><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:909</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="observers"><span>observers</span><a href="#observers" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li><div class="tsd-signature" id="observersobservers"><span class="tsd-signature-keyword">get</span> <span class="tsd-kind-get-signature">observers</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-keyword">readonly</span> <a href="../interfaces/five.WorkObserver.html" class="tsd-signature-type tsd-kind-interface">WorkObserver</a><span class="tsd-signature-symbol">[]</span></div><div class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-keyword">readonly</span> <a href="../interfaces/five.WorkObserver.html" class="tsd-signature-type tsd-kind-interface">WorkObserver</a><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:905</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="panoindex"><span>pano<wbr/>Index</span><a href="#panoindex" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li><div class="tsd-signature" id="panoindexpanoindex"><span class="tsd-signature-keyword">get</span> <span class="tsd-kind-get-signature">panoIndex</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><div class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:533</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="rendereffect"><span>render<wbr/>Effect</span><a href="#rendereffect" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li><div class="tsd-signature" id="rendereffectrendereffect"><span class="tsd-signature-keyword">get</span> <span class="tsd-kind-get-signature">renderEffect</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"default"</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"edl"</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"hq"</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"luminance"</span></div><div class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">"default"</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"edl"</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"hq"</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"luminance"</span></h4><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:685</li></ul></aside></div></li><li><div class="tsd-signature" id="rendereffectrendereffect-1"><span class="tsd-signature-keyword">set</span> <span class="tsd-kind-set-signature">renderEffect</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">value</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"default"</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"edl"</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"hq"</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"luminance"</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">value</span>: <span class="tsd-signature-type">"default"</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"edl"</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"hq"</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"luminance"</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:689</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="scissor"><span>scissor</span><a href="#scissor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li><div class="tsd-signature" id="scissorscissor"><span class="tsd-signature-keyword">get</span> <span class="tsd-kind-get-signature">scissor</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/five.Viewport.html" class="tsd-signature-type tsd-kind-interface">Viewport</a></div><div class="tsd-description"><h4 class="tsd-returns-title">Returns <a href="../interfaces/five.Viewport.html" class="tsd-signature-type tsd-kind-interface">Viewport</a></h4><div class="tsd-comment tsd-typography"><div class="tsd-tag-deprecated"><h4 class="tsd-anchor-link" id="deprecated-4">Deprecated<a href="#deprecated-4" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>use Viewport instead.</p>
|
|
153
|
+
</div></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:2776</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="work"><span>work</span><a href="#work" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li><div class="tsd-signature" id="workwork"><span class="tsd-signature-keyword">get</span> <span class="tsd-kind-get-signature">work</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <a href="five.Work.html" class="tsd-signature-type tsd-kind-class">Work</a></div><div class="tsd-description"><h4 class="tsd-returns-title">Returns <a href="five.Work.html" class="tsd-signature-type tsd-kind-class">Work</a></h4><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:901</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="works"><span>works</span><a href="#works" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li><div class="tsd-signature" id="worksworks"><span class="tsd-signature-keyword">get</span> <span class="tsd-kind-get-signature">works</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <a href="../types/five.Works.html" class="tsd-signature-type tsd-kind-type-alias">Works</a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>当前加载的 work 数据</p>
|
|
154
|
+
</div><h4 class="tsd-returns-title">Returns <a href="../types/five.Works.html" class="tsd-signature-type tsd-kind-type-alias">Works</a></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:893</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="dracopath"><code class="tsd-tag">Static</code><span>draco<wbr/>Path</span><a href="#dracopath" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li><div class="tsd-signature" id="dracopathdracopath"><span class="tsd-signature-keyword">get</span> <span class="tsd-kind-get-signature">dracoPath</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><div class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:102</li></ul></aside></div></li><li><div class="tsd-signature" id="dracopathdracopath-1"><span class="tsd-signature-keyword">set</span> <span class="tsd-kind-set-signature">dracoPath</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">path</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">path</span>: <span class="tsd-signature-type">string</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:106</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="ktx2path"><code class="tsd-tag">Static</code><span>ktx2<wbr/>Path</span><a href="#ktx2path" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li><div class="tsd-signature" id="ktx2pathktx2path"><span class="tsd-signature-keyword">get</span> <span class="tsd-kind-get-signature">ktx2Path</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><div class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:110</li></ul></aside></div></li><li><div class="tsd-signature" id="ktx2pathktx2path-1"><span class="tsd-signature-keyword">set</span> <span class="tsd-kind-set-signature">ktx2Path</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">path</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">path</span>: <span class="tsd-signature-type">string</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:114</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="version"><code class="tsd-tag">Static</code><span>version</span><a href="#version" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li><div class="tsd-signature" id="versionversion"><span class="tsd-signature-keyword">get</span> <span class="tsd-kind-get-signature">version</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><div class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:97</li></ul></aside></div></li></ul></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Methods"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Methods</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="addextraelement"><span>add<wbr/>Extra<wbr/>Element</span><a href="#addextraelement" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="addextraelement-1"><span class="tsd-kind-call-signature">addExtraElement</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">element</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">HTMLElement</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">()</span> <span class="tsd-signature-symbol">=></span> <span class="tsd-signature-type">void</span><a href="#addextraelement-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>绑定一个额外 DOM 区域,接受触控/鼠标事件</p>
|
|
155
|
+
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">element</span>: <span class="tsd-signature-type">HTMLElement</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">()</span> <span class="tsd-signature-symbol">=></span> <span class="tsd-signature-type">void</span></h4><p>解除该绑定</p>
|
|
156
|
+
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:816</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="appendto"><span>append<wbr/>To</span><a href="#appendto" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="appendto-1"><span class="tsd-kind-call-signature">appendTo</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">element</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">HTMLElement</span><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">size</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">height</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">width</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#appendto-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>将显示区域加载到页面 DOM 中</p>
|
|
157
157
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">element</span>: <span class="tsd-signature-type">HTMLElement</span></span><div class="tsd-comment tsd-typography"><p>加载到页面的 DOM 元素</p>
|
|
158
|
-
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">size</span>: <span class="tsd-signature-symbol">{
|
|
159
|
-
</div><div class="tsd-comment tsd-typography"></div
|
|
160
|
-
</div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
161
|
-
</div><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span
|
|
162
|
-
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">state</span>: <span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Omit</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/five.State.html" class="tsd-signature-type tsd-kind-interface">State</a><span class="tsd-signature-symbol"
|
|
163
|
-
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">options</span>: <span class="tsd-signature-type">number</span
|
|
158
|
+
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">size</span>: <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">height</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">width</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol"> = {}</span></span><div class="tsd-comment tsd-typography"><p>显示区域尺寸 默认铺满这个 DOM 元素</p>
|
|
159
|
+
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"><div class="tsd-tag-description"><h4 class="tsd-anchor-link" id="description-10">Description<a href="#description-10" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>如果你是传入的 <code>renderer</code>. 则你需要自行来方式显示区域该方法并不生效</p>
|
|
160
|
+
</div></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:757</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="changemode"><span>change<wbr/>Mode</span><a href="#changemode" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="changemode-1"><span class="tsd-kind-call-signature">changeMode</span><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="#changemodet">T</a> <span class="tsd-signature-keyword">extends</span> <a href="../types/five.Mode.html" class="tsd-signature-type tsd-kind-type-alias">Mode</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span><br/> <span class="tsd-kind-parameter">mode</span><span class="tsd-signature-symbol">:</span> <a class="tsd-signature-type tsd-kind-type-parameter" href="#changemodet">T</a><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">state</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Omit</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/five.State.html" class="tsd-signature-type tsd-kind-interface">State</a><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">"mode"</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">options</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">duration</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">effect</span><span class="tsd-signature-symbol">?:</span> <a href="../types/five.MovePanoEffect.html" class="tsd-signature-type tsd-kind-type-alias">MovePanoEffect</a> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">userAction</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">force</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span><a href="#changemode-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>切换模态</p>
|
|
161
|
+
</div><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span id="changemodet"><span class="tsd-kind-type-parameter">T</span> <span class="tsd-signature-keyword">extends</span> <a href="../types/five.Mode.html" class="tsd-signature-type tsd-kind-type-alias">Mode</a></span></li></ul></section><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">mode</span>: <a class="tsd-signature-type tsd-kind-type-parameter" href="#changemodet">T</a></span><div class="tsd-comment tsd-typography"><p>切换到的模态</p>
|
|
162
|
+
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">state</span>: <span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Omit</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/five.State.html" class="tsd-signature-type tsd-kind-interface">State</a><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">"mode"</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = {}</span></span><div class="tsd-comment tsd-typography"><p>切换完成时的姿态</p>
|
|
163
|
+
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">options</span>: <span class="tsd-signature-type">number</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">duration</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">effect</span><span class="tsd-signature-symbol">?:</span> <a href="../types/five.MovePanoEffect.html" class="tsd-signature-type tsd-kind-type-alias">MovePanoEffect</a> <span class="tsd-signature-symbol">}</span></span><div class="tsd-comment tsd-typography"><p>模态切换动画用时</p>
|
|
164
164
|
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">userAction</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></span><div class="tsd-comment tsd-typography"><p>是否时用户动作触发 默认 true</p>
|
|
165
165
|
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">force</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></span><div class="tsd-comment tsd-typography"><p>必须重新初始化 controller</p>
|
|
166
|
-
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
167
|
-
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"><
|
|
166
|
+
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:1328</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="dispose"><span>dispose</span><a href="#dispose" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="dispose-1"><span class="tsd-kind-call-signature">dispose</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#dispose-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>析构 five 对象。</p>
|
|
167
|
+
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"><div class="tsd-tag-description"><h4 class="tsd-anchor-link" id="description-11">Description<a href="#description-11" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>一旦调用了析构方法,则不能再使用当前 five 对象了。
|
|
168
168
|
你可以新建一个新的。</p>
|
|
169
|
-
</div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
170
|
-
</div><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span
|
|
171
|
-
</div><div class="tsd-comment tsd-typography"></div></li></ul></section><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">name</span>: <a class="tsd-signature-type tsd-kind-type-parameter" href="five.NetworkSubscribe.html#
|
|
172
|
-
</div><div class="tsd-comment tsd-typography"></div></li><li><span><
|
|
169
|
+
</div></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:543</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="emit"><span>emit</span><a href="#emit" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited"><li class="tsd-is-inherited"><div class="tsd-signature tsd-anchor-link" id="emit-1"><span class="tsd-kind-call-signature">emit</span><span class="tsd-signature-symbol"><</span><br/> <a class="tsd-signature-type tsd-kind-type-parameter" href="#emitk">K</a> <span class="tsd-signature-keyword">extends</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"dispose"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"error"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"render"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"gesture.pan"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"gesture.tap"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"gesture.dbltap"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"gesture.press"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"gesture.pinch"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"gesture.mousewheel"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"gesture.mousemove"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"gesture.momentum"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"initAnimation.start"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"initAnimation.end"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"camera.update"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"intersect.update"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.select"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.request"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.moveTo"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.moving"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.arrived"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.cancel"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.error"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.texture.load"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.texture.progress"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.texture.success"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.texture.error"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.texture.abort"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"xr.session.end"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"xr.session.start"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"xr.gesture.tap"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"xr.gesture.press"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"xr.gesture.buttonUp"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"xr.gesture.buttonDown"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"xr.controller.update"</span><br/> <span class="tsd-signature-symbol">|</span> (keyof LegacyEventType)<br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"works.request"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"works.load"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"works.ready"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"state.set"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"state.change"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"state.synced"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"currentState.change"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"model.request"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"model.load"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"model.error"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"model.changeShownFloor"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"models.load"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"models.refined"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"render.prepare"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"mode.change.request"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"mode.change"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"helpers.visible"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"network.resource"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"fps"</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span><br/> <span class="tsd-kind-parameter">name</span><span class="tsd-signature-symbol">:</span> <a class="tsd-signature-type tsd-kind-type-parameter" href="five.NetworkSubscribe.html#emitk">K</a><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">data</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Parameters</span><span class="tsd-signature-symbol"><</span><a href="../types/five.EventTypes.html" class="tsd-signature-type tsd-kind-type-alias">EventTypes</a><span class="tsd-signature-symbol">[</span><a class="tsd-signature-type tsd-kind-type-parameter" href="five.NetworkSubscribe.html#emitk">K</a><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><a href="#emit-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>触发事件</p>
|
|
170
|
+
</div><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span id="emitk"><span class="tsd-kind-type-parameter">K</span> <span class="tsd-signature-keyword">extends</span> <br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"dispose"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"error"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"render"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"gesture.pan"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"gesture.tap"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"gesture.dbltap"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"gesture.press"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"gesture.pinch"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"gesture.mousewheel"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"gesture.mousemove"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"gesture.momentum"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"initAnimation.start"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"initAnimation.end"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"camera.update"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"intersect.update"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.select"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.request"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.moveTo"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.moving"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.arrived"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.cancel"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.error"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.texture.load"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.texture.progress"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.texture.success"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.texture.error"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.texture.abort"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"xr.session.end"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"xr.session.start"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"xr.gesture.tap"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"xr.gesture.press"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"xr.gesture.buttonUp"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"xr.gesture.buttonDown"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"xr.controller.update"</span><br/> <span class="tsd-signature-symbol">|</span> (keyof LegacyEventType)<br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"works.request"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"works.load"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"works.ready"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"state.set"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"state.change"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"state.synced"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"currentState.change"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"model.request"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"model.load"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"model.error"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"model.changeShownFloor"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"models.load"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"models.refined"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"render.prepare"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"mode.change.request"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"mode.change"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"helpers.visible"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"network.resource"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"fps"</span></span><div class="tsd-comment tsd-typography"><p>预设的监听事件名称</p>
|
|
171
|
+
</div><div class="tsd-comment tsd-typography"></div></li></ul></section><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">name</span>: <a class="tsd-signature-type tsd-kind-type-parameter" href="five.NetworkSubscribe.html#emitk">K</a></span><div class="tsd-comment tsd-typography"><p>事件类型</p>
|
|
172
|
+
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">data</span>: <span class="tsd-signature-type">Parameters</span><span class="tsd-signature-symbol"><</span><a href="../types/five.EventTypes.html" class="tsd-signature-type tsd-kind-type-alias">EventTypes</a><span class="tsd-signature-symbol">[</span><a class="tsd-signature-type tsd-kind-type-parameter" href="five.NetworkSubscribe.html#emitk">K</a><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">></span></span><div class="tsd-comment tsd-typography"><p>触发事件的数据</p>
|
|
173
173
|
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p>canceled 是否被触发取消</p>
|
|
174
|
-
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="five.Subscribe.html">Subscribe</a>.<a href="five.Subscribe.html#emit">emit</a></p><ul><li>Defined in lib/five/utils/subscribe.ts:131</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><
|
|
175
|
-
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
176
|
-
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">{
|
|
177
|
-
</div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
178
|
-
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">HTMLCanvasElement</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
179
|
-
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Pick</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/five.Pose.html" class="tsd-signature-type tsd-kind-interface">Pose</a><span class="tsd-signature-symbol"
|
|
180
|
-
</div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
181
|
-
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Vector3</span></h4><div class="tsd-comment tsd-typography"><
|
|
182
|
-
</div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
183
|
-
</div><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span
|
|
174
|
+
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="five.Subscribe.html">Subscribe</a>.<a href="five.Subscribe.html#emit">emit</a></p><ul><li>Defined in lib/five/utils/subscribe.ts:131</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="exitfullscreen"><span>exit<wbr/>Fullscreen</span><a href="#exitfullscreen" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="exitfullscreen-1"><span class="tsd-kind-call-signature">exitFullscreen</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#exitfullscreen-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>退出全屏</p>
|
|
175
|
+
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:2464</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="getcameralocal"><span class="deprecated">get<wbr/>Camera<wbr/>Local</span><a href="#getcameralocal" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="getcameralocal-1"><span class="tsd-kind-call-signature">getCameraLocal</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">lookAtVector</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Vector3</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">phi</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">theta</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span> <span class="tsd-signature-symbol">}</span><a href="#getcameralocal-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>获取当前相机的姿态(用于内部的 python 脚本截图)</p>
|
|
176
|
+
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">lookAtVector</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Vector3</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">phi</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">theta</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span> <span class="tsd-signature-symbol">}</span></h4><div class="tsd-comment tsd-typography"><div class="tsd-tag-deprecated"><h4 class="tsd-anchor-link" id="deprecated-5">Deprecated<a href="#deprecated-5" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>这是用于内部的 python 脚本截图</p>
|
|
177
|
+
</div></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:2818</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="getcurrentstate"><span>get<wbr/>Current<wbr/>State</span><a href="#getcurrentstate" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="getcurrentstate-1"><span class="tsd-kind-call-signature">getCurrentState</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/five.State.html" class="tsd-signature-type tsd-kind-interface">State</a><a href="#getcurrentstate-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><h4 class="tsd-returns-title">Returns <a href="../interfaces/five.State.html" class="tsd-signature-type tsd-kind-interface">State</a></h4><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:2082</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="getdrawingbuffersize"><span>get<wbr/>Drawing<wbr/>Buffer<wbr/>Size</span><a href="#getdrawingbuffersize" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="getdrawingbuffersize-1"><span class="tsd-kind-call-signature">getDrawingBufferSize</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">target</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Vector2</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Vector2</span><a href="#getdrawingbuffersize-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">target</span>: <span class="tsd-signature-type">Vector2</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Vector2</span></h4><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:848</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="getelement"><span>get<wbr/>Element</span><a href="#getelement" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="getelement-1"><span class="tsd-kind-call-signature">getElement</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">HTMLCanvasElement</span><a href="#getelement-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>获取显示用的画布(Canvas DOM节点)</p>
|
|
178
|
+
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">HTMLCanvasElement</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:1677</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="getlongitudeandlatitude"><span class="deprecated">get<wbr/>Longitude<wbr/>And<wbr/>Latitude</span><a href="#getlongitudeandlatitude" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="getlongitudeandlatitude-1"><span class="tsd-kind-call-signature">getLongitudeAndLatitude</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Pick</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/five.Pose.html" class="tsd-signature-type tsd-kind-interface">Pose</a><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">"longitude"</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"latitude"</span><span class="tsd-signature-symbol">></span><a href="#getlongitudeandlatitude-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>获取当前相机经纬度</p>
|
|
179
|
+
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Pick</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/five.Pose.html" class="tsd-signature-type tsd-kind-interface">Pose</a><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">"longitude"</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"latitude"</span><span class="tsd-signature-symbol">></span></h4><div class="tsd-comment tsd-typography"><div class="tsd-tag-deprecated"><h4 class="tsd-anchor-link" id="deprecated-6">Deprecated<a href="#deprecated-6" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>请使用使用 getPose</p>
|
|
180
|
+
</div></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:2801</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="getoffset"><span class="deprecated">get<wbr/>Offset</span><a href="#getoffset" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="getoffset-1"><span class="tsd-kind-call-signature">getOffset</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Vector3</span><a href="#getoffset-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>获取当前相机位置</p>
|
|
181
|
+
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Vector3</span></h4><div class="tsd-comment tsd-typography"><div class="tsd-tag-deprecated"><h4 class="tsd-anchor-link" id="deprecated-7">Deprecated<a href="#deprecated-7" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>请使用使用 getPose</p>
|
|
182
|
+
</div></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:2810</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="getpixels"><span>get<wbr/>Pixels</span><a href="#getpixels" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="getpixels-1"><span class="tsd-kind-call-signature">getPixels</span><span class="tsd-signature-symbol"><</span><br/> <a class="tsd-signature-type tsd-kind-type-parameter" href="#getpixelst">T</a> <span class="tsd-signature-keyword">extends</span><br/> <span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">ArrayBufferLike</span><span class="tsd-signature-symbol">></span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">Uint8ClampedArray</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">ArrayBufferLike</span><span class="tsd-signature-symbol">></span> <span class="tsd-signature-symbol">=</span> <span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">ArrayBufferLike</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span><br/> <span class="tsd-kind-parameter">x</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">y</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">width</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">height</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">pixelRatio</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">flipY</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">buffer</span><span class="tsd-signature-symbol">?:</span> <a class="tsd-signature-type tsd-kind-type-parameter" href="#getpixelst">T</a><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <a class="tsd-signature-type tsd-kind-type-parameter" href="#getpixelst">T</a><a href="#getpixels-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>获取画面中的像素颜色</p>
|
|
183
|
+
</div><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span id="getpixelst"><span class="tsd-kind-type-parameter">T</span> <span class="tsd-signature-keyword">extends</span> <span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">ArrayBufferLike</span><span class="tsd-signature-symbol">></span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">Uint8ClampedArray</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">ArrayBufferLike</span><span class="tsd-signature-symbol">></span> = <span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">ArrayBufferLike</span><span class="tsd-signature-symbol">></span></span></li></ul></section><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">x</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>获取像素区域的起始坐标 x</p>
|
|
184
184
|
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">y</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>获取像素区域的起始坐标 y</p>
|
|
185
185
|
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">width</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>获取像素区域的宽度</p>
|
|
186
186
|
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">height</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>获取像素区域的高度</p>
|
|
187
187
|
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">pixelRatio</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>获取区域的像素比</p>
|
|
188
188
|
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">flipY</span>: <span class="tsd-signature-type">boolean</span></span><div class="tsd-comment tsd-typography"><p>是否Y轴翻转</p>
|
|
189
|
-
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">buffer</span>: <a class="tsd-signature-type tsd-kind-type-parameter" href="
|
|
190
|
-
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <a class="tsd-signature-type tsd-kind-type-parameter" href="
|
|
191
|
-
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
192
|
-
</div><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span
|
|
193
|
-
</div><div class="tsd-comment tsd-typography"></div><ul class="tsd-parameters"><li class="tsd-parameter"><h5><code class="tsd-tag">Optional</code><span class="tsd-kind-property">buffer</span><span class="tsd-signature-symbol">?: </span><a class="tsd-signature-type tsd-kind-type-parameter" href="
|
|
189
|
+
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">buffer</span>: <a class="tsd-signature-type tsd-kind-type-parameter" href="#getpixelst">T</a></span><div class="tsd-comment tsd-typography"><p>存储数组</p>
|
|
190
|
+
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <a class="tsd-signature-type tsd-kind-type-parameter" href="#getpixelst">T</a></h4><p>rgba颜色平铺的 Uint8Array</p>
|
|
191
|
+
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:1505</li></ul></aside></div></li><li class=""><div class="tsd-signature tsd-anchor-link" id="getpixels-2"><span class="tsd-kind-call-signature">getPixels</span><span class="tsd-signature-symbol"><</span><br/> <a class="tsd-signature-type tsd-kind-type-parameter" href="#getpixelst-1">T</a> <span class="tsd-signature-keyword">extends</span><br/> <span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">ArrayBufferLike</span><span class="tsd-signature-symbol">></span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">Uint8ClampedArray</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">ArrayBufferLike</span><span class="tsd-signature-symbol">></span> <span class="tsd-signature-symbol">=</span> <span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">ArrayBufferLike</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span><br/> <span class="tsd-kind-parameter">options</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{</span><br/> <span class="tsd-kind-property">buffer</span><span class="tsd-signature-symbol">?:</span> <a class="tsd-signature-type tsd-kind-type-parameter" href="#getpixelst-1">T</a><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">flipY</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">height</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">helperVisible</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">pixelRatio</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">skipPanorama</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">width</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">x</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">y</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <a class="tsd-signature-type tsd-kind-type-parameter" href="#getpixelst-1">T</a><a href="#getpixels-2" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>获取画面中的像素颜色</p>
|
|
192
|
+
</div><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span id="getpixelst-1"><span class="tsd-kind-type-parameter">T</span> <span class="tsd-signature-keyword">extends</span> <span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">ArrayBufferLike</span><span class="tsd-signature-symbol">></span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">Uint8ClampedArray</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">ArrayBufferLike</span><span class="tsd-signature-symbol">></span> = <span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">ArrayBufferLike</span><span class="tsd-signature-symbol">></span></span></li></ul></section><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">options</span>: <span class="tsd-signature-symbol">{</span><br/> <span class="tsd-kind-property">buffer</span><span class="tsd-signature-symbol">?:</span> <a class="tsd-signature-type tsd-kind-type-parameter" href="#getpixelst-1">T</a><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">flipY</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">height</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">helperVisible</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">pixelRatio</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">skipPanorama</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">width</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">x</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">y</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span><br/><span class="tsd-signature-symbol">}</span></span><div class="tsd-comment tsd-typography"><p>参数</p>
|
|
193
|
+
</div><div class="tsd-comment tsd-typography"></div><ul class="tsd-parameters"><li class="tsd-parameter"><h5><code class="tsd-tag">Optional</code><span class="tsd-kind-property">buffer</span><span class="tsd-signature-symbol">?: </span><a class="tsd-signature-type tsd-kind-type-parameter" href="#getpixelst-1">T</a></h5><div class="tsd-comment tsd-typography"><p>存储数组</p>
|
|
194
194
|
</div><div class="tsd-comment tsd-typography"></div></li><li class="tsd-parameter"><h5><code class="tsd-tag">Optional</code><span class="tsd-kind-property">flipY</span><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span></h5><div class="tsd-comment tsd-typography"><p>是否Y轴翻转</p>
|
|
195
195
|
</div><div class="tsd-comment tsd-typography"></div></li><li class="tsd-parameter"><h5><span class="tsd-kind-property">height</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><p>获取像素区域的高度</p>
|
|
196
|
-
</div><div class="tsd-comment tsd-typography"></div></li><li class="tsd-parameter"><h5><code class="tsd-tag">Optional</code><span class="tsd-kind-property">
|
|
197
|
-
</div><div class="tsd-comment tsd-typography"></div></li><li class="tsd-parameter"><h5><code class="tsd-tag">Optional</code><span class="tsd-kind-property">
|
|
196
|
+
</div><div class="tsd-comment tsd-typography"></div></li><li class="tsd-parameter"><h5><code class="tsd-tag">Optional</code><span class="tsd-kind-property">helperVisible</span><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span></h5></li><li class="tsd-parameter"><h5><code class="tsd-tag">Optional</code><span class="tsd-kind-property">pixelRatio</span><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><p>获取区域的像素比</p>
|
|
197
|
+
</div><div class="tsd-comment tsd-typography"></div></li><li class="tsd-parameter"><h5><code class="tsd-tag">Optional</code><span class="tsd-kind-property">skipPanorama</span><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span></h5></li><li class="tsd-parameter"><h5><span class="tsd-kind-property">width</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><p>获取像素区域的宽度</p>
|
|
198
198
|
</div><div class="tsd-comment tsd-typography"></div></li><li class="tsd-parameter"><h5><span class="tsd-kind-property">x</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><p>获取像素区域的起始坐标 x</p>
|
|
199
199
|
</div><div class="tsd-comment tsd-typography"></div></li><li class="tsd-parameter"><h5><span class="tsd-kind-property">y</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><p>获取像素区域的起始坐标 y</p>
|
|
200
|
-
</div><div class="tsd-comment tsd-typography"></div></li></ul></li></ul></div><h4 class="tsd-returns-title">Returns <a class="tsd-signature-type tsd-kind-type-parameter" href="
|
|
201
|
-
</div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
202
|
-
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">name</span>: <br
|
|
203
|
-
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="five.Subscribe.html">Subscribe</a>.<a href="five.Subscribe.html#
|
|
204
|
-
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">inputWork</span>: <br
|
|
205
|
-
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">state</span>: <span class="tsd-signature-type">"initial"</span
|
|
200
|
+
</div><div class="tsd-comment tsd-typography"></div></li></ul></li></ul></div><h4 class="tsd-returns-title">Returns <a class="tsd-signature-type tsd-kind-type-parameter" href="#getpixelst-1">T</a></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:1519</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="getpose"><span class="deprecated">get<wbr/>Pose</span><a href="#getpose" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="getpose-1"><span class="tsd-kind-call-signature">getPose</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/five.Pose.html" class="tsd-signature-type tsd-kind-interface">Pose</a><a href="#getpose-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><h4 class="tsd-returns-title">Returns <a href="../interfaces/five.Pose.html" class="tsd-signature-type tsd-kind-interface">Pose</a></h4><div class="tsd-comment tsd-typography"><div class="tsd-tag-deprecated"><h4 class="tsd-anchor-link" id="deprecated-8">Deprecated<a href="#deprecated-8" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>获取当前相机姿态, 可以使用 getCurrentState 代替</p>
|
|
201
|
+
</div></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:2792</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="getsize"><span>get<wbr/>Size</span><a href="#getsize" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="getsize-1"><span class="tsd-kind-call-signature">getSize</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">target</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Vector2</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Vector2</span><a href="#getsize-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">target</span>: <span class="tsd-signature-type">Vector2</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Vector2</span></h4><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:838</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="haslistener"><span>has<wbr/>Listener</span><a href="#haslistener" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited"><li class="tsd-is-inherited"><div class="tsd-signature tsd-anchor-link" id="haslistener-1"><span class="tsd-kind-call-signature">hasListener</span><span class="tsd-signature-symbol">(</span><br/> <span class="tsd-kind-parameter">name</span><span class="tsd-signature-symbol">:</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"dispose"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"error"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"render"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"gesture.pan"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"gesture.tap"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"gesture.dbltap"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"gesture.press"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"gesture.pinch"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"gesture.mousewheel"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"gesture.mousemove"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"gesture.momentum"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"initAnimation.start"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"initAnimation.end"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"camera.update"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"intersect.update"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.select"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.request"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.moveTo"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.moving"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.arrived"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.cancel"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.error"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.texture.load"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.texture.progress"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.texture.success"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.texture.error"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.texture.abort"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"xr.session.end"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"xr.session.start"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"xr.gesture.tap"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"xr.gesture.press"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"xr.gesture.buttonUp"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"xr.gesture.buttonDown"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"xr.controller.update"</span><br/> <span class="tsd-signature-symbol">|</span> (keyof LegacyEventType)<br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"works.request"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"works.load"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"works.ready"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"state.set"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"state.change"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"state.synced"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"currentState.change"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"model.request"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"model.load"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"model.error"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"model.changeShownFloor"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"models.load"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"models.refined"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"render.prepare"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"mode.change.request"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"mode.change"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"helpers.visible"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"network.resource"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"fps"</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><a href="#haslistener-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>判断是否注册了事件</p>
|
|
202
|
+
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">name</span>: <br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"dispose"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"error"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"render"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"gesture.pan"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"gesture.tap"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"gesture.dbltap"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"gesture.press"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"gesture.pinch"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"gesture.mousewheel"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"gesture.mousemove"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"gesture.momentum"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"initAnimation.start"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"initAnimation.end"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"camera.update"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"intersect.update"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.select"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.request"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.moveTo"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.moving"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.arrived"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.cancel"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.error"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.texture.load"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.texture.progress"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.texture.success"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.texture.error"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.texture.abort"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"xr.session.end"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"xr.session.start"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"xr.gesture.tap"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"xr.gesture.press"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"xr.gesture.buttonUp"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"xr.gesture.buttonDown"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"xr.controller.update"</span><br/> <span class="tsd-signature-symbol">|</span> (keyof LegacyEventType)<br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"works.request"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"works.load"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"works.ready"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"state.set"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"state.change"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"state.synced"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"currentState.change"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"model.request"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"model.load"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"model.error"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"model.changeShownFloor"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"models.load"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"models.refined"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"render.prepare"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"mode.change.request"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"mode.change"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"helpers.visible"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"network.resource"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"fps"</span></span><div class="tsd-comment tsd-typography"><p>事件类型</p>
|
|
203
|
+
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="five.Subscribe.html">Subscribe</a>.<a href="five.Subscribe.html#haslistener">hasListener</a></p><ul><li>Defined in lib/five/utils/subscribe.ts:44</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="load"><span>load</span><a href="#load" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="load-1"><span class="tsd-kind-call-signature">load</span><span class="tsd-signature-symbol">(</span><br/> <span class="tsd-kind-parameter">inputWork</span><span class="tsd-signature-symbol">:</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">string</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><br/> <span class="tsd-signature-symbol">|</span> <a href="../interfaces/five.LooseWork.html" class="tsd-signature-type tsd-kind-interface">LooseWork</a><br/> <span class="tsd-signature-symbol">|</span> <a href="five.Work.html" class="tsd-signature-type tsd-kind-class">Work</a><br/> <span class="tsd-signature-symbol">|</span> <a href="five.Work.html" class="tsd-signature-type tsd-kind-class">Work</a><span class="tsd-signature-symbol">[]</span><br/> <span class="tsd-signature-symbol">|</span> <a href="../interfaces/five.LooseWork.html" class="tsd-signature-type tsd-kind-interface">LooseWork</a><span class="tsd-signature-symbol">[]</span><br/> <span class="tsd-signature-symbol">|</span> <a href="../interfaces/five.LooseWorkWithExtrinsics.html" class="tsd-signature-type tsd-kind-interface">LooseWorkWithExtrinsics</a><span class="tsd-signature-symbol">[]</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><br/> <a href="../interfaces/five.LooseWork.html" class="tsd-signature-type tsd-kind-interface">LooseWork</a><br/> <span class="tsd-signature-symbol">|</span> <a href="five.Work.html" class="tsd-signature-type tsd-kind-class">Work</a><br/> <span class="tsd-signature-symbol">|</span> <a href="five.Work.html" class="tsd-signature-type tsd-kind-class">Work</a><span class="tsd-signature-symbol">[]</span><br/> <span class="tsd-signature-symbol">|</span> <a href="../interfaces/five.LooseWork.html" class="tsd-signature-type tsd-kind-interface">LooseWork</a><span class="tsd-signature-symbol">[]</span><br/> <span class="tsd-signature-symbol">|</span> <a href="../interfaces/five.LooseWorkWithExtrinsics.html" class="tsd-signature-type tsd-kind-interface">LooseWorkWithExtrinsics</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">state</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">"initial"</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/five.State.html" class="tsd-signature-type tsd-kind-interface">State</a><span class="tsd-signature-symbol">></span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"inherit"</span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">options</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span> <span class="tsd-signature-symbol">|</span> <a href="../interfaces/five.FiveLoadOptions.html" class="tsd-signature-type tsd-kind-interface">FiveLoadOptions</a><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">userAction</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span><a href="#load-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>加载 Work 数据</p>
|
|
204
|
+
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">inputWork</span>: <br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">string</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><br/> <span class="tsd-signature-symbol">|</span> <a href="../interfaces/five.LooseWork.html" class="tsd-signature-type tsd-kind-interface">LooseWork</a><br/> <span class="tsd-signature-symbol">|</span> <a href="five.Work.html" class="tsd-signature-type tsd-kind-class">Work</a><br/> <span class="tsd-signature-symbol">|</span> <a href="five.Work.html" class="tsd-signature-type tsd-kind-class">Work</a><span class="tsd-signature-symbol">[]</span><br/> <span class="tsd-signature-symbol">|</span> <a href="../interfaces/five.LooseWork.html" class="tsd-signature-type tsd-kind-interface">LooseWork</a><span class="tsd-signature-symbol">[]</span><br/> <span class="tsd-signature-symbol">|</span> <a href="../interfaces/five.LooseWorkWithExtrinsics.html" class="tsd-signature-type tsd-kind-interface">LooseWorkWithExtrinsics</a><span class="tsd-signature-symbol">[]</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><br/> <a href="../interfaces/five.LooseWork.html" class="tsd-signature-type tsd-kind-interface">LooseWork</a><br/> <span class="tsd-signature-symbol">|</span> <a href="five.Work.html" class="tsd-signature-type tsd-kind-class">Work</a><br/> <span class="tsd-signature-symbol">|</span> <a href="five.Work.html" class="tsd-signature-type tsd-kind-class">Work</a><span class="tsd-signature-symbol">[]</span><br/> <span class="tsd-signature-symbol">|</span> <a href="../interfaces/five.LooseWork.html" class="tsd-signature-type tsd-kind-interface">LooseWork</a><span class="tsd-signature-symbol">[]</span><br/> <span class="tsd-signature-symbol">|</span> <a href="../interfaces/five.LooseWorkWithExtrinsics.html" class="tsd-signature-type tsd-kind-interface">LooseWorkWithExtrinsics</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-signature-symbol">></span></span><div class="tsd-comment tsd-typography"><p>Work 数据</p>
|
|
205
|
+
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">state</span>: <span class="tsd-signature-type">"initial"</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/five.State.html" class="tsd-signature-type tsd-kind-interface">State</a><span class="tsd-signature-symbol">></span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"inherit"</span></span><div class="tsd-comment tsd-typography"><p>初始化姿态</p>
|
|
206
206
|
<ul>
|
|
207
207
|
<li>"inherit" 使用当前姿态</li>
|
|
208
208
|
<li>"initial" 使用 Work 数据中的 initial 姿态</li>
|
|
209
209
|
<li>State 自定义姿态</li>
|
|
210
210
|
</ul>
|
|
211
|
-
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">options</span>: <span class="tsd-signature-type">number</span
|
|
212
|
-
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">userAction</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
213
|
-
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">pano</span>: <span class="tsd-signature-type">number</span
|
|
211
|
+
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">options</span>: <span class="tsd-signature-type">number</span> <span class="tsd-signature-symbol">|</span> <a href="../interfaces/five.FiveLoadOptions.html" class="tsd-signature-type tsd-kind-interface">FiveLoadOptions</a></span><div class="tsd-comment tsd-typography"><p>切换时间, 切换效果</p>
|
|
212
|
+
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">userAction</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:926</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="movetopano"><span>move<wbr/>To<wbr/>Pano</span><a href="#movetopano" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="movetopano-1"><span class="tsd-kind-call-signature">moveToPano</span><span class="tsd-signature-symbol">(</span><br/> <span class="tsd-kind-parameter">pano</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span> <span class="tsd-signature-symbol">|</span> <a href="../types/five.Pano.html" class="tsd-signature-type tsd-kind-type-alias">Pano</a> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-symbol">`</span><span class="tsd-signature-symbol">${</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">}</span><span class="tsd-signature-type">[</span><span class="tsd-signature-symbol">${</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">}</span><span class="tsd-signature-type">]</span><span class="tsd-signature-symbol">`</span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">options</span><span class="tsd-signature-symbol">?:</span> <a href="../interfaces/five.MovePanoOptions.html" class="tsd-signature-type tsd-kind-interface">MovePanoOptions</a><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">userAction</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span><a href="#movetopano-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>转化到 Panorama 模态,并移动到对应序号的观察点。</p>
|
|
213
|
+
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">pano</span>: <span class="tsd-signature-type">number</span> <span class="tsd-signature-symbol">|</span> <a href="../types/five.Pano.html" class="tsd-signature-type tsd-kind-type-alias">Pano</a> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-symbol">`</span><span class="tsd-signature-symbol">${</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">}</span><span class="tsd-signature-type">[</span><span class="tsd-signature-symbol">${</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">}</span><span class="tsd-signature-type">]</span><span class="tsd-signature-symbol">`</span></span><div class="tsd-comment tsd-typography"><p>观察点序号</p>
|
|
214
214
|
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">options</span>: <a href="../interfaces/five.MovePanoOptions.html" class="tsd-signature-type tsd-kind-interface">MovePanoOptions</a><span class="tsd-signature-symbol"> = {}</span></span><div class="tsd-comment tsd-typography"><p>移动点位参数</p>
|
|
215
215
|
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">userAction</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></span><div class="tsd-comment tsd-typography"><p>是否用户触犯</p>
|
|
216
|
-
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
216
|
+
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:1980</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="off"><span>off</span><a href="#off" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited"><li class="tsd-is-inherited"><div class="tsd-signature tsd-anchor-link" id="off-1"><span class="tsd-kind-call-signature">off</span><span class="tsd-signature-symbol"><</span><br/> <a class="tsd-signature-type tsd-kind-type-parameter" href="#offk">K</a> <span class="tsd-signature-keyword">extends</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"dispose"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"error"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"render"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"gesture.pan"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"gesture.tap"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"gesture.dbltap"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"gesture.press"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"gesture.pinch"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"gesture.mousewheel"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"gesture.mousemove"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"gesture.momentum"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"initAnimation.start"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"initAnimation.end"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"camera.update"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"intersect.update"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.select"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.request"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.moveTo"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.moving"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.arrived"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.cancel"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.error"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.texture.load"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.texture.progress"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.texture.success"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.texture.error"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.texture.abort"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"xr.session.end"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"xr.session.start"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"xr.gesture.tap"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"xr.gesture.press"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"xr.gesture.buttonUp"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"xr.gesture.buttonDown"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"xr.controller.update"</span><br/> <span class="tsd-signature-symbol">|</span> (keyof LegacyEventType)<br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"works.request"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"works.load"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"works.ready"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"state.set"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"state.change"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"state.synced"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"currentState.change"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"model.request"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"model.load"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"model.error"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"model.changeShownFloor"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"models.load"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"models.refined"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"render.prepare"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"mode.change.request"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"mode.change"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"helpers.visible"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"network.resource"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"fps"</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span><br/> <span class="tsd-kind-parameter">name</span><span class="tsd-signature-symbol">?:</span> <a class="tsd-signature-type tsd-kind-type-parameter" href="five.NetworkSubscribe.html#offk">K</a><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">callback</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-symbol">(</span><br/> <span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">args</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Parameters</span><span class="tsd-signature-symbol"><</span><a href="../types/five.EventTypes.html" class="tsd-signature-type tsd-kind-type-alias">EventTypes</a><span class="tsd-signature-symbol">[</span><a class="tsd-signature-type tsd-kind-type-parameter" href="five.NetworkSubscribe.html#offk">K</a><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=></span> <span class="tsd-signature-type">ReturnType</span><span class="tsd-signature-symbol"><</span><a href="../types/five.EventTypes.html" class="tsd-signature-type tsd-kind-type-alias">EventTypes</a><span class="tsd-signature-symbol">[</span><a class="tsd-signature-type tsd-kind-type-parameter" href="five.NetworkSubscribe.html#offk">K</a><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#off-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>解除事件</p>
|
|
217
217
|
<p>如果 name 不传的话解除对应所有事件
|
|
218
218
|
如果 name, callback 不传的话解除所有name的所有事件</p>
|
|
219
|
-
</div><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span
|
|
220
|
-
</div><div class="tsd-comment tsd-typography"></div></li></ul></section><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">name</span>: <a class="tsd-signature-type tsd-kind-type-parameter" href="five.NetworkSubscribe.html#
|
|
221
|
-
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">callback</span>: <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol"
|
|
222
|
-
</div><div class="tsd-comment tsd-typography"></div><
|
|
223
|
-
</div><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span
|
|
224
|
-
</div><div class="tsd-comment tsd-typography"></div></li></ul></section><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">name</span>: <a class="tsd-signature-type tsd-kind-type-parameter" href="five.NetworkSubscribe.html#
|
|
225
|
-
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">callback</span>: <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol"
|
|
226
|
-
</div><div class="tsd-comment tsd-typography"></div
|
|
227
|
-
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">(</span
|
|
228
|
-
<
|
|
229
|
-
</div><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span
|
|
230
|
-
</div><div class="tsd-comment tsd-typography"></div></li></ul></section><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">name</span>: <a class="tsd-signature-type tsd-kind-type-parameter" href="five.NetworkSubscribe.html#
|
|
231
|
-
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">callback</span>: <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol"
|
|
232
|
-
</div><div class="tsd-comment tsd-typography"></div
|
|
233
|
-
<
|
|
234
|
-
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
235
|
-
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">pano</span>: <span class="tsd-signature-type">number</span
|
|
236
|
-
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">callback</span>: <span class="tsd-signature-symbol">(</span><span class="tsd-
|
|
237
|
-
</div><div class="tsd-comment tsd-typography"></div
|
|
238
|
-
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
219
|
+
</div><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span id="offk"><span class="tsd-kind-type-parameter">K</span> <span class="tsd-signature-keyword">extends</span> <br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"dispose"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"error"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"render"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"gesture.pan"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"gesture.tap"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"gesture.dbltap"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"gesture.press"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"gesture.pinch"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"gesture.mousewheel"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"gesture.mousemove"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"gesture.momentum"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"initAnimation.start"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"initAnimation.end"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"camera.update"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"intersect.update"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.select"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.request"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.moveTo"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.moving"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.arrived"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.cancel"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.error"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.texture.load"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.texture.progress"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.texture.success"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.texture.error"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.texture.abort"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"xr.session.end"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"xr.session.start"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"xr.gesture.tap"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"xr.gesture.press"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"xr.gesture.buttonUp"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"xr.gesture.buttonDown"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"xr.controller.update"</span><br/> <span class="tsd-signature-symbol">|</span> (keyof LegacyEventType)<br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"works.request"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"works.load"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"works.ready"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"state.set"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"state.change"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"state.synced"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"currentState.change"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"model.request"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"model.load"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"model.error"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"model.changeShownFloor"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"models.load"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"models.refined"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"render.prepare"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"mode.change.request"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"mode.change"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"helpers.visible"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"network.resource"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"fps"</span></span><div class="tsd-comment tsd-typography"><p>预设的监听事件名称</p>
|
|
220
|
+
</div><div class="tsd-comment tsd-typography"></div></li></ul></section><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">name</span>: <a class="tsd-signature-type tsd-kind-type-parameter" href="five.NetworkSubscribe.html#offk">K</a></span><div class="tsd-comment tsd-typography"><p>事件类型</p>
|
|
221
|
+
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">callback</span>: <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">args</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Parameters</span><span class="tsd-signature-symbol"><</span><a href="../types/five.EventTypes.html" class="tsd-signature-type tsd-kind-type-alias">EventTypes</a><span class="tsd-signature-symbol">[</span><a class="tsd-signature-type tsd-kind-type-parameter" href="five.NetworkSubscribe.html#offk">K</a><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=></span> <span class="tsd-signature-type">ReturnType</span><span class="tsd-signature-symbol"><</span><a href="../types/five.EventTypes.html" class="tsd-signature-type tsd-kind-type-alias">EventTypes</a><span class="tsd-signature-symbol">[</span><a class="tsd-signature-type tsd-kind-type-parameter" href="five.NetworkSubscribe.html#offk">K</a><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">></span></span><div class="tsd-comment tsd-typography"><p>事件回调函数</p>
|
|
222
|
+
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="five.Subscribe.html">Subscribe</a>.<a href="five.Subscribe.html#off">off</a></p><ul><li>Defined in lib/five/utils/subscribe.ts:97</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="on"><span>on</span><a href="#on" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited"><li class="tsd-is-inherited"><div class="tsd-signature tsd-anchor-link" id="on-1"><span class="tsd-kind-call-signature">on</span><span class="tsd-signature-symbol"><</span><br/> <a class="tsd-signature-type tsd-kind-type-parameter" href="#onk">K</a> <span class="tsd-signature-keyword">extends</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"dispose"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"error"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"render"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"gesture.pan"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"gesture.tap"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"gesture.dbltap"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"gesture.press"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"gesture.pinch"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"gesture.mousewheel"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"gesture.mousemove"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"gesture.momentum"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"initAnimation.start"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"initAnimation.end"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"camera.update"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"intersect.update"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.select"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.request"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.moveTo"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.moving"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.arrived"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.cancel"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.error"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.texture.load"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.texture.progress"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.texture.success"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.texture.error"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.texture.abort"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"xr.session.end"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"xr.session.start"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"xr.gesture.tap"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"xr.gesture.press"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"xr.gesture.buttonUp"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"xr.gesture.buttonDown"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"xr.controller.update"</span><br/> <span class="tsd-signature-symbol">|</span> (keyof LegacyEventType)<br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"works.request"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"works.load"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"works.ready"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"state.set"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"state.change"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"state.synced"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"currentState.change"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"model.request"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"model.load"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"model.error"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"model.changeShownFloor"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"models.load"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"models.refined"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"render.prepare"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"mode.change.request"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"mode.change"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"helpers.visible"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"network.resource"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"fps"</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span><br/> <span class="tsd-kind-parameter">name</span><span class="tsd-signature-symbol">:</span> <a class="tsd-signature-type tsd-kind-type-parameter" href="five.NetworkSubscribe.html#onk">K</a><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">callback</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">args</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Parameters</span><span class="tsd-signature-symbol"><</span><a href="../types/five.EventTypes.html" class="tsd-signature-type tsd-kind-type-alias">EventTypes</a><span class="tsd-signature-symbol">[</span><a class="tsd-signature-type tsd-kind-type-parameter" href="five.NetworkSubscribe.html#onk">K</a><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=></span> <span class="tsd-signature-type">ReturnType</span><span class="tsd-signature-symbol"><</span><a href="../types/five.EventTypes.html" class="tsd-signature-type tsd-kind-type-alias">EventTypes</a><span class="tsd-signature-symbol">[</span><a class="tsd-signature-type tsd-kind-type-parameter" href="five.NetworkSubscribe.html#onk">K</a><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">once</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">()</span> <span class="tsd-signature-symbol">=></span> <span class="tsd-signature-type">void</span><a href="#on-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>注册事件</p>
|
|
223
|
+
</div><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span id="onk"><span class="tsd-kind-type-parameter">K</span> <span class="tsd-signature-keyword">extends</span> <br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"dispose"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"error"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"render"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"gesture.pan"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"gesture.tap"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"gesture.dbltap"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"gesture.press"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"gesture.pinch"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"gesture.mousewheel"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"gesture.mousemove"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"gesture.momentum"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"initAnimation.start"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"initAnimation.end"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"camera.update"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"intersect.update"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.select"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.request"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.moveTo"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.moving"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.arrived"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.cancel"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.error"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.texture.load"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.texture.progress"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.texture.success"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.texture.error"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.texture.abort"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"xr.session.end"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"xr.session.start"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"xr.gesture.tap"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"xr.gesture.press"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"xr.gesture.buttonUp"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"xr.gesture.buttonDown"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"xr.controller.update"</span><br/> <span class="tsd-signature-symbol">|</span> (keyof LegacyEventType)<br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"works.request"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"works.load"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"works.ready"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"state.set"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"state.change"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"state.synced"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"currentState.change"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"model.request"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"model.load"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"model.error"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"model.changeShownFloor"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"models.load"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"models.refined"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"render.prepare"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"mode.change.request"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"mode.change"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"helpers.visible"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"network.resource"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"fps"</span></span><div class="tsd-comment tsd-typography"><p>预设的监听事件名称</p>
|
|
224
|
+
</div><div class="tsd-comment tsd-typography"></div></li></ul></section><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">name</span>: <a class="tsd-signature-type tsd-kind-type-parameter" href="five.NetworkSubscribe.html#onk">K</a></span><div class="tsd-comment tsd-typography"><p>事件类型</p>
|
|
225
|
+
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">callback</span>: <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">args</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Parameters</span><span class="tsd-signature-symbol"><</span><a href="../types/five.EventTypes.html" class="tsd-signature-type tsd-kind-type-alias">EventTypes</a><span class="tsd-signature-symbol">[</span><a class="tsd-signature-type tsd-kind-type-parameter" href="five.NetworkSubscribe.html#onk">K</a><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=></span> <span class="tsd-signature-type">ReturnType</span><span class="tsd-signature-symbol"><</span><a href="../types/five.EventTypes.html" class="tsd-signature-type tsd-kind-type-alias">EventTypes</a><span class="tsd-signature-symbol">[</span><a class="tsd-signature-type tsd-kind-type-parameter" href="five.NetworkSubscribe.html#onk">K</a><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">></span></span><div class="tsd-comment tsd-typography"><p>事件回调函数</p>
|
|
226
|
+
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">once</span>: <span class="tsd-signature-type">boolean</span></span><div class="tsd-comment tsd-typography"><p>是否只执行一次</p>
|
|
227
|
+
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">()</span> <span class="tsd-signature-symbol">=></span> <span class="tsd-signature-type">void</span></h4><p>解除事件</p>
|
|
228
|
+
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="five.Subscribe.html">Subscribe</a>.<a href="five.Subscribe.html#on">on</a></p><ul><li>Defined in lib/five/utils/subscribe.ts:58</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="once"><span>once</span><a href="#once" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited"><li class="tsd-is-inherited"><div class="tsd-signature tsd-anchor-link" id="once-1"><span class="tsd-kind-call-signature">once</span><span class="tsd-signature-symbol"><</span><br/> <a class="tsd-signature-type tsd-kind-type-parameter" href="#oncek">K</a> <span class="tsd-signature-keyword">extends</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"dispose"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"error"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"render"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"gesture.pan"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"gesture.tap"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"gesture.dbltap"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"gesture.press"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"gesture.pinch"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"gesture.mousewheel"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"gesture.mousemove"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"gesture.momentum"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"initAnimation.start"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"initAnimation.end"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"camera.update"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"intersect.update"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.select"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.request"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.moveTo"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.moving"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.arrived"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.cancel"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.error"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.texture.load"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.texture.progress"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.texture.success"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.texture.error"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.texture.abort"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"xr.session.end"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"xr.session.start"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"xr.gesture.tap"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"xr.gesture.press"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"xr.gesture.buttonUp"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"xr.gesture.buttonDown"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"xr.controller.update"</span><br/> <span class="tsd-signature-symbol">|</span> (keyof LegacyEventType)<br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"works.request"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"works.load"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"works.ready"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"state.set"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"state.change"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"state.synced"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"currentState.change"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"model.request"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"model.load"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"model.error"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"model.changeShownFloor"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"models.load"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"models.refined"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"render.prepare"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"mode.change.request"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"mode.change"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"helpers.visible"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"network.resource"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"fps"</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span><br/> <span class="tsd-kind-parameter">name</span><span class="tsd-signature-symbol">:</span> <a class="tsd-signature-type tsd-kind-type-parameter" href="five.NetworkSubscribe.html#oncek">K</a><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">callback</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">args</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Parameters</span><span class="tsd-signature-symbol"><</span><a href="../types/five.EventTypes.html" class="tsd-signature-type tsd-kind-type-alias">EventTypes</a><span class="tsd-signature-symbol">[</span><a class="tsd-signature-type tsd-kind-type-parameter" href="five.NetworkSubscribe.html#oncek">K</a><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=></span> <span class="tsd-signature-type">ReturnType</span><span class="tsd-signature-symbol"><</span><a href="../types/five.EventTypes.html" class="tsd-signature-type tsd-kind-type-alias">EventTypes</a><span class="tsd-signature-symbol">[</span><a class="tsd-signature-type tsd-kind-type-parameter" href="five.NetworkSubscribe.html#oncek">K</a><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">()</span> <span class="tsd-signature-symbol">=></span> <span class="tsd-signature-type">void</span><a href="#once-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>注册事件(是否只执行一次)</p>
|
|
229
|
+
</div><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span id="oncek"><span class="tsd-kind-type-parameter">K</span> <span class="tsd-signature-keyword">extends</span> <br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"dispose"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"error"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"render"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"gesture.pan"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"gesture.tap"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"gesture.dbltap"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"gesture.press"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"gesture.pinch"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"gesture.mousewheel"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"gesture.mousemove"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"gesture.momentum"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"initAnimation.start"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"initAnimation.end"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"camera.update"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"intersect.update"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.select"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.request"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.moveTo"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.moving"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.arrived"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.cancel"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.error"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.texture.load"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.texture.progress"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.texture.success"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.texture.error"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.texture.abort"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"xr.session.end"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"xr.session.start"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"xr.gesture.tap"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"xr.gesture.press"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"xr.gesture.buttonUp"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"xr.gesture.buttonDown"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"xr.controller.update"</span><br/> <span class="tsd-signature-symbol">|</span> (keyof LegacyEventType)<br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"works.request"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"works.load"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"works.ready"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"state.set"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"state.change"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"state.synced"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"currentState.change"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"model.request"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"model.load"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"model.error"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"model.changeShownFloor"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"models.load"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"models.refined"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"render.prepare"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"mode.change.request"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"mode.change"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"helpers.visible"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"network.resource"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"fps"</span></span><div class="tsd-comment tsd-typography"><p>预设的监听事件名称</p>
|
|
230
|
+
</div><div class="tsd-comment tsd-typography"></div></li></ul></section><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">name</span>: <a class="tsd-signature-type tsd-kind-type-parameter" href="five.NetworkSubscribe.html#oncek">K</a></span><div class="tsd-comment tsd-typography"><p>事件类型</p>
|
|
231
|
+
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">callback</span>: <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">args</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Parameters</span><span class="tsd-signature-symbol"><</span><a href="../types/five.EventTypes.html" class="tsd-signature-type tsd-kind-type-alias">EventTypes</a><span class="tsd-signature-symbol">[</span><a class="tsd-signature-type tsd-kind-type-parameter" href="five.NetworkSubscribe.html#oncek">K</a><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=></span> <span class="tsd-signature-type">ReturnType</span><span class="tsd-signature-symbol"><</span><a href="../types/five.EventTypes.html" class="tsd-signature-type tsd-kind-type-alias">EventTypes</a><span class="tsd-signature-symbol">[</span><a class="tsd-signature-type tsd-kind-type-parameter" href="five.NetworkSubscribe.html#oncek">K</a><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">></span></span><div class="tsd-comment tsd-typography"><p>事件回调函数</p>
|
|
232
|
+
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">()</span> <span class="tsd-signature-symbol">=></span> <span class="tsd-signature-type">void</span></h4><p>解除事件</p>
|
|
233
|
+
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="five.Subscribe.html">Subscribe</a>.<a href="five.Subscribe.html#once">once</a></p><ul><li>Defined in lib/five/utils/subscribe.ts:81</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="pause"><span>pause</span><a href="#pause" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="pause-1"><span class="tsd-kind-call-signature">pause</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#pause-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>暂停自动播放</p>
|
|
234
|
+
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:1961</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="play"><span>play</span><a href="#play" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="play-1"><span class="tsd-kind-call-signature">play</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#play-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:1968</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="preloadpano"><span>preload<wbr/>Pano</span><a href="#preloadpano" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="preloadpano-1"><span class="tsd-kind-call-signature">preloadPano</span><span class="tsd-signature-symbol">(</span><br/> <span class="tsd-kind-parameter">pano</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span> <span class="tsd-signature-symbol">|</span> <a href="../types/five.Pano.html" class="tsd-signature-type tsd-kind-type-alias">Pano</a> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-symbol">`</span><span class="tsd-signature-symbol">${</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">}</span><span class="tsd-signature-type">[</span><span class="tsd-signature-symbol">${</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">}</span><span class="tsd-signature-type">]</span><span class="tsd-signature-symbol">`</span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">callback</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">costs</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=></span> <span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">></span><a href="#preloadpano-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>预加载点位图片资源</p>
|
|
235
|
+
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">pano</span>: <span class="tsd-signature-type">number</span> <span class="tsd-signature-symbol">|</span> <a href="../types/five.Pano.html" class="tsd-signature-type tsd-kind-type-alias">Pano</a> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-symbol">`</span><span class="tsd-signature-symbol">${</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">}</span><span class="tsd-signature-type">[</span><span class="tsd-signature-symbol">${</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">}</span><span class="tsd-signature-type">]</span><span class="tsd-signature-symbol">`</span></span><div class="tsd-comment tsd-typography"><p>观察点序号</p>
|
|
236
|
+
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">callback</span>: <span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">costs</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=></span> <span class="tsd-signature-type">void</span><span class="tsd-signature-symbol"> = noop</span></span><div class="tsd-comment tsd-typography"><p>加载完成回调, 并传递加载用时。</p>
|
|
237
|
+
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">></span></h4><p>加载完成的 Promise 参数同 callback</p>
|
|
238
|
+
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:2026</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="project2d"><span>project2d</span><a href="#project2d" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="project2d-1"><span class="tsd-kind-call-signature">project2d</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">vector</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Vector3</span><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">testModel</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Vector2</span><a href="#project2d-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>计算三维坐标对应到屏幕的二维坐标</p>
|
|
239
239
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">vector</span>: <span class="tsd-signature-type">Vector3</span></span><div class="tsd-comment tsd-typography"><p>三维坐标</p>
|
|
240
240
|
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">testModel</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></span><div class="tsd-comment tsd-typography"><p>是否计算模型遮挡</p>
|
|
241
241
|
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Vector2</span></h4><p>二维坐标 或者 null</p>
|
|
242
|
-
<div class="tsd-comment tsd-typography"><
|
|
243
|
-
</div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
244
|
-
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">args</span>: <span class="tsd-signature-symbol">{
|
|
245
|
-
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">size</span>: <span class="tsd-signature-symbol">{
|
|
246
|
-
</div><div class="tsd-comment tsd-typography"></div
|
|
247
|
-
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"><
|
|
248
|
-
</div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
249
|
-
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">element</span>: <span class="tsd-signature-type">HTMLElement</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
250
|
-
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">callback</span>: <span class="tsd-signature-symbol">(</span
|
|
251
|
-
</div><div class="tsd-comment tsd-typography"></div
|
|
242
|
+
<div class="tsd-comment tsd-typography"><div class="tsd-tag-description"><h4 class="tsd-anchor-link" id="description-12">Description<a href="#description-12" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>如果三维坐标不在屏幕中,则返回 null</p>
|
|
243
|
+
</div></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:2061</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="ready"><span>ready</span><a href="#ready" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="ready-1"><span class="tsd-kind-call-signature">ready</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">args</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">tile</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span><a href="#ready-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>当前页面静态</p>
|
|
244
|
+
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">args</span>: <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">tile</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol"> = {}</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:2439</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="refresh"><span>refresh</span><a href="#refresh" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="refresh-1"><span class="tsd-kind-call-signature">refresh</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">size</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">height</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">width</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">pixelRatio</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#refresh-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>设置显示区域尺寸</p>
|
|
245
|
+
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">size</span>: <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">height</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">width</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol"> = {}</span></span><div class="tsd-comment tsd-typography"><p>显示区域尺寸 默认铺满这个 DOM 元素</p>
|
|
246
|
+
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">pixelRatio</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>像素比 默认继承之前的设置</p>
|
|
247
|
+
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"><div class="tsd-tag-description"><h4 class="tsd-anchor-link" id="description-13">Description<a href="#description-13" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>如果你是传入的 <code>renderer</code>. 则你需要自行来设置显示区域尺寸,该方法并不生效</p>
|
|
248
|
+
</div></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:786</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="removeextraelement"><span>remove<wbr/>Extra<wbr/>Element</span><a href="#removeextraelement" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="removeextraelement-1"><span class="tsd-kind-call-signature">removeExtraElement</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">element</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">HTMLElement</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#removeextraelement-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>解除绑定的一个额外 DOM 区域</p>
|
|
249
|
+
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">element</span>: <span class="tsd-signature-type">HTMLElement</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:829</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="render"><span>render</span><a href="#render" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="render-1"><span class="tsd-kind-call-signature">render</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">callback</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-symbol">()</span> <span class="tsd-signature-symbol">=></span> <span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#render-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>强制渲染</p>
|
|
250
|
+
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">callback</span>: <span class="tsd-signature-symbol">()</span> <span class="tsd-signature-symbol">=></span> <span class="tsd-signature-type">void</span></span><div class="tsd-comment tsd-typography"><p>渲染完成回调</p>
|
|
251
|
+
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"><div class="tsd-tag-description"><h4 class="tsd-anchor-link" id="description-14">Description<a href="#description-14" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>调用 <code>five.render()</code> 和设置 <code>five.needsRender = true</code> 均可在按需渲染时,使得画面渲染一次
|
|
252
252
|
区别在于:</p>
|
|
253
253
|
<ul>
|
|
254
254
|
<li><code>five.needsRender = true</code> 为在下帧渲染画面</li>
|
|
255
255
|
<li><code>five.render()</code> 在当前帧渲染画面
|
|
256
256
|
推荐使用 <code>five.needsRender = true</code>, 可以更加流畅。但是如果需要截图等同步操作,可以使用 <code>five.render()</code></li>
|
|
257
257
|
</ul>
|
|
258
|
-
</div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
259
|
-
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
260
|
-
</div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
258
|
+
</div></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:1692</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="requestfullscreen"><span>request<wbr/>Fullscreen</span><a href="#requestfullscreen" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="requestfullscreen-1"><span class="tsd-kind-call-signature">requestFullscreen</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#requestfullscreen-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>请求全屏</p>
|
|
259
|
+
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:2453</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="reset"><span>reset</span><a href="#reset" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="reset-1"><span class="tsd-kind-call-signature">reset</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span><a href="#reset-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:1246</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="reset_"><span>reset_</span><a href="#reset_" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="reset_-1"><span class="tsd-kind-call-signature">reset_</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span><a href="#reset_-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:1256</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="setscissor"><span class="deprecated">set<wbr/>Scissor</span><a href="#setscissor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="setscissor-1"><span class="tsd-kind-call-signature">setScissor</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">scissor</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/five.Viewport.html" class="tsd-signature-type tsd-kind-interface">Viewport</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#setscissor-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">scissor</span>: <a href="../interfaces/five.Viewport.html" class="tsd-signature-type tsd-kind-interface">Viewport</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"><div class="tsd-tag-deprecated"><h4 class="tsd-anchor-link" id="deprecated-9">Deprecated<a href="#deprecated-9" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>use setViewport instead.</p>
|
|
260
|
+
</div></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:2784</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="setstate"><span>set<wbr/>State</span><a href="#setstate" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="setstate-1"><span class="tsd-kind-call-signature">setState</span><span class="tsd-signature-symbol">(</span><br/> <span class="tsd-kind-parameter">state</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/five.State.html" class="tsd-signature-type tsd-kind-interface">State</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">immediately</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">userAction</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#setstate-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>设置 State</p>
|
|
261
261
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">state</span>: <span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/five.State.html" class="tsd-signature-type tsd-kind-interface">State</a><span class="tsd-signature-symbol">></span></span><div class="tsd-comment tsd-typography"><p>目标状态</p>
|
|
262
262
|
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">immediately</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></span><div class="tsd-comment tsd-typography"><p>是否马上转换,马上转换会尽快达到目标状态,尽量减少中间状态,更少动画。</p>
|
|
263
263
|
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">userAction</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></span><div class="tsd-comment tsd-typography"><p>是否是用户触发的动作</p>
|
|
264
|
-
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"><
|
|
264
|
+
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"><div class="tsd-tag-description"><h4 class="tsd-anchor-link" id="description-15">Description<a href="#description-15" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><pre><code class="text">five 设置了以下状态
|
|
265
265
|
|
|
266
266
|
- mode: Mode
|
|
267
267
|
- panoIndex: number
|
|
@@ -275,31 +275,31 @@ XRPanorama VR硬件模式
|
|
|
275
275
|
来迎合一些通过数据驱动的场景。
|
|
276
276
|
</code><button type="button">Copy</button></pre>
|
|
277
277
|
|
|
278
|
-
</div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
278
|
+
</div></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:2112</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="setviewport"><span>set<wbr/>Viewport</span><a href="#setviewport" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="setviewport-1"><span class="tsd-kind-call-signature">setViewport</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">viewport</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/five.Viewport.html" class="tsd-signature-type tsd-kind-interface">Viewport</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#setviewport-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>设置 <code>viewport</code></p>
|
|
279
279
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">viewport</span>: <a href="../interfaces/five.Viewport.html" class="tsd-signature-type tsd-kind-interface">Viewport</a></span><div class="tsd-comment tsd-typography"><p>指定区域
|
|
280
280
|
<code>scissor</code> 是将屏幕中的内容渲染到 <code>renderer</code> 的指定区域。
|
|
281
281
|
请确保在 five 初始化时传入 <code>renderer</code> 对象
|
|
282
282
|
页面整体长宽均为 <code>1</code>。通过类似 css 的 <code>left</code> <code>bottom</code> <code>width</code> <code>height</code> 来确定区域。</p>
|
|
283
|
-
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"><
|
|
283
|
+
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"><div class="tsd-tag-example"><h4 class="tsd-anchor-link" id="example-2">Example<a href="#example-2" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><pre><code><span class="hl-4">five</span><span class="hl-1">.</span><span class="hl-0">setViewport</span><span class="hl-1">({ </span><span class="hl-4">left:</span><span class="hl-1"> </span><span class="hl-13">0.75</span><span class="hl-1">, </span><span class="hl-4">bottom:</span><span class="hl-1"> </span><span class="hl-13">0</span><span class="hl-1">, </span><span class="hl-4">width:</span><span class="hl-1"> </span><span class="hl-13">0.25</span><span class="hl-1">, </span><span class="hl-4">height:</span><span class="hl-1"> </span><span class="hl-13">1</span><span class="hl-1"> })</span>
|
|
284
284
|
</code><button>Copy</button></pre>
|
|
285
285
|
|
|
286
|
-
</div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
286
|
+
</div></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:612</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="updatecamera"><span>update<wbr/>Camera</span><a href="#updatecamera" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="updatecamera-1"><span class="tsd-kind-call-signature">updateCamera</span><span class="tsd-signature-symbol">(</span><br/> <span class="tsd-kind-parameter">pose</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/five.Pose.html" class="tsd-signature-type tsd-kind-interface">Pose</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">duration</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">userAction</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span><a href="#updatecamera-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>移动相机。(不触发点位移动)</p>
|
|
287
287
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">pose</span>: <span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/five.Pose.html" class="tsd-signature-type tsd-kind-interface">Pose</a><span class="tsd-signature-symbol">></span></span><div class="tsd-comment tsd-typography"><p>相机目标位置</p>
|
|
288
288
|
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">duration</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>动画触发的时常</p>
|
|
289
289
|
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">userAction</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></span><div class="tsd-comment tsd-typography"><p>是否用户触发</p>
|
|
290
290
|
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><p>Promise 是否移动成功</p>
|
|
291
|
-
<div class="tsd-comment tsd-typography"><
|
|
291
|
+
<div class="tsd-comment tsd-typography"><div class="tsd-tag-description"><h4 class="tsd-anchor-link" id="description-16">Description<a href="#description-16" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>如果动画中途被打断(用户触发行为,或者调用 setState, load, changeMode)的等
|
|
292
292
|
会 Promise.reject。运动完成则 Promise.resolve</p>
|
|
293
|
-
</div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
294
|
-
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">keyframes</span>: <span class="tsd-signature-symbol">{
|
|
293
|
+
</div></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:868</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="updatecamerawithkeyframes"><span>update<wbr/>Camera<wbr/>With<wbr/>Keyframes</span><a href="#updatecamerawithkeyframes" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="updatecamerawithkeyframes-1"><span class="tsd-kind-call-signature">updateCameraWithKeyframes</span><span class="tsd-signature-symbol">(</span><br/> <span class="tsd-kind-parameter">keyframes</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">key</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">progress</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">value</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/five.Pose.html" class="tsd-signature-type tsd-kind-interface">Pose</a> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">duration</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">userAction</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span><a href="#updatecamerawithkeyframes-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>通过帧动画移动相机。(不触发点位移动)</p>
|
|
294
|
+
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">keyframes</span>: <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">key</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">progress</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">value</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/five.Pose.html" class="tsd-signature-type tsd-kind-interface">Pose</a> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">[]</span></span><div class="tsd-comment tsd-typography"><p>动画帧</p>
|
|
295
295
|
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">duration</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>动画触发的时常</p>
|
|
296
296
|
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">userAction</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></span><div class="tsd-comment tsd-typography"><p>是否用户触发</p>
|
|
297
297
|
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><p>Promise 是否移动成功</p>
|
|
298
|
-
<div class="tsd-comment tsd-typography"><
|
|
298
|
+
<div class="tsd-comment tsd-typography"><div class="tsd-tag-description"><h4 class="tsd-anchor-link" id="description-17">Description<a href="#description-17" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>如果动画中途被打断(用户触发行为,或者调用 setState, load, changeMode)的等
|
|
299
299
|
会 Promise.reject。运动完成则 Promise.resolve</p>
|
|
300
|
-
</div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:887</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="updateConfiguration" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>update<wbr/>Configuration</span><a href="#updateConfiguration" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="updateConfiguration.updateConfiguration-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">update<wbr/>Configuration</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">args</span>, <span class="tsd-kind-parameter">refresh</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#updateConfiguration.updateConfiguration-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">args</span>: <span class="tsd-signature-type">Pick</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/five.FiveInitArgs.html" class="tsd-signature-type tsd-kind-interface">FiveInitArgs</a><span class="tsd-signature-symbol">, </span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"model"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"textureOptions"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"imageOptions"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"panorama"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"floorplan"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"topview"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"mapview"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"vrPanorama"</span><span class="tsd-signature-symbol">></span></span></li><li><span><span class="tsd-kind-parameter">refresh</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:696</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="updateTime" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>update<wbr/>Time</span><a href="#updateTime" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="updateTime.updateTime-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">update<wbr/>Time</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">time</span>, <span class="tsd-kind-parameter">deltaTime</span>, <span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">args</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#updateTime.updateTime-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">time</span>: <span class="tsd-signature-type">number</span></span></li><li><span><span class="tsd-kind-parameter">deltaTime</span>: <span class="tsd-signature-type">number</span></span></li><li><span><code class="tsd-tag">Rest</code><span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">args</span>: <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:1759</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="waitUntil" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>wait<wbr/>Until</span><a href="#waitUntil" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="waitUntil.waitUntil-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">wait<wbr/>Until</span><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="five.Five.html#waitUntil.waitUntil-1.K-4">K</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">name</span>, <span class="tsd-kind-parameter">filter</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Parameters</span><span class="tsd-signature-symbol"><</span><a href="../types/five.EventTypes.html" class="tsd-signature-type tsd-kind-type-alias">EventTypes</a><span class="tsd-signature-symbol">[</span><a class="tsd-signature-type tsd-kind-type-parameter" href="five.NetworkSubscribe.html#waitUntil.waitUntil-1.K-4">K</a><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">></span><a href="#waitUntil.waitUntil-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>等待事件</p>
|
|
301
|
-
</div><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span
|
|
302
|
-
</div><div class="tsd-comment tsd-typography"></div></li></ul></section><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">name</span>: <a class="tsd-signature-type tsd-kind-type-parameter" href="five.NetworkSubscribe.html#
|
|
303
|
-
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">filter</span>: <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol"
|
|
304
|
-
</div><div class="tsd-comment tsd-typography"></div
|
|
305
|
-
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="five.Subscribe.html">Subscribe</a>.<a href="five.Subscribe.html#waitUntil">waitUntil</a></p><ul><li>Defined in lib/five/utils/subscribe.ts:155</li></ul></aside></li></ul></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div><details open class="tsd-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>On This Page</h3></summary><div class="tsd-accordion-details"><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="tsd-otp-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Constructors</summary><div><a href="#constructor" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="tsd-otp-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Properties</summary><div><a href="#backgroundAlpha" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>background<wbr/>Alpha</span></a><a href="#backgroundColor" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>background<wbr/>Color</span></a><a href="#camera" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>camera</span></a><a href="#currentMode" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>current<wbr/>Mode</span></a><a href="#enableLayeringRendering" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>enable<wbr/>Layering<wbr/>Rendering</span></a><a href="#ident" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>ident</span></a><a href="#imageOptions" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>image<wbr/>Options</span></a><a href="#modelScene" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>model<wbr/>Scene</span></a><a href="#modelSceneNeedsRender" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>model<wbr/>Scene<wbr/>Needs<wbr/>Render</span></a><a href="#needsRender" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>needs<wbr/>Render</span></a><a href="#onlyRenderIfNeeds" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>only<wbr/>Render<wbr/>If<wbr/>Needs</span></a><a href="#pano" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>pano</span></a><a href="#paused" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>paused</span></a><a href="#plugins" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>plugins</span></a><a href="#poweredByRealsee" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>powered<wbr/>By<wbr/>Realsee</span></a><a href="#renderer" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>renderer</span></a><a href="#scene" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>scene</span></a><a href="#state" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>state</span></a><a href="#textureOptions" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>texture<wbr/>Options</span></a><a href="#videoTexture" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>video<wbr/>Texture</span></a><a href="#viewport" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>viewport</span></a><a href="#xrCustomObjectsScene" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>xr<wbr/>Custom<wbr/>Objects<wbr/>Scene</span></a><a href="#Mode" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>Mode</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="tsd-otp-Accessors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Accessors</summary><div><a href="#enableEDL" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>enableEDL</span></a><a href="#enableHQ" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>enableHQ</span></a><a href="#enableIOSEDR" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>enableIOSEDR</span></a><a href="#enablePostProcessing" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>enable<wbr/>Post<wbr/>Processing</span></a><a href="#helperVisible" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>helper<wbr/>Visible</span></a><a href="#internalLightsEnabled" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>internal<wbr/>Lights<wbr/>Enabled</span></a><a href="#model-1" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>model</span></a><a href="#models" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>models</span></a><a href="#observers" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>observers</span></a><a href="#panoIndex" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>pano<wbr/>Index</span></a><a href="#renderEffect" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>render<wbr/>Effect</span></a><a href="#scissor" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>scissor</span></a><a href="#work" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>work</span></a><a href="#works" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>works</span></a><a href="#dracoPath" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>draco<wbr/>Path</span></a><a href="#ktx2Path" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>ktx2<wbr/>Path</span></a><a href="#version" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>version</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="tsd-otp-Methods"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Methods</summary><div><a href="#addExtraElement" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>add<wbr/>Extra<wbr/>Element</span></a><a href="#appendTo" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>append<wbr/>To</span></a><a href="#changeMode" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>change<wbr/>Mode</span></a><a href="#dispose" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>dispose</span></a><a href="#emit" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>emit</span></a><a href="#exitFullscreen" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>exit<wbr/>Fullscreen</span></a><a href="#getCameraLocal" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Camera<wbr/>Local</span></a><a href="#getCurrentState" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Current<wbr/>State</span></a><a href="#getDrawingBufferSize" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Drawing<wbr/>Buffer<wbr/>Size</span></a><a href="#getElement" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Element</span></a><a href="#getLongitudeAndLatitude" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Longitude<wbr/>And<wbr/>Latitude</span></a><a href="#getOffset" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Offset</span></a><a href="#getPixels" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Pixels</span></a><a href="#getPose" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Pose</span></a><a href="#getSize" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Size</span></a><a href="#hasListener" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>has<wbr/>Listener</span></a><a href="#load" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>load</span></a><a href="#moveToPano" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>move<wbr/>To<wbr/>Pano</span></a><a href="#off" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>off</span></a><a href="#on" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>on</span></a><a href="#once" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>once</span></a><a href="#pause" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>pause</span></a><a href="#play" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>play</span></a><a href="#preloadPano" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>preload<wbr/>Pano</span></a><a href="#project2d" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>project2d</span></a><a href="#ready" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>ready</span></a><a href="#refresh" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>refresh</span></a><a href="#removeExtraElement" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>remove<wbr/>Extra<wbr/>Element</span></a><a href="#render" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>render</span></a><a href="#requestFullscreen" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>request<wbr/>Fullscreen</span></a><a href="#reset" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>reset</span></a><a href="#reset_" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>reset_</span></a><a href="#setScissor" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Scissor</span></a><a href="#setState" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>State</span></a><a href="#setViewport" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Viewport</span></a><a href="#updateCamera" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>update<wbr/>Camera</span></a><a href="#updateCameraWithKeyframes" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>update<wbr/>Camera<wbr/>With<wbr/>Keyframes</span></a><a href="#updateConfiguration" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>update<wbr/>Configuration</span></a><a href="#updateTime" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>update<wbr/>Time</span></a><a href="#waitUntil" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>wait<wbr/>Until</span></a></div></details></div></details></div><div class="site-menu"><nav class="tsd-navigation"><a href="../index.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>如视 Five SDK</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>
|
|
300
|
+
</div></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:885</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="updateconfiguration"><span>update<wbr/>Configuration</span><a href="#updateconfiguration" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="updateconfiguration-1"><span class="tsd-kind-call-signature">updateConfiguration</span><span class="tsd-signature-symbol">(</span><br/> <span class="tsd-kind-parameter">args</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Pick</span><span class="tsd-signature-symbol"><</span><br/> <a href="../interfaces/five.FiveInitArgs.html" class="tsd-signature-type tsd-kind-interface">FiveInitArgs</a><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"panorama"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"model"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"floorplan"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"topview"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"mapview"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"vrPanorama"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"imageOptions"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"textureOptions"</span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">refresh</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#updateconfiguration-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">args</span>: <span class="tsd-signature-type">Pick</span><span class="tsd-signature-symbol"><</span><br/> <a href="../interfaces/five.FiveInitArgs.html" class="tsd-signature-type tsd-kind-interface">FiveInitArgs</a><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"panorama"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"model"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"floorplan"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"topview"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"mapview"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"vrPanorama"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"imageOptions"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"textureOptions"</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">></span></span></li><li><span><span class="tsd-kind-parameter">refresh</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:694</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="updatetime"><span>update<wbr/>Time</span><a href="#updatetime" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="updatetime-1"><span class="tsd-kind-call-signature">updateTime</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">time</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">deltaTime</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">args</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#updatetime-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">time</span>: <span class="tsd-signature-type">number</span></span></li><li><span><span class="tsd-kind-parameter">deltaTime</span>: <span class="tsd-signature-type">number</span></span></li><li><span><span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">args</span>: <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:1757</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="waituntil"><span>wait<wbr/>Until</span><a href="#waituntil" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited"><li class="tsd-is-inherited"><div class="tsd-signature tsd-anchor-link" id="waituntil-1"><span class="tsd-kind-call-signature">waitUntil</span><span class="tsd-signature-symbol"><</span><br/> <a class="tsd-signature-type tsd-kind-type-parameter" href="#waituntilk">K</a> <span class="tsd-signature-keyword">extends</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"dispose"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"error"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"render"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"gesture.pan"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"gesture.tap"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"gesture.dbltap"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"gesture.press"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"gesture.pinch"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"gesture.mousewheel"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"gesture.mousemove"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"gesture.momentum"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"initAnimation.start"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"initAnimation.end"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"camera.update"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"intersect.update"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.select"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.request"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.moveTo"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.moving"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.arrived"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.cancel"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.error"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.texture.load"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.texture.progress"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.texture.success"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.texture.error"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.texture.abort"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"xr.session.end"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"xr.session.start"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"xr.gesture.tap"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"xr.gesture.press"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"xr.gesture.buttonUp"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"xr.gesture.buttonDown"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"xr.controller.update"</span><br/> <span class="tsd-signature-symbol">|</span> (keyof LegacyEventType)<br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"works.request"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"works.load"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"works.ready"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"state.set"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"state.change"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"state.synced"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"currentState.change"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"model.request"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"model.load"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"model.error"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"model.changeShownFloor"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"models.load"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"models.refined"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"render.prepare"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"mode.change.request"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"mode.change"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"helpers.visible"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"network.resource"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"fps"</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span><br/> <span class="tsd-kind-parameter">name</span><span class="tsd-signature-symbol">:</span> <a class="tsd-signature-type tsd-kind-type-parameter" href="five.NetworkSubscribe.html#waituntilk">K</a><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">filter</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">args</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Parameters</span><span class="tsd-signature-symbol"><</span><a href="../types/five.EventTypes.html" class="tsd-signature-type tsd-kind-type-alias">EventTypes</a><span class="tsd-signature-symbol">[</span><a class="tsd-signature-type tsd-kind-type-parameter" href="five.NetworkSubscribe.html#waituntilk">K</a><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=></span> <span class="tsd-signature-type">boolean</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Parameters</span><span class="tsd-signature-symbol"><</span><a href="../types/five.EventTypes.html" class="tsd-signature-type tsd-kind-type-alias">EventTypes</a><span class="tsd-signature-symbol">[</span><a class="tsd-signature-type tsd-kind-type-parameter" href="five.NetworkSubscribe.html#waituntilk">K</a><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">></span><a href="#waituntil-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>等待事件</p>
|
|
301
|
+
</div><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span id="waituntilk"><span class="tsd-kind-type-parameter">K</span> <span class="tsd-signature-keyword">extends</span> <br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"dispose"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"error"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"render"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"gesture.pan"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"gesture.tap"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"gesture.dbltap"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"gesture.press"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"gesture.pinch"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"gesture.mousewheel"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"gesture.mousemove"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"gesture.momentum"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"initAnimation.start"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"initAnimation.end"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"camera.update"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"intersect.update"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.select"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.request"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.moveTo"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.moving"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.arrived"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.cancel"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.error"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.texture.load"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.texture.progress"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.texture.success"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.texture.error"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"pano.texture.abort"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"xr.session.end"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"xr.session.start"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"xr.gesture.tap"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"xr.gesture.press"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"xr.gesture.buttonUp"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"xr.gesture.buttonDown"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"xr.controller.update"</span><br/> <span class="tsd-signature-symbol">|</span> (keyof LegacyEventType)<br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"works.request"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"works.load"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"works.ready"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"state.set"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"state.change"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"state.synced"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"currentState.change"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"model.request"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"model.load"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"model.error"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"model.changeShownFloor"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"models.load"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"models.refined"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"render.prepare"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"mode.change.request"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"mode.change"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"helpers.visible"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"network.resource"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"fps"</span></span><div class="tsd-comment tsd-typography"><p>预设的监听事件名称</p>
|
|
302
|
+
</div><div class="tsd-comment tsd-typography"></div></li></ul></section><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">name</span>: <a class="tsd-signature-type tsd-kind-type-parameter" href="five.NetworkSubscribe.html#waituntilk">K</a></span><div class="tsd-comment tsd-typography"><p>事件类型</p>
|
|
303
|
+
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">filter</span>: <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">args</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Parameters</span><span class="tsd-signature-symbol"><</span><a href="../types/five.EventTypes.html" class="tsd-signature-type tsd-kind-type-alias">EventTypes</a><span class="tsd-signature-symbol">[</span><a class="tsd-signature-type tsd-kind-type-parameter" href="five.NetworkSubscribe.html#waituntilk">K</a><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=></span> <span class="tsd-signature-type">boolean</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">void</span></span><div class="tsd-comment tsd-typography"><p>事件类型</p>
|
|
304
|
+
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Parameters</span><span class="tsd-signature-symbol"><</span><a href="../types/five.EventTypes.html" class="tsd-signature-type tsd-kind-type-alias">EventTypes</a><span class="tsd-signature-symbol">[</span><a class="tsd-signature-type tsd-kind-type-parameter" href="five.NetworkSubscribe.html#waituntilk">K</a><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">></span></h4><p>触发事件的数据</p>
|
|
305
|
+
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="five.Subscribe.html">Subscribe</a>.<a href="five.Subscribe.html#waituntil">waitUntil</a></p><ul><li>Defined in lib/five/utils/subscribe.ts:155</li></ul></aside></div></li></ul></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div><details open class="tsd-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>On This Page</h3></summary><div class="tsd-accordion-details"><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Constructors</summary><div><a href="#constructor"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Constructor"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Properties</summary><div><a href="#backgroundalpha"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>background<wbr/>Alpha</span></a><a href="#backgroundcolor"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>background<wbr/>Color</span></a><a href="#camera"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>camera</span></a><a href="#currentmode"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>current<wbr/>Mode</span></a><a href="#enablelayeringrendering"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>enable<wbr/>Layering<wbr/>Rendering</span></a><a href="#ident"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>ident</span></a><a href="#imageoptions"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>image<wbr/>Options</span></a><a href="#modelscene"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>model<wbr/>Scene</span></a><a href="#modelsceneneedsrender"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>model<wbr/>Scene<wbr/>Needs<wbr/>Render</span></a><a href="#needsrender"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>needs<wbr/>Render</span></a><a href="#onlyrenderifneeds"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>only<wbr/>Render<wbr/>If<wbr/>Needs</span></a><a href="#pano"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>pano</span></a><a href="#paused"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>paused</span></a><a href="#plugins"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>plugins</span></a><a href="#poweredbyrealsee"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>powered<wbr/>By<wbr/>Realsee</span></a><a href="#renderer"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>renderer</span></a><a href="#scene"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>scene</span></a><a href="#state"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>state</span></a><a href="#textureoptions"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>texture<wbr/>Options</span></a><a href="#videotexture"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>video<wbr/>Texture</span></a><a href="#viewport"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>viewport</span></a><a href="#xrcustomobjectsscene"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>xr<wbr/>Custom<wbr/>Objects<wbr/>Scene</span></a><a href="#mode"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>Mode</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Accessors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Accessors</summary><div><a href="#enableedl"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Accessor"><use href="../assets/icons.svg#icon-262144"></use></svg><span>enable<wbr/>EDL</span></a><a href="#enablehq"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Accessor"><use href="../assets/icons.svg#icon-262144"></use></svg><span>enable<wbr/>HQ</span></a><a href="#enableiosedr"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Accessor"><use href="../assets/icons.svg#icon-262144"></use></svg><span>enable<wbr/>IOSEDR</span></a><a href="#enablepostprocessing"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Accessor"><use href="../assets/icons.svg#icon-262144"></use></svg><span>enable<wbr/>Post<wbr/>Processing</span></a><a href="#helpervisible"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Accessor"><use href="../assets/icons.svg#icon-262144"></use></svg><span>helper<wbr/>Visible</span></a><a href="#internallightsenabled"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Accessor"><use href="../assets/icons.svg#icon-262144"></use></svg><span>internal<wbr/>Lights<wbr/>Enabled</span></a><a href="#model"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Accessor"><use href="../assets/icons.svg#icon-262144"></use></svg><span>model</span></a><a href="#models"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Accessor"><use href="../assets/icons.svg#icon-262144"></use></svg><span>models</span></a><a href="#observers"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Accessor"><use href="../assets/icons.svg#icon-262144"></use></svg><span>observers</span></a><a href="#panoindex"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Accessor"><use href="../assets/icons.svg#icon-262144"></use></svg><span>pano<wbr/>Index</span></a><a href="#rendereffect"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Accessor"><use href="../assets/icons.svg#icon-262144"></use></svg><span>render<wbr/>Effect</span></a><a href="#scissor"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Accessor"><use href="../assets/icons.svg#icon-262144"></use></svg><span>scissor</span></a><a href="#work"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Accessor"><use href="../assets/icons.svg#icon-262144"></use></svg><span>work</span></a><a href="#works"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Accessor"><use href="../assets/icons.svg#icon-262144"></use></svg><span>works</span></a><a href="#dracopath"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Accessor"><use href="../assets/icons.svg#icon-262144"></use></svg><span>draco<wbr/>Path</span></a><a href="#ktx2path"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Accessor"><use href="../assets/icons.svg#icon-262144"></use></svg><span>ktx2<wbr/>Path</span></a><a href="#version"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Accessor"><use href="../assets/icons.svg#icon-262144"></use></svg><span>version</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Methods"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Methods</summary><div><a href="#addextraelement"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>add<wbr/>Extra<wbr/>Element</span></a><a href="#appendto"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>append<wbr/>To</span></a><a href="#changemode"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>change<wbr/>Mode</span></a><a href="#dispose"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>dispose</span></a><a href="#emit" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>emit</span></a><a href="#exitfullscreen"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>exit<wbr/>Fullscreen</span></a><a href="#getcameralocal"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Camera<wbr/>Local</span></a><a href="#getcurrentstate"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Current<wbr/>State</span></a><a href="#getdrawingbuffersize"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Drawing<wbr/>Buffer<wbr/>Size</span></a><a href="#getelement"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Element</span></a><a href="#getlongitudeandlatitude"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Longitude<wbr/>And<wbr/>Latitude</span></a><a href="#getoffset"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Offset</span></a><a href="#getpixels"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Pixels</span></a><a href="#getpose"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Pose</span></a><a href="#getsize"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Size</span></a><a href="#haslistener" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>has<wbr/>Listener</span></a><a href="#load"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>load</span></a><a href="#movetopano"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>move<wbr/>To<wbr/>Pano</span></a><a href="#off" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>off</span></a><a href="#on" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>on</span></a><a href="#once" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>once</span></a><a href="#pause"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>pause</span></a><a href="#play"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>play</span></a><a href="#preloadpano"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>preload<wbr/>Pano</span></a><a href="#project2d"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>project2d</span></a><a href="#ready"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>ready</span></a><a href="#refresh"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>refresh</span></a><a href="#removeextraelement"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>remove<wbr/>Extra<wbr/>Element</span></a><a href="#render"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>render</span></a><a href="#requestfullscreen"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>request<wbr/>Fullscreen</span></a><a href="#reset"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>reset</span></a><a href="#reset_"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>reset_</span></a><a href="#setscissor"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Scissor</span></a><a href="#setstate"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>State</span></a><a href="#setviewport"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Viewport</span></a><a href="#updatecamera"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>update<wbr/>Camera</span></a><a href="#updatecamerawithkeyframes"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>update<wbr/>Camera<wbr/>With<wbr/>Keyframes</span></a><a href="#updateconfiguration"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>update<wbr/>Configuration</span></a><a href="#updatetime"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>update<wbr/>Time</span></a><a href="#waituntil" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>wait<wbr/>Until</span></a></div></details></div></details></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html">如视 Five SDK</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>
|