@realsee/five 5.0.0-alpha.100
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/README.md +362 -0
- package/TERMS.txt +56 -0
- package/docs/.nojekyll +1 -0
- package/docs/assets/highlight.css +134 -0
- package/docs/assets/icons.css +1043 -0
- package/docs/assets/icons.png +0 -0
- package/docs/assets/icons@2x.png +0 -0
- package/docs/assets/main.js +52 -0
- package/docs/assets/search.js +1 -0
- package/docs/assets/style.css +1388 -0
- package/docs/assets/widgets.png +0 -0
- package/docs/assets/widgets@2x.png +0 -0
- package/docs/classes/five.AnimationFrameLoop.html +15 -0
- package/docs/classes/five.BVH.html +10 -0
- package/docs/classes/five.BVHIntersect.html +1 -0
- package/docs/classes/five.BVHNode.html +7 -0
- package/docs/classes/five.BVHVector3.html +1 -0
- package/docs/classes/five.Camera.html +11 -0
- package/docs/classes/five.Five.html +303 -0
- package/docs/classes/five.InternalWebGLRenderer.html +1 -0
- package/docs/classes/five.IntersectMesh.html +1 -0
- package/docs/classes/five.LegacyPanoCircleMesh.html +5 -0
- package/docs/classes/five.Model.html +77 -0
- package/docs/classes/five.NetworkSubscribe.html +50 -0
- package/docs/classes/five.PBMContainer.html +17 -0
- package/docs/classes/five.PBMGroup.html +19 -0
- package/docs/classes/five.PBMMaterial.html +15 -0
- package/docs/classes/five.PBMMesh.html +7 -0
- package/docs/classes/five.PanoCircleMesh.html +7 -0
- package/docs/classes/five.Scene.html +3 -0
- package/docs/classes/five.Subscribe.html +56 -0
- package/docs/classes/five.Work.html +30 -0
- package/docs/classes/gltf_loader.GLTFLoader.html +17 -0
- package/docs/classes/gltf_loader.GLTFObject.html +7 -0
- package/docs/classes/line.Line.html +1 -0
- package/docs/classes/line.LineGeometry.html +1 -0
- package/docs/classes/line.LineMaterial.html +1 -0
- package/docs/classes/line.LineSegmentsGeometry.html +1 -0
- package/docs/classes/line.THREE_Line2.html +1 -0
- package/docs/classes/line.THREE_LineSegments2.html +1 -0
- package/docs/classes/react.Store.html +29 -0
- package/docs/classes/server.BVH.html +10 -0
- package/docs/classes/server.BVHIntersect.html +1 -0
- package/docs/classes/server.BVHNode.html +7 -0
- package/docs/classes/server.BVHVector3.html +1 -0
- package/docs/classes/server.Model.html +63 -0
- package/docs/classes/server.PBMGroup.html +9 -0
- package/docs/classes/server.PBMMesh.html +7 -0
- package/docs/classes/sticker.Sticker.html +32 -0
- package/docs/index.html +182 -0
- package/docs/interfaces/five.AddableObject.html +1 -0
- package/docs/interfaces/five.AnimationFrame.html +1 -0
- package/docs/interfaces/five.CameraPose.html +1 -0
- package/docs/interfaces/five.DepthPanoramaControllerCustomInitArgs.html +28 -0
- package/docs/interfaces/five.EventCallback.html +391 -0
- package/docs/interfaces/five.FiveInitArgs.html +96 -0
- package/docs/interfaces/five.FloorplanControllerCustomInitArgs.html +15 -0
- package/docs/interfaces/five.ImageOptions.html +16 -0
- package/docs/interfaces/five.ImageURLOptions.html +1 -0
- package/docs/interfaces/five.IntersectMeshInterface.html +3 -0
- package/docs/interfaces/five.Intersection.html +7 -0
- package/docs/interfaces/five.ModelControllerCustomInitArgs.html +20 -0
- package/docs/interfaces/five.ModelEventCallback.html +22 -0
- package/docs/interfaces/five.MovePanoOptions.html +39 -0
- package/docs/interfaces/five.PBMPanoPicture.html +7 -0
- package/docs/interfaces/five.PBMParameters.html +15 -0
- package/docs/interfaces/five.PanoCircleMeshInterface.html +19 -0
- package/docs/interfaces/five.PanoramaControllerCustomInitArgs.html +28 -0
- package/docs/interfaces/five.PanoramaLikeControllerCustomInitArgs.html +20 -0
- package/docs/interfaces/five.Pose.html +35 -0
- package/docs/interfaces/five.Scissor.html +14 -0
- package/docs/interfaces/five.State.html +19 -0
- package/docs/interfaces/five.SubscribeMixinType.emit.html +1 -0
- package/docs/interfaces/five.SubscribeMixinType.hasListener.html +1 -0
- package/docs/interfaces/five.SubscribeMixinType.off.html +1 -0
- package/docs/interfaces/five.SubscribeMixinType.on.html +1 -0
- package/docs/interfaces/five.SubscribeMixinType.once.html +1 -0
- package/docs/interfaces/five.TextureOptions.html +18 -0
- package/docs/interfaces/five.TopviewControllerCustomInitArgs.html +7 -0
- package/docs/interfaces/five.VRPanoramaControllerCustomInitArgs.html +24 -0
- package/docs/interfaces/five.WorkCubeImage.html +13 -0
- package/docs/interfaces/five.WorkImage.html +21 -0
- package/docs/interfaces/five.WorkInitial.html +13 -0
- package/docs/interfaces/five.WorkModel.html +11 -0
- package/docs/interfaces/five.WorkObserver.html +25 -0
- package/docs/interfaces/five.WorkTile.html +1 -0
- package/docs/interfaces/five.WorkVideo.html +9 -0
- package/docs/interfaces/gltf_loader.GLTF.html +7 -0
- package/docs/interfaces/react.FiveActionReactCallbacks.html +62 -0
- package/docs/interfaces/react.FiveInjectionTypes.html +191 -0
- package/docs/interfaces/react.PropTypeOfFiveFeatures.html +1 -0
- package/docs/interfaces/server.Intersection.html +7 -0
- package/docs/interfaces/server.ModelEventCallback.html +18 -0
- package/docs/interfaces/sticker.IntersectionLike.html +8 -0
- package/docs/media/coordinate.jpg +0 -0
- package/docs/media/topview.jpg +0 -0
- package/docs/media/typescript.jpg +0 -0
- package/docs/modules/five.SubscribeMixinType.html +1 -0
- package/docs/modules/five.html +481 -0
- package/docs/modules/gltf_loader.html +1 -0
- package/docs/modules/line.html +1 -0
- package/docs/modules/react.html +130 -0
- package/docs/modules/server.html +18 -0
- package/docs/modules/sticker.html +1 -0
- package/docs/modules.html +1 -0
- package/exporters/staticify.js +203 -0
- package/five/index.d.ts +2061 -0
- package/five/index.js +372 -0
- package/gltf-loader/index.d.ts +75 -0
- package/gltf-loader/index.js +260 -0
- package/line/index.d.ts +68 -0
- package/line/index.js +260 -0
- package/package.json +36 -0
- package/react/index.d.ts +812 -0
- package/react/index.js +260 -0
- package/resource/basis/basis_transcoder.js +22 -0
- package/resource/basis/basis_transcoder.wasm +0 -0
- package/resource/gltf/draco_decoder.js +31 -0
- package/resource/gltf/draco_decoder.wasm +0 -0
- package/resource/gltf/draco_wasm_wrapper.js +119 -0
- package/scripts/five-plugin-init.js +83 -0
- package/scripts/five-quick-start-init.js +80 -0
- package/scripts/five-react-component-init.js +83 -0
- package/scripts/five-staticify.js +21 -0
- package/server/index.d.ts +568 -0
- package/server/index.js +367 -0
- package/sticker/index.d.ts +70 -0
- package/sticker/index.js +260 -0
- package/templates/plugin/README.md +38 -0
- package/templates/plugin/devtools/external-five.js +5 -0
- package/templates/plugin/devtools/external-three.js +5 -0
- package/templates/plugin/devtools/tsconfig.build.json +18 -0
- package/templates/plugin/devtools/webpack.bundle.js +44 -0
- package/templates/plugin/devtools/webpack.example.js +39 -0
- package/templates/plugin/docs/.gitkeep +0 -0
- package/templates/plugin/examples/data.json +507 -0
- package/templates/plugin/examples/index.html +28 -0
- package/templates/plugin/examples/index.ts +12 -0
- package/templates/plugin/lib/index.ts +30 -0
- package/templates/plugin/package.json +32 -0
- package/templates/plugin/tsconfig.json +26 -0
- package/templates/quick-start/README.md +47 -0
- package/templates/quick-start/assets/work.json +507 -0
- package/templates/quick-start/index.html +54 -0
- package/templates/quick-start/index.tsx +123 -0
- package/templates/quick-start/package.json +25 -0
- package/templates/quick-start/tsconfig.json +27 -0
- package/templates/quick-start/webpack.config.js +45 -0
- package/templates/quick-start/webpack.production.js +42 -0
- package/templates/react-component/README.md +32 -0
- package/templates/react-component/devtools/external-five.js +5 -0
- package/templates/react-component/devtools/external-react.js +5 -0
- package/templates/react-component/devtools/external-three.js +5 -0
- package/templates/react-component/devtools/tsconfig.build.json +19 -0
- package/templates/react-component/devtools/webpack.bundle.js +44 -0
- package/templates/react-component/devtools/webpack.example.js +39 -0
- package/templates/react-component/docs/.gitkeep +0 -0
- package/templates/react-component/examples/data.json +507 -0
- package/templates/react-component/examples/index.html +17 -0
- package/templates/react-component/examples/index.tsx +62 -0
- package/templates/react-component/lib/index.tsx +157 -0
- package/templates/react-component/package.json +38 -0
- package/templates/react-component/tsconfig.json +27 -0
- package/umd/five-gltf-loader.js +2 -0
- package/umd/five-gltf-loader.js.LICENSE.txt +14 -0
- package/umd/five-line.js +2 -0
- package/umd/five-line.js.LICENSE.txt +14 -0
- package/umd/five-react.js +2 -0
- package/umd/five-react.js.LICENSE.txt +14 -0
- package/umd/five-sticker.js +2 -0
- package/umd/five-sticker.js.LICENSE.txt +14 -0
- package/umd/five.js +2 -0
- package/umd/five.js.LICENSE.txt +116 -0
|
@@ -0,0 +1,391 @@
|
|
|
1
|
+
<!DOCTYPE html><html class="default"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>EventCallback | 如视 Five SDK - v5.0.0-alpha.100</title><meta name="description" content="Documentation for 如视 Five SDK - v5.0.0-alpha.100"/><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 async src="../assets/search.js" id="search-script"></script></head><body><script>document.body.classList.add(localStorage.getItem("tsd-theme") || "os")</script><header><div class="tsd-page-toolbar"><div class="container"><div class="table-wrap"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget search no-caption">Search</label><input type="text" id="tsd-search-field"/></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视 Five SDK - v5.0.0-alpha.100</a></div><div class="table-cell" id="tsd-widgets"><div id="tsd-filter"><a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a><div class="tsd-filter-group"><div class="tsd-select" id="tsd-filter-visibility"><span class="tsd-select-label">All</span><ul class="tsd-select-list"><li data-value="public">Public</li><li data-value="protected">Public/Protected</li><li data-value="private" class="selected">All</li></ul></div> <input type="checkbox" id="tsd-filter-inherited" checked/><label class="tsd-widget" for="tsd-filter-inherited">Inherited</label></div></div><a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a></div></div></div></div><div class="tsd-page-title"><div class="container"><ul class="tsd-breadcrumb"><li><a href="../modules.html">如视 Five SDK - v5.0.0-alpha.100</a></li><li><a href="../modules/five.html">five</a></li><li><a href="five.EventCallback.html">EventCallback</a></li></ul><h1>Interface EventCallback</h1></div></div></header><div class="container container-main"><div class="row"><div class="col-8 col-content"><section class="tsd-panel tsd-comment"><div class="tsd-comment tsd-typography"><div class="lead">
|
|
2
|
+
<p>Five 事件列表</p>
|
|
3
|
+
</div><dl class="tsd-comment-tags"><dt>description</dt><dd><p>可以通过 <code>five.on(METHOD_NAME, METHOD)</code> 调用</p>
|
|
4
|
+
</dd></dl></div></section><section class="tsd-panel tsd-hierarchy"><h3>Hierarchy</h3><ul class="tsd-hierarchy"><li><a href="../modules/five.html#EventTypes" class="tsd-signature-type" data-tsd-kind="Type alias">EventTypes</a><ul class="tsd-hierarchy"><li><span class="target">EventCallback</span></li></ul></li></ul></section><section class="tsd-panel-group tsd-index-group"><h2>Index</h2><section class="tsd-panel tsd-index-panel"><div class="tsd-index-content"><section class="tsd-index-section tsd-is-inherited"><h3>Methods</h3><ul class="tsd-index-list"><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#cameraDirectionUpdate" class="tsd-kind-icon">camera<wbr/>Direction<wbr/>Update</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#cameraPositionUpdate" class="tsd-kind-icon">camera<wbr/>Position<wbr/>Update</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#cameraUpdate" class="tsd-kind-icon">camera<wbr/>Update</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#currentStateChange" class="tsd-kind-icon">current<wbr/>State<wbr/>Change</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#dispose" class="tsd-kind-icon">dispose</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#error" class="tsd-kind-icon">error</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#fps" class="tsd-kind-icon">fps</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#gesture" class="tsd-kind-icon">gesture</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#helpersVisibleChange" class="tsd-kind-icon">helpers<wbr/>Visible<wbr/>Change</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#initAnimationEnded" class="tsd-kind-icon">init<wbr/>Animation<wbr/>Ended</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#initAnimationWillStart" class="tsd-kind-icon">init<wbr/>Animation<wbr/>Will<wbr/>Start</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#interiaPan" class="tsd-kind-icon">interia<wbr/>Pan</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#intersectionHidden" class="tsd-kind-icon">intersection<wbr/>Hidden</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#intersectionOnModelUpdate" class="tsd-kind-icon">intersection<wbr/>On<wbr/>Model<wbr/>Update</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#load" class="tsd-kind-icon">load</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#loaded" class="tsd-kind-icon">loaded</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#modeChange" class="tsd-kind-icon">mode<wbr/>Change</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#modelBvhLoaded" class="tsd-kind-icon">model<wbr/>Bvh<wbr/>Loaded</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#modelGeometryLoaded" class="tsd-kind-icon">model<wbr/>Geometry<wbr/>Loaded</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#modelLoadError" class="tsd-kind-icon">model<wbr/>Load<wbr/>Error</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#modelLoaded" class="tsd-kind-icon">model<wbr/>Loaded</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#modelMaterialLoaded" class="tsd-kind-icon">model<wbr/>Material<wbr/>Loaded</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#modelShownFloorChange" class="tsd-kind-icon">model<wbr/>Shown<wbr/>Floor<wbr/>Change</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#modelWillLoad" class="tsd-kind-icon">model<wbr/>Will<wbr/>Load</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#mouseWheel" class="tsd-kind-icon">mouse<wbr/>Wheel</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#moveToPano" class="tsd-kind-icon">move<wbr/>To<wbr/>Pano</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#moveToPanoCanceled" class="tsd-kind-icon">move<wbr/>To<wbr/>Pano<wbr/>Canceled</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#movingToPano" class="tsd-kind-icon">moving<wbr/>To<wbr/>Pano</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#network" class="tsd-kind-icon">network</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#panGesture" class="tsd-kind-icon">pan<wbr/>Gesture</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#panoArrived" class="tsd-kind-icon">pano<wbr/>Arrived</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#panoLoadError" class="tsd-kind-icon">pano<wbr/>Load<wbr/>Error</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#panoLoaded" class="tsd-kind-icon">pano<wbr/>Loaded</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#panoSelected" class="tsd-kind-icon">pano<wbr/>Selected</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#panoWillArrive" class="tsd-kind-icon">pano<wbr/>Will<wbr/>Arrive</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#panoWillLoad" class="tsd-kind-icon">pano<wbr/>Will<wbr/>Load</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#pinchGesture" class="tsd-kind-icon">pinch<wbr/>Gesture</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#pressGesture" class="tsd-kind-icon">press<wbr/>Gesture</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#renderFrame" class="tsd-kind-icon">render<wbr/>Frame</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#setState" class="tsd-kind-icon">set<wbr/>State</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#stateChange" class="tsd-kind-icon">state<wbr/>Change</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#stateSynced" class="tsd-kind-icon">state<wbr/>Synced</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#tapGesture" class="tsd-kind-icon">tap<wbr/>Gesture</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#textureAbort" class="tsd-kind-icon">texture<wbr/>Abort</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#textureError" class="tsd-kind-icon">texture<wbr/>Error</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#textureLoaded" class="tsd-kind-icon">texture<wbr/>Loaded</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#textureLoading" class="tsd-kind-icon">texture<wbr/>Loading</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#textureStartLoad" class="tsd-kind-icon">texture<wbr/>Start<wbr/>Load</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#wantsChangeMode" class="tsd-kind-icon">wants<wbr/>Change<wbr/>Mode</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#wantsGesture" class="tsd-kind-icon">wants<wbr/>Gesture</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#wantsInteriaPan" class="tsd-kind-icon">wants<wbr/>Interia<wbr/>Pan</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#wantsMouseWheel" class="tsd-kind-icon">wants<wbr/>Mouse<wbr/>Wheel</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#wantsMoveToPano" class="tsd-kind-icon">wants<wbr/>Move<wbr/>To<wbr/>Pano</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#wantsPanGesture" class="tsd-kind-icon">wants<wbr/>Pan<wbr/>Gesture</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#wantsPinchGesture" class="tsd-kind-icon">wants<wbr/>Pinch<wbr/>Gesture</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#wantsPressGesture" class="tsd-kind-icon">wants<wbr/>Press<wbr/>Gesture</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#wantsShowIntersectionOnModel" class="tsd-kind-icon">wants<wbr/>Show<wbr/>Intersection<wbr/>On<wbr/>Model</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#wantsTapGesture" class="tsd-kind-icon">wants<wbr/>Tap<wbr/>Gesture</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#wantsToMoveToPano" class="tsd-kind-icon">wants<wbr/>To<wbr/>Move<wbr/>To<wbr/>Pano</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#willLoad" class="tsd-kind-icon">will<wbr/>Load</a></li></ul></section></div></section></section><section class="tsd-panel-group tsd-member-group tsd-is-inherited"><h2>Methods</h2><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a id="cameraDirectionUpdate" class="tsd-anchor"></a><h3>camera<wbr/>Direction<wbr/>Update</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">camera<wbr/>Direction<wbr/>Update<span class="tsd-signature-symbol">(</span>coordinates<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Pick</span><span class="tsd-signature-symbol"><</span><a href="five.Pose.html" class="tsd-signature-type" data-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>, userAction<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></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from EventTypes.cameraDirectionUpdate</p><ul><li>Defined in lib/five/controllers/events.ts:64</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
5
|
+
<p>相机姿态中相机方向变化</p>
|
|
6
|
+
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>coordinates: <span class="tsd-signature-type">Pick</span><span class="tsd-signature-symbol"><</span><a href="five.Pose.html" class="tsd-signature-type" data-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></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
7
|
+
<p>相机姿态的俯仰角和偏航角</p>
|
|
8
|
+
</div></div></li><li><h5>userAction: <span class="tsd-signature-type">boolean</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
9
|
+
<p>是否用户触发</p>
|
|
10
|
+
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a id="cameraPositionUpdate" class="tsd-anchor"></a><h3>camera<wbr/>Position<wbr/>Update</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">camera<wbr/>Position<wbr/>Update<span class="tsd-signature-symbol">(</span>offset<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Vector3</span>, userAction<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></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from EventTypes.cameraPositionUpdate</p><ul><li>Defined in lib/five/controllers/events.ts:57</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
11
|
+
<p>相机姿态中相机位置变化</p>
|
|
12
|
+
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>offset: <span class="tsd-signature-type">Vector3</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
13
|
+
<p>相机位置</p>
|
|
14
|
+
</div></div></li><li><h5>userAction: <span class="tsd-signature-type">boolean</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
15
|
+
<p>是否用户触发</p>
|
|
16
|
+
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a id="cameraUpdate" class="tsd-anchor"></a><h3>camera<wbr/>Update</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">camera<wbr/>Update<span class="tsd-signature-symbol">(</span>pose<span class="tsd-signature-symbol">: </span><a href="five.Pose.html" class="tsd-signature-type" data-tsd-kind="Interface">Pose</a>, userAction<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></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from EventTypes.cameraUpdate</p><ul><li>Defined in lib/five/controllers/events.ts:43</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
17
|
+
<p>相机姿态变化</p>
|
|
18
|
+
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>pose: <a href="five.Pose.html" class="tsd-signature-type" data-tsd-kind="Interface">Pose</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
19
|
+
<p>相机姿态</p>
|
|
20
|
+
</div></div></li><li><h5>userAction: <span class="tsd-signature-type">boolean</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
21
|
+
<p>是否用户触发</p>
|
|
22
|
+
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a id="currentStateChange" class="tsd-anchor"></a><h3>current<wbr/>State<wbr/>Change</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">current<wbr/>State<wbr/>Change<span class="tsd-signature-symbol">(</span>state<span class="tsd-signature-symbol">: </span><a href="five.State.html" class="tsd-signature-type" data-tsd-kind="Interface">State</a>, userAction<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></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from EventTypes.currentStateChange</p><ul><li>Defined in lib/five/application/events.ts:155</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
23
|
+
<p>当前实时 state 变化时</p>
|
|
24
|
+
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>state: <a href="five.State.html" class="tsd-signature-type" data-tsd-kind="Interface">State</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
25
|
+
<p>当前姿态状态</p>
|
|
26
|
+
</div></div></li><li><h5>userAction: <span class="tsd-signature-type">boolean</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
27
|
+
<p>是否用户触发</p>
|
|
28
|
+
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a id="dispose" class="tsd-anchor"></a><h3>dispose</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">dispose<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></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from EventTypes.dispose</p><ul><li>Defined in lib/five/application/events.ts:220</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
29
|
+
<p>five 被析构。 插件中请监听用于自身析构</p>
|
|
30
|
+
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a id="error" class="tsd-anchor"></a><h3>error</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">error<span class="tsd-signature-symbol">(</span>error<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Error</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from EventTypes.error</p><ul><li>Defined in lib/five/application/events.ts:60</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
31
|
+
<p>内部错误</p>
|
|
32
|
+
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>error: <span class="tsd-signature-type">Error</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
33
|
+
<p>错误对象</p>
|
|
34
|
+
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a id="fps" class="tsd-anchor"></a><h3>fps</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">fps<span class="tsd-signature-symbol">(</span>fps<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></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from EventTypes.fps</p><ul><li>Defined in lib/five/application/events.ts:141</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
35
|
+
<p>当前 fps 变化</p>
|
|
36
|
+
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>fps: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
37
|
+
<p>当前刷新率</p>
|
|
38
|
+
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a id="gesture" class="tsd-anchor"></a><h3>gesture</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">gesture<span class="tsd-signature-symbol">(</span>type<span class="tsd-signature-symbol">: </span><a href="../modules/five.html#GestureTypes" class="tsd-signature-type" data-tsd-kind="Type alias">GestureTypes</a>, pointers<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">{ </span>delta<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>x<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>y<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>, final<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></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from EventTypes.gesture</p><ul><li>Defined in lib/five/controllers/events.ts:167</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
39
|
+
<p>手势 触发</p>
|
|
40
|
+
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>type: <a href="../modules/five.html#GestureTypes" class="tsd-signature-type" data-tsd-kind="Type alias">GestureTypes</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
41
|
+
<p>手势类型</p>
|
|
42
|
+
</div></div></li><li><h5>pointers: <span class="tsd-signature-symbol">{ </span>delta<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>x<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>y<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></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
43
|
+
<p>手指位置</p>
|
|
44
|
+
</div></div></li><li><h5>final: <span class="tsd-signature-type">boolean</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
45
|
+
<p>是否手势结束</p>
|
|
46
|
+
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a id="helpersVisibleChange" class="tsd-anchor"></a><h3>helpers<wbr/>Visible<wbr/>Change</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">helpers<wbr/>Visible<wbr/>Change<span class="tsd-signature-symbol">(</span>visible<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></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from EventTypes.helpersVisibleChange</p><ul><li>Defined in lib/five/application/events.ts:209</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
47
|
+
<p>帮助元素显应的变换</p>
|
|
48
|
+
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>visible: <span class="tsd-signature-type">boolean</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
49
|
+
<p>帮助元素的是否开启</p>
|
|
50
|
+
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a id="initAnimationEnded" class="tsd-anchor"></a><h3>init<wbr/>Animation<wbr/>Ended</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">init<wbr/>Animation<wbr/>Ended<span class="tsd-signature-symbol">(</span>panoIndex<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, pose<span class="tsd-signature-symbol">: </span><a href="five.Pose.html" class="tsd-signature-type" data-tsd-kind="Interface">Pose</a>, userAction<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></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from EventTypes.initAnimationEnded</p><ul><li>Defined in lib/five/controllers/events.ts:27</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
51
|
+
<p>模态间切换动画结束</p>
|
|
52
|
+
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>panoIndex: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
53
|
+
<p>当前点位</p>
|
|
54
|
+
</div></div></li><li><h5>pose: <a href="five.Pose.html" class="tsd-signature-type" data-tsd-kind="Interface">Pose</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
55
|
+
<p>相机姿态</p>
|
|
56
|
+
</div></div></li><li><h5>userAction: <span class="tsd-signature-type">boolean</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
57
|
+
<p>是否用户触发</p>
|
|
58
|
+
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a id="initAnimationWillStart" class="tsd-anchor"></a><h3>init<wbr/>Animation<wbr/>Will<wbr/>Start</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">init<wbr/>Animation<wbr/>Will<wbr/>Start<span class="tsd-signature-symbol">(</span>panoIndex<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, pose<span class="tsd-signature-symbol">: </span><a href="five.Pose.html" class="tsd-signature-type" data-tsd-kind="Interface">Pose</a>, userAction<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></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from EventTypes.initAnimationWillStart</p><ul><li>Defined in lib/five/controllers/events.ts:19</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
59
|
+
<p>模态间切换动画开始</p>
|
|
60
|
+
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>panoIndex: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
61
|
+
<p>当前点位</p>
|
|
62
|
+
</div></div></li><li><h5>pose: <a href="five.Pose.html" class="tsd-signature-type" data-tsd-kind="Interface">Pose</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
63
|
+
<p>相机姿态</p>
|
|
64
|
+
</div></div></li><li><h5>userAction: <span class="tsd-signature-type">boolean</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
65
|
+
<p>是否用户触发</p>
|
|
66
|
+
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a id="interiaPan" class="tsd-anchor"></a><h3>interia<wbr/>Pan</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">interia<wbr/>Pan<span class="tsd-signature-symbol">(</span>pose<span class="tsd-signature-symbol">: </span><a href="five.Pose.html" class="tsd-signature-type" data-tsd-kind="Interface">Pose</a>, final<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></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from EventTypes.interiaPan</p><ul><li>Defined in lib/five/controllers/events.ts:197</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
67
|
+
<p>pan 手势(滑动屏幕) 的惯性运动</p>
|
|
68
|
+
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>pose: <a href="five.Pose.html" class="tsd-signature-type" data-tsd-kind="Interface">Pose</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
69
|
+
<p>意图的相机姿态</p>
|
|
70
|
+
</div></div></li><li><h5>final: <span class="tsd-signature-type">boolean</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
71
|
+
<p>是否手势结束</p>
|
|
72
|
+
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a id="intersectionHidden" class="tsd-anchor"></a><h3>intersection<wbr/>Hidden</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">intersection<wbr/>Hidden<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></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from EventTypes.intersectionHidden</p><ul><li>Defined in lib/five/controllers/events.ts:284</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
73
|
+
<p>鼠标焦点环被隐藏</p>
|
|
74
|
+
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a id="intersectionOnModelUpdate" class="tsd-anchor"></a><h3>intersection<wbr/>On<wbr/>Model<wbr/>Update</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">intersection<wbr/>On<wbr/>Model<wbr/>Update<span class="tsd-signature-symbol">(</span>intersection<span class="tsd-signature-symbol">: </span><a href="five.Intersection.html" class="tsd-signature-type" data-tsd-kind="Interface">Intersection</a>, mesh<span class="tsd-signature-symbol">: </span><a href="five.IntersectMeshInterface.html" class="tsd-signature-type" data-tsd-kind="Interface">IntersectMeshInterface</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from EventTypes.intersectionOnModelUpdate</p><ul><li>Defined in lib/five/controllers/events.ts:274</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
75
|
+
<p>鼠标焦点环位置被重新计算</p>
|
|
76
|
+
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>intersection: <a href="five.Intersection.html" class="tsd-signature-type" data-tsd-kind="Interface">Intersection</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
77
|
+
<p>焦点碰撞结果</p>
|
|
78
|
+
</div></div></li><li><h5>mesh: <a href="five.IntersectMeshInterface.html" class="tsd-signature-type" data-tsd-kind="Interface">IntersectMeshInterface</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
79
|
+
<p>焦点环 mesh</p>
|
|
80
|
+
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a id="load" class="tsd-anchor"></a><h3>load</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">load<span class="tsd-signature-symbol">(</span>input<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span>, work<span class="tsd-signature-symbol">: </span><a href="../classes/five.Work.html" class="tsd-signature-type" data-tsd-kind="Class">Work</a>, state<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Omit</span><span class="tsd-signature-symbol"><</span><a href="five.State.html" class="tsd-signature-type" data-tsd-kind="Interface">State</a><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">"offset"</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></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from EventTypes.load</p><ul><li>Defined in lib/five/application/events.ts:76</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
81
|
+
<p>开始加载 Work 数据</p>
|
|
82
|
+
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>input: <span class="tsd-signature-type">any</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
83
|
+
<p>输入的 work</p>
|
|
84
|
+
</div></div></li><li><h5>work: <a href="../classes/five.Work.html" class="tsd-signature-type" data-tsd-kind="Class">Work</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
85
|
+
<p>归一化的标准 work</p>
|
|
86
|
+
</div></div></li><li><h5>state: <span class="tsd-signature-type">Omit</span><span class="tsd-signature-symbol"><</span><a href="five.State.html" class="tsd-signature-type" data-tsd-kind="Interface">State</a><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">"offset"</span><span class="tsd-signature-symbol">></span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
87
|
+
<p>加载时的姿态</p>
|
|
88
|
+
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a id="loaded" class="tsd-anchor"></a><h3>loaded</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">loaded<span class="tsd-signature-symbol">(</span>input<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span>, work<span class="tsd-signature-symbol">: </span><a href="../classes/five.Work.html" class="tsd-signature-type" data-tsd-kind="Class">Work</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from EventTypes.loaded</p><ul><li>Defined in lib/five/application/events.ts:83</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
89
|
+
<p>加载完 Work 数据</p>
|
|
90
|
+
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>input: <span class="tsd-signature-type">any</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
91
|
+
<p>输入的 work</p>
|
|
92
|
+
</div></div></li><li><h5>work: <a href="../classes/five.Work.html" class="tsd-signature-type" data-tsd-kind="Class">Work</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
93
|
+
<p>归一化的标准 work</p>
|
|
94
|
+
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a id="modeChange" class="tsd-anchor"></a><h3>mode<wbr/>Change</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">mode<wbr/>Change<span class="tsd-signature-symbol">(</span>mode<span class="tsd-signature-symbol">: </span><a href="../modules/five.html#Mode" class="tsd-signature-type" data-tsd-kind="Type alias">Mode</a>, prevMode<span class="tsd-signature-symbol">: </span><a href="../modules/five.html#Mode" class="tsd-signature-type" data-tsd-kind="Type alias">Mode</a>, panoIndex<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, toPose<span class="tsd-signature-symbol">: </span><a href="five.Pose.html" class="tsd-signature-type" data-tsd-kind="Interface">Pose</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from EventTypes.modeChange</p><ul><li>Defined in lib/five/application/events.ts:203</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
95
|
+
<p>模态切换完成</p>
|
|
96
|
+
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>mode: <a href="../modules/five.html#Mode" class="tsd-signature-type" data-tsd-kind="Type alias">Mode</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
97
|
+
<p>切换到的模态</p>
|
|
98
|
+
</div></div></li><li><h5>prevMode: <a href="../modules/five.html#Mode" class="tsd-signature-type" data-tsd-kind="Type alias">Mode</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
99
|
+
<p>上本质是一个模态</p>
|
|
100
|
+
</div></div></li><li><h5>panoIndex: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
101
|
+
<p>初始化动画结束后的点位下标</p>
|
|
102
|
+
</div></div></li><li><h5>toPose: <a href="five.Pose.html" class="tsd-signature-type" data-tsd-kind="Interface">Pose</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
103
|
+
<p>初始化动画结束后的状态</p>
|
|
104
|
+
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a id="modelBvhLoaded" class="tsd-anchor"></a><h3>model<wbr/>Bvh<wbr/>Loaded</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">model<wbr/>Bvh<wbr/>Loaded<span class="tsd-signature-symbol">(</span>model<span class="tsd-signature-symbol">: </span><a href="../classes/five.Model.html" class="tsd-signature-type" data-tsd-kind="Class">Model</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from EventTypes.modelBvhLoaded</p><ul><li>Defined in lib/five/application/events.ts:110</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
105
|
+
<p>模型 bvh树 计算完成</p>
|
|
106
|
+
</div><dl class="tsd-comment-tags"><dt>description</dt><dd><p>bvh 树用于高效的碰撞检测,可以在 <code>model.bvh</code> 属性来设置是否开启。默认开启。
|
|
107
|
+
bvh 树计算需要一定事件,可能会暂时影响一些性能。计算完毕后,会对碰撞检测带来质的提升。</p>
|
|
108
|
+
</dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>model: <a href="../classes/five.Model.html" class="tsd-signature-type" data-tsd-kind="Class">Model</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
109
|
+
<p>加载完的 model 本质是一个 <a href="../classes/five.PBMGroup.html">PBMGroup</a></p>
|
|
110
|
+
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a id="modelGeometryLoaded" class="tsd-anchor"></a><h3>model<wbr/>Geometry<wbr/>Loaded</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">model<wbr/>Geometry<wbr/>Loaded<span class="tsd-signature-symbol">(</span>model<span class="tsd-signature-symbol">: </span><a href="../classes/five.Model.html" class="tsd-signature-type" data-tsd-kind="Class">Model</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from EventTypes.modelGeometryLoaded</p><ul><li>Defined in lib/five/application/events.ts:95</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
111
|
+
<p>模型三角面片结构加载完成</p>
|
|
112
|
+
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>model: <a href="../classes/five.Model.html" class="tsd-signature-type" data-tsd-kind="Class">Model</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
113
|
+
<p>加载完的 model 本质是一个 <a href="../classes/five.PBMGroup.html">PBMGroup</a></p>
|
|
114
|
+
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a id="modelLoadError" class="tsd-anchor"></a><h3>model<wbr/>Load<wbr/>Error</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">model<wbr/>Load<wbr/>Error<span class="tsd-signature-symbol">(</span>error<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Error</span>, model<span class="tsd-signature-symbol">: </span><a href="../classes/five.Model.html" class="tsd-signature-type" data-tsd-kind="Class">Model</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from EventTypes.modelLoadError</p><ul><li>Defined in lib/five/application/events.ts:117</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
115
|
+
<p>模型加载错误</p>
|
|
116
|
+
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>error: <span class="tsd-signature-type">Error</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
117
|
+
<p>错误对象</p>
|
|
118
|
+
</div></div></li><li><h5>model: <a href="../classes/five.Model.html" class="tsd-signature-type" data-tsd-kind="Class">Model</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
119
|
+
<p>加载完的 model 本质是一个 <a href="../classes/five.PBMGroup.html">PBMGroup</a></p>
|
|
120
|
+
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a id="modelLoaded" class="tsd-anchor"></a><h3>model<wbr/>Loaded</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">model<wbr/>Loaded<span class="tsd-signature-symbol">(</span>model<span class="tsd-signature-symbol">: </span><a href="../classes/five.Model.html" class="tsd-signature-type" data-tsd-kind="Class">Model</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from EventTypes.modelLoaded</p><ul><li>Defined in lib/five/application/events.ts:123</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
121
|
+
<p>模型加载完成</p>
|
|
122
|
+
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>model: <a href="../classes/five.Model.html" class="tsd-signature-type" data-tsd-kind="Class">Model</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
123
|
+
<p>加载完的 model 本质是一个 <a href="../classes/five.PBMGroup.html">PBMGroup</a></p>
|
|
124
|
+
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a id="modelMaterialLoaded" class="tsd-anchor"></a><h3>model<wbr/>Material<wbr/>Loaded</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">model<wbr/>Material<wbr/>Loaded<span class="tsd-signature-symbol">(</span>model<span class="tsd-signature-symbol">: </span><a href="../classes/five.Model.html" class="tsd-signature-type" data-tsd-kind="Class">Model</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from EventTypes.modelMaterialLoaded</p><ul><li>Defined in lib/five/application/events.ts:101</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
125
|
+
<p>模型材质结构加载完成</p>
|
|
126
|
+
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>model: <a href="../classes/five.Model.html" class="tsd-signature-type" data-tsd-kind="Class">Model</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
127
|
+
<p>加载完的 model 本质是一个 <a href="../classes/five.PBMGroup.html">PBMGroup</a></p>
|
|
128
|
+
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a id="modelShownFloorChange" class="tsd-anchor"></a><h3>model<wbr/>Shown<wbr/>Floor<wbr/>Change</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">model<wbr/>Shown<wbr/>Floor<wbr/>Change<span class="tsd-signature-symbol">(</span>shownFloor<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, totalFloorLength<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></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from EventTypes.modelShownFloorChange</p><ul><li>Defined in lib/five/application/events.ts:129</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
129
|
+
<p>模型楼层切换</p>
|
|
130
|
+
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>shownFloor: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
131
|
+
<p>模型楼层</p>
|
|
132
|
+
</div></div></li><li><h5>totalFloorLength: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a id="modelWillLoad" class="tsd-anchor"></a><h3>model<wbr/>Will<wbr/>Load</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">model<wbr/>Will<wbr/>Load<span class="tsd-signature-symbol">(</span>workModel<span class="tsd-signature-symbol">: </span><a href="five.WorkModel.html" class="tsd-signature-type" data-tsd-kind="Interface">WorkModel</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from EventTypes.modelWillLoad</p><ul><li>Defined in lib/five/application/events.ts:89</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
133
|
+
<p>模型开始加载</p>
|
|
134
|
+
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>workModel: <a href="five.WorkModel.html" class="tsd-signature-type" data-tsd-kind="Interface">WorkModel</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
135
|
+
<p>归一化的标准 work 中的 model 值</p>
|
|
136
|
+
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a id="mouseWheel" class="tsd-anchor"></a><h3>mouse<wbr/>Wheel</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">mouse<wbr/>Wheel<span class="tsd-signature-symbol">(</span>delta<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, fov<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, final<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></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from EventTypes.mouseWheel</p><ul><li>Defined in lib/five/controllers/events.ts:267</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
137
|
+
<p>鼠标滚轮被触发</p>
|
|
138
|
+
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>delta: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
139
|
+
<p>滚轮数值</p>
|
|
140
|
+
</div></div></li><li><h5>fov: <span class="tsd-signature-type">number</span></h5></li><li><h5>final: <span class="tsd-signature-type">boolean</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
141
|
+
<p>是否手势结束</p>
|
|
142
|
+
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a id="moveToPano" class="tsd-anchor"></a><h3>move<wbr/>To<wbr/>Pano</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">move<wbr/>To<wbr/>Pano<span class="tsd-signature-symbol">(</span>panoIndex<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, userAction<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></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from EventTypes.moveToPano</p><ul><li>Defined in lib/five/controllers/events.ts:90</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
143
|
+
<p>开始加载并移动到某个观察点位</p>
|
|
144
|
+
</div><dl class="tsd-comment-tags"><dt>description</dt><dd><p>可 panoWillArrive 相比</p>
|
|
145
|
+
<ul>
|
|
146
|
+
<li>moveToPano 在加载全景图资源前触发</li>
|
|
147
|
+
<li>panoWillArrive 在加载全景图资源后触发</li>
|
|
148
|
+
</ul>
|
|
149
|
+
</dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>panoIndex: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
150
|
+
<p>移动到的点位下标</p>
|
|
151
|
+
</div></div></li><li><h5>userAction: <span class="tsd-signature-type">boolean</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
152
|
+
<p>是否用户触发</p>
|
|
153
|
+
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a id="moveToPanoCanceled" class="tsd-anchor"></a><h3>move<wbr/>To<wbr/>Pano<wbr/>Canceled</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">move<wbr/>To<wbr/>Pano<wbr/>Canceled<span class="tsd-signature-symbol">(</span>panoIndex<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></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from EventTypes.moveToPanoCanceled</p><ul><li>Defined in lib/five/controllers/events.ts:121</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
154
|
+
<p>移动到某个观察点位被取消</p>
|
|
155
|
+
</div><dl class="tsd-comment-tags"><dt>description</dt><dd><p>这个有一些情况会导致</p>
|
|
156
|
+
<ul>
|
|
157
|
+
<li>移动过程中切换模态</li>
|
|
158
|
+
<li>移动过程中 five 被析构</li>
|
|
159
|
+
<li>移动过程点击切换到另一个点位</li>
|
|
160
|
+
</ul>
|
|
161
|
+
</dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>panoIndex: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
162
|
+
<p>对应的点位下标</p>
|
|
163
|
+
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a id="movingToPano" class="tsd-anchor"></a><h3>moving<wbr/>To<wbr/>Pano</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">moving<wbr/>To<wbr/>Pano<span class="tsd-signature-symbol">(</span>panoIndex<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, prevPanoIndex<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, progress<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></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from EventTypes.movingToPano</p><ul><li>Defined in lib/five/controllers/events.ts:149</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
164
|
+
<p>移动中, 会告知移动状态(耗时百分比)</p>
|
|
165
|
+
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>panoIndex: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
166
|
+
<p>将要移动到的点位下标</p>
|
|
167
|
+
</div></div></li><li><h5>prevPanoIndex: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
168
|
+
<p>上一个点位下标</p>
|
|
169
|
+
</div></div></li><li><h5>progress: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
170
|
+
<p>整个过程经度 [0-1]</p>
|
|
171
|
+
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a id="network" class="tsd-anchor"></a><h3>network</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">network<span class="tsd-signature-symbol">(</span>source<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, type<span class="tsd-signature-symbol">: </span><a href="../modules/five.html#NetworkType" class="tsd-signature-type" data-tsd-kind="Type alias">NetworkType</a>, state<span class="tsd-signature-symbol">: </span><a href="../modules/five.html#NetworkState" class="tsd-signature-type" data-tsd-kind="Type alias">NetworkState</a>, detail<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></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from EventTypes.network</p><ul><li>Defined in lib/five/application/events.ts:217</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
172
|
+
<p>网络资源分析</p>
|
|
173
|
+
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>source: <span class="tsd-signature-type">string</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
174
|
+
<p>资源地址</p>
|
|
175
|
+
</div></div></li><li><h5>type: <a href="../modules/five.html#NetworkType" class="tsd-signature-type" data-tsd-kind="Type alias">NetworkType</a></h5></li><li><h5>state: <a href="../modules/five.html#NetworkState" class="tsd-signature-type" data-tsd-kind="Type alias">NetworkState</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
176
|
+
<p>状态</p>
|
|
177
|
+
</div></div></li><li><h5>detail: <span class="tsd-signature-type">string</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
178
|
+
<p>详情</p>
|
|
179
|
+
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a id="panGesture" class="tsd-anchor"></a><h3>pan<wbr/>Gesture</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">pan<wbr/>Gesture<span class="tsd-signature-symbol">(</span>pose<span class="tsd-signature-symbol">: </span><a href="five.Pose.html" class="tsd-signature-type" data-tsd-kind="Interface">Pose</a>, final<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></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from EventTypes.panGesture</p><ul><li>Defined in lib/five/controllers/events.ts:182</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
180
|
+
<p>pan 手势(滑动屏幕) 被触发</p>
|
|
181
|
+
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>pose: <a href="five.Pose.html" class="tsd-signature-type" data-tsd-kind="Interface">Pose</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
182
|
+
<p>相机姿态</p>
|
|
183
|
+
</div></div></li><li><h5>final: <span class="tsd-signature-type">boolean</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
184
|
+
<p>是否手势结束</p>
|
|
185
|
+
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a id="panoArrived" class="tsd-anchor"></a><h3>pano<wbr/>Arrived</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">pano<wbr/>Arrived<span class="tsd-signature-symbol">(</span>panoIndex<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, pose<span class="tsd-signature-symbol">: </span><a href="five.Pose.html" class="tsd-signature-type" data-tsd-kind="Interface">Pose</a>, userAction<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></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from EventTypes.panoArrived</p><ul><li>Defined in lib/five/controllers/events.ts:141</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
186
|
+
<p>移动到某个观察点位</p>
|
|
187
|
+
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>panoIndex: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
188
|
+
<p>移动到点位下标</p>
|
|
189
|
+
</div></div></li><li><h5>pose: <a href="five.Pose.html" class="tsd-signature-type" data-tsd-kind="Interface">Pose</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
190
|
+
<p>相机姿态</p>
|
|
191
|
+
</div></div></li><li><h5>userAction: <span class="tsd-signature-type">boolean</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
192
|
+
<p>是否用户触发</p>
|
|
193
|
+
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a id="panoLoadError" class="tsd-anchor"></a><h3>pano<wbr/>Load<wbr/>Error</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">pano<wbr/>Load<wbr/>Error<span class="tsd-signature-symbol">(</span>error<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Error</span>, panoIndex<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></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from EventTypes.panoLoadError</p><ul><li>Defined in lib/five/controllers/events.ts:110</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
194
|
+
<p>某个观察点的全景资源加载失败</p>
|
|
195
|
+
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>error: <span class="tsd-signature-type">Error</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
196
|
+
<p>错误对象</p>
|
|
197
|
+
</div></div></li><li><h5>panoIndex: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
198
|
+
<p>对应的点位下标</p>
|
|
199
|
+
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a id="panoLoaded" class="tsd-anchor"></a><h3>pano<wbr/>Loaded</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">pano<wbr/>Loaded<span class="tsd-signature-symbol">(</span>panoIndex<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></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from EventTypes.panoLoaded</p><ul><li>Defined in lib/five/controllers/events.ts:102</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
200
|
+
<p>某个观察点的全景资源加载完成</p>
|
|
201
|
+
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>panoIndex: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
202
|
+
<p>对应的点位下标</p>
|
|
203
|
+
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a id="panoSelected" class="tsd-anchor"></a><h3>pano<wbr/>Selected</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">pano<wbr/>Selected<span class="tsd-signature-symbol">(</span>panoIndex<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></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from EventTypes.panoSelected</p><ul><li>Defined in lib/five/controllers/events.ts:70</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
204
|
+
<p>观察点位被选择</p>
|
|
205
|
+
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>panoIndex: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
206
|
+
<p>选择的点位</p>
|
|
207
|
+
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a id="panoWillArrive" class="tsd-anchor"></a><h3>pano<wbr/>Will<wbr/>Arrive</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">pano<wbr/>Will<wbr/>Arrive<span class="tsd-signature-symbol">(</span>panoIndex<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, pose<span class="tsd-signature-symbol">: </span><a href="five.Pose.html" class="tsd-signature-type" data-tsd-kind="Interface">Pose</a>, userAction<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></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from EventTypes.panoWillArrive</p><ul><li>Defined in lib/five/controllers/events.ts:133</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
208
|
+
<p>开始移动到某个观察点位</p>
|
|
209
|
+
</div><dl class="tsd-comment-tags"><dt>description</dt><dd><p>和 moveToPano 相比</p>
|
|
210
|
+
<ul>
|
|
211
|
+
<li>moveToPano 在加载全景图资源前触发</li>
|
|
212
|
+
<li>panoWillArrive 在加载全景图资源后触发</li>
|
|
213
|
+
</ul>
|
|
214
|
+
</dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>panoIndex: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
215
|
+
<p>移动到点位下标</p>
|
|
216
|
+
</div></div></li><li><h5>pose: <a href="five.Pose.html" class="tsd-signature-type" data-tsd-kind="Interface">Pose</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
217
|
+
<p>相机姿态</p>
|
|
218
|
+
</div></div></li><li><h5>userAction: <span class="tsd-signature-type">boolean</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
219
|
+
<p>是否用户触发</p>
|
|
220
|
+
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a id="panoWillLoad" class="tsd-anchor"></a><h3>pano<wbr/>Will<wbr/>Load</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">pano<wbr/>Will<wbr/>Load<span class="tsd-signature-symbol">(</span>panoIndex<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></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from EventTypes.panoWillLoad</p><ul><li>Defined in lib/five/controllers/events.ts:96</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
221
|
+
<p>开始加载某个观察点的全景资源</p>
|
|
222
|
+
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>panoIndex: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
223
|
+
<p>移动到的点位下标</p>
|
|
224
|
+
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a id="pinchGesture" class="tsd-anchor"></a><h3>pinch<wbr/>Gesture</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">pinch<wbr/>Gesture<span class="tsd-signature-symbol">(</span>scale<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, fov<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, final<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></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from EventTypes.pinchGesture</p><ul><li>Defined in lib/five/controllers/events.ts:250</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
225
|
+
<p>pinch 手势(双指缩放) 被触发</p>
|
|
226
|
+
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>scale: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
227
|
+
<p>缩放数值</p>
|
|
228
|
+
</div></div></li><li><h5>fov: <span class="tsd-signature-type">number</span></h5></li><li><h5>final: <span class="tsd-signature-type">boolean</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
229
|
+
<p>是否手势结束</p>
|
|
230
|
+
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a id="pressGesture" class="tsd-anchor"></a><h3>press<wbr/>Gesture</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">press<wbr/>Gesture<span class="tsd-signature-symbol">(</span>raycaster<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Raycaster</span>, tapPosition<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Vector2</span>, duration<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, isFinal<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></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from EventTypes.pressGesture</p><ul><li>Defined in lib/five/controllers/events.ts:242</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
231
|
+
<p>tap 手势(点击屏幕) 被触发</p>
|
|
232
|
+
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>raycaster: <span class="tsd-signature-type">Raycaster</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
233
|
+
<p>点击对应的三维射线</p>
|
|
234
|
+
</div></div></li><li><h5>tapPosition: <span class="tsd-signature-type">Vector2</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
235
|
+
<p>点击对应的屏幕位置</p>
|
|
236
|
+
</div></div></li><li><h5>duration: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
237
|
+
<p>长按持续时间</p>
|
|
238
|
+
</div></div></li><li><h5>isFinal: <span class="tsd-signature-type">boolean</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a id="renderFrame" class="tsd-anchor"></a><h3>render<wbr/>Frame</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">render<wbr/>Frame<span class="tsd-signature-symbol">(</span>rendered<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></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from EventTypes.renderFrame</p><ul><li>Defined in lib/five/application/events.ts:135</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
239
|
+
<p>渲染循环</p>
|
|
240
|
+
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>rendered: <span class="tsd-signature-type">boolean</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
241
|
+
<p>是否渲染了</p>
|
|
242
|
+
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a id="setState" class="tsd-anchor"></a><h3>set<wbr/>State</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">set<wbr/>State<span class="tsd-signature-symbol">(</span>state<span class="tsd-signature-symbol">: </span><a href="five.State.html" class="tsd-signature-type" data-tsd-kind="Interface">State</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from EventTypes.setState</p><ul><li>Defined in lib/five/application/events.ts:161</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
243
|
+
<p>当 setState 方法被调用</p>
|
|
244
|
+
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>state: <a href="five.State.html" class="tsd-signature-type" data-tsd-kind="Interface">State</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
245
|
+
<p>当前姿态状态</p>
|
|
246
|
+
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a id="stateChange" class="tsd-anchor"></a><h3>state<wbr/>Change</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">state<wbr/>Change<span class="tsd-signature-symbol">(</span>state<span class="tsd-signature-symbol">: </span><a href="five.State.html" class="tsd-signature-type" data-tsd-kind="Interface">State</a>, userAction<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></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from EventTypes.stateChange</p><ul><li>Defined in lib/five/application/events.ts:148</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
247
|
+
<p>当目标 state 变化时</p>
|
|
248
|
+
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>state: <a href="five.State.html" class="tsd-signature-type" data-tsd-kind="Interface">State</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
249
|
+
<p>当前姿态状态</p>
|
|
250
|
+
</div></div></li><li><h5>userAction: <span class="tsd-signature-type">boolean</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
251
|
+
<p>是否用户触发</p>
|
|
252
|
+
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a id="stateSynced" class="tsd-anchor"></a><h3>state<wbr/>Synced</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">state<wbr/>Synced<span class="tsd-signature-symbol">(</span>state<span class="tsd-signature-symbol">: </span><a href="five.State.html" class="tsd-signature-type" data-tsd-kind="Interface">State</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from EventTypes.stateSynced</p><ul><li>Defined in lib/five/application/events.ts:167</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
253
|
+
<p>当 state 被同步完成时</p>
|
|
254
|
+
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>state: <a href="five.State.html" class="tsd-signature-type" data-tsd-kind="Interface">State</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
255
|
+
<p>当前姿态状态</p>
|
|
256
|
+
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a id="tapGesture" class="tsd-anchor"></a><h3>tap<wbr/>Gesture</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">tap<wbr/>Gesture<span class="tsd-signature-symbol">(</span>raycaster<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Raycaster</span>, tapPosition<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Vector2</span>, final<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></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from EventTypes.tapGesture</p><ul><li>Defined in lib/five/controllers/events.ts:214</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
257
|
+
<p>tap 手势(点击屏幕) 被触发</p>
|
|
258
|
+
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>raycaster: <span class="tsd-signature-type">Raycaster</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
259
|
+
<p>点击对应的三维射线</p>
|
|
260
|
+
</div></div></li><li><h5>tapPosition: <span class="tsd-signature-type">Vector2</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
261
|
+
<p>点击对应的屏幕位置</p>
|
|
262
|
+
</div></div></li><li><h5>final: <span class="tsd-signature-type">boolean</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
263
|
+
<p>是否手势结束</p>
|
|
264
|
+
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a id="textureAbort" class="tsd-anchor"></a><h3>texture<wbr/>Abort</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">texture<wbr/>Abort<span class="tsd-signature-symbol">(</span>panoIndex<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, observer<span class="tsd-signature-symbol">: </span><a href="five.WorkObserver.html" class="tsd-signature-type" data-tsd-kind="Interface">WorkObserver</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from EventTypes.textureAbort</p><ul><li>Defined in lib/five/controllers/events.ts:309</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
265
|
+
<p>观察点的全景资源加载被中止</p>
|
|
266
|
+
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>panoIndex: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
267
|
+
<p>加载点位下标</p>
|
|
268
|
+
</div></div></li><li><h5>observer: <a href="five.WorkObserver.html" class="tsd-signature-type" data-tsd-kind="Interface">WorkObserver</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
269
|
+
<p>对应的 observer 详情</p>
|
|
270
|
+
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a id="textureError" class="tsd-anchor"></a><h3>texture<wbr/>Error</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">texture<wbr/>Error<span class="tsd-signature-symbol">(</span>error<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Error</span>, panoIndex<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, observer<span class="tsd-signature-symbol">: </span><a href="five.WorkObserver.html" class="tsd-signature-type" data-tsd-kind="Interface">WorkObserver</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from EventTypes.textureError</p><ul><li>Defined in lib/five/controllers/events.ts:317</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
271
|
+
<p>观察点的全景资源加载失败</p>
|
|
272
|
+
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>error: <span class="tsd-signature-type">Error</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
273
|
+
<p>错误对象</p>
|
|
274
|
+
</div></div></li><li><h5>panoIndex: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
275
|
+
<p>加载点位下标</p>
|
|
276
|
+
</div></div></li><li><h5>observer: <a href="five.WorkObserver.html" class="tsd-signature-type" data-tsd-kind="Interface">WorkObserver</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
277
|
+
<p>对应的 observer 详情</p>
|
|
278
|
+
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a id="textureLoaded" class="tsd-anchor"></a><h3>texture<wbr/>Loaded</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">texture<wbr/>Loaded<span class="tsd-signature-symbol">(</span>panoIndex<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, observer<span class="tsd-signature-symbol">: </span><a href="five.WorkObserver.html" class="tsd-signature-type" data-tsd-kind="Interface">WorkObserver</a>, meta<span class="tsd-signature-symbol">: </span><a href="../modules/five.html#NetWorkMeta" class="tsd-signature-type" data-tsd-kind="Type alias">NetWorkMeta</a><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></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from EventTypes.textureLoaded</p><ul><li>Defined in lib/five/controllers/events.ts:324</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
279
|
+
<p>观察点的全景资源加载完成</p>
|
|
280
|
+
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>panoIndex: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
281
|
+
<p>加载点位下标</p>
|
|
282
|
+
</div></div></li><li><h5>observer: <a href="five.WorkObserver.html" class="tsd-signature-type" data-tsd-kind="Interface">WorkObserver</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
283
|
+
<p>对应的 observer 详情</p>
|
|
284
|
+
</div></div></li><li><h5>meta: <a href="../modules/five.html#NetWorkMeta" class="tsd-signature-type" data-tsd-kind="Type alias">NetWorkMeta</a><span class="tsd-signature-symbol">[]</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a id="textureLoading" class="tsd-anchor"></a><h3>texture<wbr/>Loading</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">texture<wbr/>Loading<span class="tsd-signature-symbol">(</span>progress<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, panoIndex<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, observer<span class="tsd-signature-symbol">: </span><a href="five.WorkObserver.html" class="tsd-signature-type" data-tsd-kind="Interface">WorkObserver</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from EventTypes.textureLoading</p><ul><li>Defined in lib/five/controllers/events.ts:302</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
285
|
+
<p>观察点的全景资源加载中,可获取到进度</p>
|
|
286
|
+
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>progress: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
287
|
+
<p>加载进度 [0-1]</p>
|
|
288
|
+
</div></div></li><li><h5>panoIndex: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
289
|
+
<p>加载点位下标</p>
|
|
290
|
+
</div></div></li><li><h5>observer: <a href="five.WorkObserver.html" class="tsd-signature-type" data-tsd-kind="Interface">WorkObserver</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
291
|
+
<p>对应的 observer 详情</p>
|
|
292
|
+
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a id="textureStartLoad" class="tsd-anchor"></a><h3>texture<wbr/>Start<wbr/>Load</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">texture<wbr/>Start<wbr/>Load<span class="tsd-signature-symbol">(</span>panoIndex<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, observer<span class="tsd-signature-symbol">: </span><a href="five.WorkObserver.html" class="tsd-signature-type" data-tsd-kind="Interface">WorkObserver</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from EventTypes.textureStartLoad</p><ul><li>Defined in lib/five/controllers/events.ts:294</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
293
|
+
<p>观察点的全景资源开始加载</p>
|
|
294
|
+
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>panoIndex: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
295
|
+
<p>加载点位下标</p>
|
|
296
|
+
</div></div></li><li><h5>observer: <a href="five.WorkObserver.html" class="tsd-signature-type" data-tsd-kind="Interface">WorkObserver</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
297
|
+
<p>对应的 observer 详情</p>
|
|
298
|
+
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a id="wantsChangeMode" class="tsd-anchor"></a><h3>wants<wbr/>Change<wbr/>Mode</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">wants<wbr/>Change<wbr/>Mode<span class="tsd-signature-symbol">(</span>mode<span class="tsd-signature-symbol">: </span><a href="../modules/five.html#Mode" class="tsd-signature-type" data-tsd-kind="Type alias">Mode</a>, prevMode<span class="tsd-signature-symbol">: </span><a href="../modules/five.html#Mode" class="tsd-signature-type" data-tsd-kind="Type alias">Mode</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">false</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from EventTypes.wantsChangeMode</p><ul><li>Defined in lib/five/application/events.ts:194</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
299
|
+
<p>意图要切换到某个模态, 可以通过 return false 阻止</p>
|
|
300
|
+
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>mode: <a href="../modules/five.html#Mode" class="tsd-signature-type" data-tsd-kind="Type alias">Mode</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
301
|
+
<p>意图要切换到的模态</p>
|
|
302
|
+
</div></div></li><li><h5>prevMode: <a href="../modules/five.html#Mode" class="tsd-signature-type" data-tsd-kind="Type alias">Mode</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
303
|
+
<p>当前模态</p>
|
|
304
|
+
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">false</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">void</span></h4><div><p>可以通过 return false 阻止</p>
|
|
305
|
+
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a id="wantsGesture" class="tsd-anchor"></a><h3>wants<wbr/>Gesture</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">wants<wbr/>Gesture<span class="tsd-signature-symbol">(</span>type<span class="tsd-signature-symbol">: </span><a href="../modules/five.html#GestureTypes" class="tsd-signature-type" data-tsd-kind="Type alias">GestureTypes</a>, pointers<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">{ </span>delta<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>x<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>y<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>, final<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">false</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from EventTypes.wantsGesture</p><ul><li>Defined in lib/five/controllers/events.ts:159</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
306
|
+
<p>意图要触发手势, 可以通过 <code>return false</code> 阻止</p>
|
|
307
|
+
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>type: <a href="../modules/five.html#GestureTypes" class="tsd-signature-type" data-tsd-kind="Type alias">GestureTypes</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
308
|
+
<p>手势类型</p>
|
|
309
|
+
</div></div></li><li><h5>pointers: <span class="tsd-signature-symbol">{ </span>delta<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>x<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>y<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></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
310
|
+
<p>手指位置</p>
|
|
311
|
+
</div></div></li><li><h5>final: <span class="tsd-signature-type">boolean</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
312
|
+
<p>是否手势结束</p>
|
|
313
|
+
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">false</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">void</span></h4><div><p>可以通过 <code>return false</code> 阻止</p>
|
|
314
|
+
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a id="wantsInteriaPan" class="tsd-anchor"></a><h3>wants<wbr/>Interia<wbr/>Pan</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">wants<wbr/>Interia<wbr/>Pan<span class="tsd-signature-symbol">(</span>pose<span class="tsd-signature-symbol">: </span><a href="five.Pose.html" class="tsd-signature-type" data-tsd-kind="Interface">Pose</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">false</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from EventTypes.wantsInteriaPan</p><ul><li>Defined in lib/five/controllers/events.ts:190</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
315
|
+
<p>意图要触发 pan 手势(滑动屏幕) 的惯性运动, 可以通过 <code>return false</code> 阻止</p>
|
|
316
|
+
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>pose: <a href="five.Pose.html" class="tsd-signature-type" data-tsd-kind="Interface">Pose</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
317
|
+
<p>意图的相机姿态</p>
|
|
318
|
+
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">false</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">void</span></h4><div><p>可以通过 <code>return false</code> 阻止</p>
|
|
319
|
+
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a id="wantsMouseWheel" class="tsd-anchor"></a><h3>wants<wbr/>Mouse<wbr/>Wheel</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">wants<wbr/>Mouse<wbr/>Wheel<span class="tsd-signature-symbol">(</span>delta<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, nextFov<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, final<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">false</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from EventTypes.wantsMouseWheel</p><ul><li>Defined in lib/five/controllers/events.ts:259</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
320
|
+
<p>意图要触发 鼠标滚轮 可以通过 <code>return false</code> 阻止</p>
|
|
321
|
+
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>delta: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
322
|
+
<p>滚轮数值</p>
|
|
323
|
+
</div></div></li><li><h5>nextFov: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
324
|
+
<p>意图的fov变更</p>
|
|
325
|
+
</div></div></li><li><h5>final: <span class="tsd-signature-type">boolean</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
326
|
+
<p>是否手势结束</p>
|
|
327
|
+
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">false</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">void</span></h4><div><p>可以通过 <code>return false</code> 阻止</p>
|
|
328
|
+
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a id="wantsMoveToPano" class="tsd-anchor"></a><h3>wants<wbr/>Move<wbr/>To<wbr/>Pano</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">wants<wbr/>Move<wbr/>To<wbr/>Pano<span class="tsd-signature-symbol">(</span>panoIndex<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, options<span class="tsd-signature-symbol">: </span><a href="five.MovePanoOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">MovePanoOptions</a>, userAction<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">false</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from EventTypes.wantsMoveToPano</p><ul><li>Defined in lib/five/application/events.ts:176</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
329
|
+
<p>意图要移动到某个点时, 可以通过 return false 阻止</p>
|
|
330
|
+
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>panoIndex: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
331
|
+
<p>意图要移动到点位下标</p>
|
|
332
|
+
</div></div></li><li><h5>options: <a href="five.MovePanoOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">MovePanoOptions</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
333
|
+
<p>移动参数</p>
|
|
334
|
+
</div></div></li><li><h5>userAction: <span class="tsd-signature-type">boolean</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
335
|
+
<p>是否用户触发</p>
|
|
336
|
+
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">false</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">void</span></h4><div><p>可以通过 return false 阻止</p>
|
|
337
|
+
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a id="wantsPanGesture" class="tsd-anchor"></a><h3>wants<wbr/>Pan<wbr/>Gesture</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">wants<wbr/>Pan<wbr/>Gesture<span class="tsd-signature-symbol">(</span>pose<span class="tsd-signature-symbol">: </span><a href="five.Pose.html" class="tsd-signature-type" data-tsd-kind="Interface">Pose</a>, final<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">false</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from EventTypes.wantsPanGesture</p><ul><li>Defined in lib/five/controllers/events.ts:175</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
338
|
+
<p>意图要触发 pan 手势(滑动屏幕), 可以通过 <code>return false</code> 阻止</p>
|
|
339
|
+
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>pose: <a href="five.Pose.html" class="tsd-signature-type" data-tsd-kind="Interface">Pose</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
340
|
+
<p>意图的相机姿态</p>
|
|
341
|
+
</div></div></li><li><h5>final: <span class="tsd-signature-type">boolean</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
342
|
+
<p>是否手势结束</p>
|
|
343
|
+
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">false</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">void</span></h4><div><p>可以通过 <code>return false</code> 阻止</p>
|
|
344
|
+
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a id="wantsPinchGesture" class="tsd-anchor"></a><h3>wants<wbr/>Pinch<wbr/>Gesture</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">wants<wbr/>Pinch<wbr/>Gesture<span class="tsd-signature-symbol">(</span>scale<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, nextFov<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, final<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">false</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from EventTypes.wantsPinchGesture</p><ul><li>Defined in lib/five/controllers/events.ts:223</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
345
|
+
<p>意图要触发 pinch 手势(双指缩放),可以通过 <code>return false</code> 阻止</p>
|
|
346
|
+
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>scale: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
347
|
+
<p>缩放数值</p>
|
|
348
|
+
</div></div></li><li><h5>nextFov: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
349
|
+
<p>意图的fov变更</p>
|
|
350
|
+
</div></div></li><li><h5>final: <span class="tsd-signature-type">boolean</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
351
|
+
<p>是否手势结束</p>
|
|
352
|
+
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">false</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">void</span></h4><div><p>可以通过 <code>return false</code> 阻止</p>
|
|
353
|
+
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a id="wantsPressGesture" class="tsd-anchor"></a><h3>wants<wbr/>Press<wbr/>Gesture</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">wants<wbr/>Press<wbr/>Gesture<span class="tsd-signature-symbol">(</span>raycaster<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Raycaster</span>, tapPosition<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Vector2</span>, duration<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, isFinal<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">false</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from EventTypes.wantsPressGesture</p><ul><li>Defined in lib/five/controllers/events.ts:233</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
354
|
+
<p>意图要触发 press 手势(长按屏幕), 可以通过 <code>return false</code> 阻止</p>
|
|
355
|
+
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>raycaster: <span class="tsd-signature-type">Raycaster</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
356
|
+
<p>长按对应的三维射线</p>
|
|
357
|
+
</div></div></li><li><h5>tapPosition: <span class="tsd-signature-type">Vector2</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
358
|
+
<p>长按对应的屏幕位置</p>
|
|
359
|
+
</div></div></li><li><h5>duration: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
360
|
+
<p>长按持续时间</p>
|
|
361
|
+
</div></div></li><li><h5>isFinal: <span class="tsd-signature-type">boolean</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">false</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">void</span></h4><div><p>可以通过 <code>return false</code> 阻止</p>
|
|
362
|
+
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a id="wantsShowIntersectionOnModel" class="tsd-anchor"></a><h3>wants<wbr/>Show<wbr/>Intersection<wbr/>On<wbr/>Model</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">wants<wbr/>Show<wbr/>Intersection<wbr/>On<wbr/>Model<span class="tsd-signature-symbol">(</span>raycaster<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Raycaster</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">false</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from EventTypes.wantsShowIntersectionOnModel</p><ul><li>Defined in lib/five/controllers/events.ts:281</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
363
|
+
<p>意图要展示鼠标焦点环,可以通过 <code>return false</code> 阻止</p>
|
|
364
|
+
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>raycaster: <span class="tsd-signature-type">Raycaster</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">false</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">void</span></h4><div><p>可以通过 <code>return false</code> 阻止</p>
|
|
365
|
+
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a id="wantsTapGesture" class="tsd-anchor"></a><h3>wants<wbr/>Tap<wbr/>Gesture</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">wants<wbr/>Tap<wbr/>Gesture<span class="tsd-signature-symbol">(</span>raycaster<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Raycaster</span>, tapPosition<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Vector2</span>, final<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">false</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from EventTypes.wantsTapGesture</p><ul><li>Defined in lib/five/controllers/events.ts:206</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
366
|
+
<p>意图要触发 tap 手势(点击屏幕), 可以通过 <code>return false</code> 阻止</p>
|
|
367
|
+
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>raycaster: <span class="tsd-signature-type">Raycaster</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
368
|
+
<p>点击对应的三维射线</p>
|
|
369
|
+
</div></div></li><li><h5>tapPosition: <span class="tsd-signature-type">Vector2</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
370
|
+
<p>点击对应的屏幕位置</p>
|
|
371
|
+
</div></div></li><li><h5>final: <span class="tsd-signature-type">boolean</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
372
|
+
<p>是否手势结束</p>
|
|
373
|
+
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">false</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">void</span></h4><div><p>可以通过 <code>return false</code> 阻止</p>
|
|
374
|
+
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a id="wantsToMoveToPano" class="tsd-anchor"></a><h3>wants<wbr/>To<wbr/>Move<wbr/>To<wbr/>Pano</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">wants<wbr/>To<wbr/>Move<wbr/>To<wbr/>Pano<span class="tsd-signature-symbol">(</span>panoIndex<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, options<span class="tsd-signature-symbol">: </span><a href="five.MovePanoOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">MovePanoOptions</a>, userAction<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></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from EventTypes.wantsToMoveToPano</p><ul><li>Defined in lib/five/application/events.ts:186</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
375
|
+
<p>同 wantsMoveToPano</p>
|
|
376
|
+
</div><dl class="tsd-comment-tags"><dt>description</dt><dd></dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>panoIndex: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
377
|
+
<p>意图要移动到点位下标</p>
|
|
378
|
+
</div></div></li><li><h5>options: <a href="five.MovePanoOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">MovePanoOptions</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
379
|
+
<p>移动参数</p>
|
|
380
|
+
</div></div></li><li><h5>userAction: <span class="tsd-signature-type">boolean</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
381
|
+
<p>是否用户触发</p>
|
|
382
|
+
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div><p>可以通过 return false 阻止</p>
|
|
383
|
+
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a id="willLoad" class="tsd-anchor"></a><h3>will<wbr/>Load</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">will<wbr/>Load<span class="tsd-signature-symbol">(</span>input<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span>, work<span class="tsd-signature-symbol">: </span><a href="../classes/five.Work.html" class="tsd-signature-type" data-tsd-kind="Class">Work</a>, state<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Omit</span><span class="tsd-signature-symbol"><</span><a href="five.State.html" class="tsd-signature-type" data-tsd-kind="Interface">State</a><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">"offset"</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></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from EventTypes.willLoad</p><ul><li>Defined in lib/five/application/events.ts:68</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
384
|
+
<p>准备加载 Work 数据</p>
|
|
385
|
+
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>input: <span class="tsd-signature-type">any</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
386
|
+
<p>输入的 work</p>
|
|
387
|
+
</div></div></li><li><h5>work: <a href="../classes/five.Work.html" class="tsd-signature-type" data-tsd-kind="Class">Work</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
388
|
+
<p>归一化的标准 work</p>
|
|
389
|
+
</div></div></li><li><h5>state: <span class="tsd-signature-type">Omit</span><span class="tsd-signature-symbol"><</span><a href="five.State.html" class="tsd-signature-type" data-tsd-kind="Interface">State</a><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">"offset"</span><span class="tsd-signature-symbol">></span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
390
|
+
<p>加载时的姿态</p>
|
|
391
|
+
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section></section></div><div class="col-4 col-menu menu-sticky-wrap menu-highlight"><nav class="tsd-navigation primary"><ul><li class=""><a href="../modules.html">Modules</a></li><li class="current tsd-kind-module"><a href="../modules/five.html">five</a><ul><li class=" tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/five.SubscribeMixinType.html">Subscribe<wbr/>Mixin<wbr/>Type</a></li></ul></li><li class=" tsd-kind-module"><a href="../modules/gltf_loader.html">gltf-<wbr/>loader</a></li><li class=" tsd-kind-module"><a href="../modules/line.html">line</a></li><li class=" tsd-kind-module"><a href="../modules/react.html">react</a></li><li class=" tsd-kind-module"><a href="../modules/server.html">server</a></li><li class=" tsd-kind-module"><a href="../modules/sticker.html">sticker</a></li></ul></nav><nav class="tsd-navigation secondary menu-sticky"><ul><li class="current tsd-kind-interface tsd-parent-kind-module"><a href="five.EventCallback.html" class="tsd-kind-icon">Event<wbr/>Callback</a><ul><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#cameraDirectionUpdate" class="tsd-kind-icon">camera<wbr/>Direction<wbr/>Update</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#cameraPositionUpdate" class="tsd-kind-icon">camera<wbr/>Position<wbr/>Update</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#cameraUpdate" class="tsd-kind-icon">camera<wbr/>Update</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#currentStateChange" class="tsd-kind-icon">current<wbr/>State<wbr/>Change</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#dispose" class="tsd-kind-icon">dispose</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#error" class="tsd-kind-icon">error</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#fps" class="tsd-kind-icon">fps</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#gesture" class="tsd-kind-icon">gesture</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#helpersVisibleChange" class="tsd-kind-icon">helpers<wbr/>Visible<wbr/>Change</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#initAnimationEnded" class="tsd-kind-icon">init<wbr/>Animation<wbr/>Ended</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#initAnimationWillStart" class="tsd-kind-icon">init<wbr/>Animation<wbr/>Will<wbr/>Start</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#interiaPan" class="tsd-kind-icon">interia<wbr/>Pan</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#intersectionHidden" class="tsd-kind-icon">intersection<wbr/>Hidden</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#intersectionOnModelUpdate" class="tsd-kind-icon">intersection<wbr/>On<wbr/>Model<wbr/>Update</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#load" class="tsd-kind-icon">load</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#loaded" class="tsd-kind-icon">loaded</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#modeChange" class="tsd-kind-icon">mode<wbr/>Change</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#modelBvhLoaded" class="tsd-kind-icon">model<wbr/>Bvh<wbr/>Loaded</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#modelGeometryLoaded" class="tsd-kind-icon">model<wbr/>Geometry<wbr/>Loaded</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#modelLoadError" class="tsd-kind-icon">model<wbr/>Load<wbr/>Error</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#modelLoaded" class="tsd-kind-icon">model<wbr/>Loaded</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#modelMaterialLoaded" class="tsd-kind-icon">model<wbr/>Material<wbr/>Loaded</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#modelShownFloorChange" class="tsd-kind-icon">model<wbr/>Shown<wbr/>Floor<wbr/>Change</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#modelWillLoad" class="tsd-kind-icon">model<wbr/>Will<wbr/>Load</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#mouseWheel" class="tsd-kind-icon">mouse<wbr/>Wheel</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#moveToPano" class="tsd-kind-icon">move<wbr/>To<wbr/>Pano</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#moveToPanoCanceled" class="tsd-kind-icon">move<wbr/>To<wbr/>Pano<wbr/>Canceled</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#movingToPano" class="tsd-kind-icon">moving<wbr/>To<wbr/>Pano</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#network" class="tsd-kind-icon">network</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#panGesture" class="tsd-kind-icon">pan<wbr/>Gesture</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#panoArrived" class="tsd-kind-icon">pano<wbr/>Arrived</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#panoLoadError" class="tsd-kind-icon">pano<wbr/>Load<wbr/>Error</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#panoLoaded" class="tsd-kind-icon">pano<wbr/>Loaded</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#panoSelected" class="tsd-kind-icon">pano<wbr/>Selected</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#panoWillArrive" class="tsd-kind-icon">pano<wbr/>Will<wbr/>Arrive</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#panoWillLoad" class="tsd-kind-icon">pano<wbr/>Will<wbr/>Load</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#pinchGesture" class="tsd-kind-icon">pinch<wbr/>Gesture</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#pressGesture" class="tsd-kind-icon">press<wbr/>Gesture</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#renderFrame" class="tsd-kind-icon">render<wbr/>Frame</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#setState" class="tsd-kind-icon">set<wbr/>State</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#stateChange" class="tsd-kind-icon">state<wbr/>Change</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#stateSynced" class="tsd-kind-icon">state<wbr/>Synced</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#tapGesture" class="tsd-kind-icon">tap<wbr/>Gesture</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#textureAbort" class="tsd-kind-icon">texture<wbr/>Abort</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#textureError" class="tsd-kind-icon">texture<wbr/>Error</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#textureLoaded" class="tsd-kind-icon">texture<wbr/>Loaded</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#textureLoading" class="tsd-kind-icon">texture<wbr/>Loading</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#textureStartLoad" class="tsd-kind-icon">texture<wbr/>Start<wbr/>Load</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#wantsChangeMode" class="tsd-kind-icon">wants<wbr/>Change<wbr/>Mode</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#wantsGesture" class="tsd-kind-icon">wants<wbr/>Gesture</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#wantsInteriaPan" class="tsd-kind-icon">wants<wbr/>Interia<wbr/>Pan</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#wantsMouseWheel" class="tsd-kind-icon">wants<wbr/>Mouse<wbr/>Wheel</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#wantsMoveToPano" class="tsd-kind-icon">wants<wbr/>Move<wbr/>To<wbr/>Pano</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#wantsPanGesture" class="tsd-kind-icon">wants<wbr/>Pan<wbr/>Gesture</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#wantsPinchGesture" class="tsd-kind-icon">wants<wbr/>Pinch<wbr/>Gesture</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#wantsPressGesture" class="tsd-kind-icon">wants<wbr/>Press<wbr/>Gesture</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#wantsShowIntersectionOnModel" class="tsd-kind-icon">wants<wbr/>Show<wbr/>Intersection<wbr/>On<wbr/>Model</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#wantsTapGesture" class="tsd-kind-icon">wants<wbr/>Tap<wbr/>Gesture</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#wantsToMoveToPano" class="tsd-kind-icon">wants<wbr/>To<wbr/>Move<wbr/>To<wbr/>Pano</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited"><a href="five.EventCallback.html#willLoad" class="tsd-kind-icon">will<wbr/>Load</a></li></ul></li></ul></nav></div></div></div><footer class=""><div class="container"><h2>Legend</h2><div class="tsd-legend-group"><ul class="tsd-legend"><li class="tsd-kind-namespace"><span class="tsd-kind-icon">Namespace</span></li><li class="tsd-kind-variable"><span class="tsd-kind-icon">Variable</span></li><li class="tsd-kind-function"><span class="tsd-kind-icon">Function</span></li><li class="tsd-kind-function tsd-has-type-parameter"><span class="tsd-kind-icon">Function with type parameter</span></li><li class="tsd-kind-type-alias"><span class="tsd-kind-icon">Type alias</span></li><li class="tsd-kind-type-alias tsd-has-type-parameter"><span class="tsd-kind-icon">Type alias with type parameter</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-interface"><span class="tsd-kind-icon">Interface</span></li><li class="tsd-kind-interface tsd-has-type-parameter"><span class="tsd-kind-icon">Interface with type parameter</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-class"><span class="tsd-kind-icon">Class</span></li><li class="tsd-kind-class tsd-has-type-parameter"><span class="tsd-kind-icon">Class with type parameter</span></li></ul></div><h2>Settings</h2><p>Theme <select id="theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></p></div></footer><div class="overlay"></div><script src="../assets/main.js"></script></body></html>
|