@realsee/five 5.0.0-alpha.110 → 5.0.0-alpha.113
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/docs/assets/highlight.css +1 -1
- package/docs/assets/main.js +2 -2
- package/docs/assets/search.js +1 -1
- package/docs/assets/style.css +25 -0
- package/docs/classes/five.AnimationFrameLoop.html +2 -2
- package/docs/classes/five.BVH.html +2 -2
- package/docs/classes/five.BVHIntersect.html +1 -1
- package/docs/classes/five.BVHNode.html +2 -2
- package/docs/classes/five.BVHVector3.html +1 -1
- package/docs/classes/five.Camera.html +5 -5
- package/docs/classes/five.Five.html +49 -49
- package/docs/classes/five.InternalWebGLRenderer.html +1 -1
- package/docs/classes/five.IntersectMesh.html +1 -1
- package/docs/classes/five.LegacyPanoCircleMesh.html +3 -3
- package/docs/classes/five.Model.html +26 -26
- package/docs/classes/five.NetworkSubscribe.html +5 -5
- package/docs/classes/five.PBMContainer.html +8 -8
- package/docs/classes/five.PBMGroup.html +9 -9
- package/docs/classes/five.PBMMaterial.html +7 -7
- package/docs/classes/five.PBMMesh.html +3 -3
- package/docs/classes/five.PanoCircleMesh.html +4 -4
- package/docs/classes/five.Scene.html +2 -2
- package/docs/classes/five.Subscribe.html +6 -6
- package/docs/classes/five.Work.html +11 -11
- package/docs/classes/gltf_loader.GLTFLoader.html +4 -4
- package/docs/classes/gltf_loader.GLTFObject.html +3 -3
- package/docs/classes/line.Line.html +1 -1
- package/docs/classes/line.LineGeometry.html +1 -1
- package/docs/classes/line.LineMaterial.html +1 -1
- package/docs/classes/line.LineSegmentsGeometry.html +1 -1
- package/docs/classes/line.THREE_Line2.html +1 -1
- package/docs/classes/line.THREE_LineSegments2.html +1 -1
- package/docs/classes/react.Store.html +6 -6
- package/docs/classes/server.BVH.html +1 -1
- package/docs/classes/server.BVHIntersect.html +1 -1
- package/docs/classes/server.BVHNode.html +2 -2
- package/docs/classes/server.BVHVector3.html +1 -1
- package/docs/classes/server.Model.html +20 -20
- package/docs/classes/server.PBMGroup.html +4 -4
- package/docs/classes/server.PBMMesh.html +3 -3
- package/docs/classes/sticker.Sticker.html +6 -6
- package/docs/index.html +1 -1
- package/docs/interfaces/five.AddableObject.html +1 -1
- package/docs/interfaces/five.AnimationFrame.html +1 -1
- package/docs/interfaces/five.CameraPose.html +1 -1
- package/docs/interfaces/five.DepthPanoramaControllerCustomInitArgs.html +12 -12
- package/docs/interfaces/five.EventCallback.html +61 -61
- package/docs/interfaces/five.FiveInitArgs.html +23 -23
- package/docs/interfaces/five.FloorplanControllerCustomInitArgs.html +7 -7
- package/docs/interfaces/five.ImageOptions.html +6 -6
- package/docs/interfaces/five.ImageURLOptions.html +7 -7
- package/docs/interfaces/five.IntersectMeshInterface.html +2 -2
- package/docs/interfaces/five.Intersection.html +3 -3
- package/docs/interfaces/five.ModelControllerCustomInitArgs.html +9 -9
- package/docs/interfaces/five.ModelEventCallback.html +7 -7
- package/docs/interfaces/five.MovePanoOptions.html +11 -11
- package/docs/interfaces/five.PBMPanoPicture.html +3 -3
- package/docs/interfaces/five.PBMParameters.html +7 -7
- package/docs/interfaces/five.PanoCircleMeshInterface.html +5 -5
- package/docs/interfaces/five.PanoramaControllerCustomInitArgs.html +12 -12
- package/docs/interfaces/five.PanoramaLikeControllerCustomInitArgs.html +9 -9
- package/docs/interfaces/five.Pose.html +5 -5
- package/docs/interfaces/five.Scissor.html +5 -5
- package/docs/interfaces/five.State.html +7 -7
- package/docs/interfaces/five.SubscribeMixinType.emit.html +1 -1
- package/docs/interfaces/five.SubscribeMixinType.hasListener.html +1 -1
- package/docs/interfaces/five.SubscribeMixinType.off.html +1 -1
- package/docs/interfaces/five.SubscribeMixinType.on.html +1 -1
- package/docs/interfaces/five.SubscribeMixinType.once.html +1 -1
- package/docs/interfaces/five.TextureOptions.html +7 -7
- package/docs/interfaces/five.TopviewControllerCustomInitArgs.html +3 -3
- package/docs/interfaces/five.VRPanoramaControllerCustomInitArgs.html +10 -10
- package/docs/interfaces/five.WorkCubeImage.html +6 -6
- package/docs/interfaces/five.WorkImage.html +10 -10
- package/docs/interfaces/five.WorkInitial.html +6 -6
- package/docs/interfaces/five.WorkModel.html +5 -5
- package/docs/interfaces/five.WorkObserver.html +12 -12
- package/docs/interfaces/five.WorkTile.html +1 -1
- package/docs/interfaces/five.WorkVideo.html +4 -4
- package/docs/interfaces/gltf_loader.GLTF.html +2 -2
- package/docs/interfaces/react.FiveActionReactCallbacks.html +7 -7
- package/docs/interfaces/react.FiveInjectionTypes.html +19 -19
- package/docs/interfaces/react.PropTypeOfFiveFeatures.html +1 -1
- package/docs/interfaces/server.Intersection.html +3 -3
- package/docs/interfaces/server.ModelEventCallback.html +6 -6
- package/docs/interfaces/sticker.IntersectionLike.html +3 -3
- package/docs/modules/five.SubscribeMixinType.html +1 -1
- package/docs/modules/five.html +10 -10
- package/docs/modules/gltf_loader.html +1 -1
- package/docs/modules/line.html +1 -1
- package/docs/modules/react.html +19 -19
- package/docs/modules/server.html +1 -1
- package/docs/modules/sticker.html +1 -1
- package/docs/modules.html +1 -1
- package/five/index.js +8 -8
- package/gltf-loader/index.js +2 -2
- package/line/index.js +2 -2
- package/package.json +3 -3
- package/react/index.js +3 -3
- package/scripts/five-staticify.js +1 -1
- package/server/index.js +3 -3
- package/sticker/index.js +2 -2
- package/umd/five-react.js +1 -1
- package/umd/five.js +1 -1
|
@@ -1,41 +1,41 @@
|
|
|
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.
|
|
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.113</title><meta name="description" content="Documentation for 如视 Five SDK - v5.0.0-alpha.113"/><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.113</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.113</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
2
|
<p>Five 事件列表</p>
|
|
3
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">
|
|
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 class="tsd-anchor-link">camera<wbr/>Direction<wbr/>Update<a href="#cameraDirectionUpdate" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></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
5
|
<p>相机姿态中相机方向变化</p>
|
|
6
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
7
|
<p>相机姿态的俯仰角和偏航角</p>
|
|
8
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
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
|
|
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 class="tsd-anchor-link">camera<wbr/>Position<wbr/>Update<a href="#cameraPositionUpdate" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></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
11
|
<p>相机姿态中相机位置变化</p>
|
|
12
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
13
|
<p>相机位置</p>
|
|
14
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
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
|
|
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 class="tsd-anchor-link">camera<wbr/>Update<a href="#cameraUpdate" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></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
17
|
<p>相机姿态变化</p>
|
|
18
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
19
|
<p>相机姿态</p>
|
|
20
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
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
|
|
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 class="tsd-anchor-link">current<wbr/>State<wbr/>Change<a href="#currentStateChange" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></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
23
|
<p>当前实时 state 变化时</p>
|
|
24
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
25
|
<p>当前姿态状态</p>
|
|
26
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
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
|
|
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 class="tsd-anchor-link">dispose<a href="#dispose" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></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
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
|
|
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 class="tsd-anchor-link">error<a href="#error" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></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
31
|
<p>内部错误</p>
|
|
32
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
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
|
|
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 class="tsd-anchor-link">fps<a href="#fps" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></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
35
|
<p>当前 fps 变化</p>
|
|
36
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
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
|
|
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 class="tsd-anchor-link">gesture<a href="#gesture" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></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
39
|
<p>手势 触发</p>
|
|
40
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
41
|
<p>手势类型</p>
|
|
@@ -43,11 +43,11 @@
|
|
|
43
43
|
<p>手指位置</p>
|
|
44
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
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
|
|
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 class="tsd-anchor-link">helpers<wbr/>Visible<wbr/>Change<a href="#helpersVisibleChange" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></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
47
|
<p>帮助元素显应的变换</p>
|
|
48
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
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
|
|
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 class="tsd-anchor-link">init<wbr/>Animation<wbr/>Ended<a href="#initAnimationEnded" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></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
51
|
<p>模态间切换动画结束</p>
|
|
52
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
53
|
<p>当前点位</p>
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
<p>相机姿态</p>
|
|
56
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
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
|
|
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 class="tsd-anchor-link">init<wbr/>Animation<wbr/>Will<wbr/>Start<a href="#initAnimationWillStart" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></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
59
|
<p>模态间切换动画开始</p>
|
|
60
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
61
|
<p>当前点位</p>
|
|
@@ -63,21 +63,21 @@
|
|
|
63
63
|
<p>相机姿态</p>
|
|
64
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
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
|
|
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 class="tsd-anchor-link">interia<wbr/>Pan<a href="#interiaPan" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></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
67
|
<p>pan 手势(滑动屏幕) 的惯性运动</p>
|
|
68
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
69
|
<p>意图的相机姿态</p>
|
|
70
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
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
|
|
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 class="tsd-anchor-link">intersection<wbr/>Hidden<a href="#intersectionHidden" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></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
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
|
|
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 class="tsd-anchor-link">intersection<wbr/>On<wbr/>Model<wbr/>Update<a href="#intersectionOnModelUpdate" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></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
75
|
<p>鼠标焦点环位置被重新计算</p>
|
|
76
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
77
|
<p>焦点碰撞结果</p>
|
|
78
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
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
|
|
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 class="tsd-anchor-link">load<a href="#load" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></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
81
|
<p>开始加载 Work 数据</p>
|
|
82
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
83
|
<p>输入的 work</p>
|
|
@@ -85,13 +85,13 @@
|
|
|
85
85
|
<p>归一化的标准 work</p>
|
|
86
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
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
|
|
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 class="tsd-anchor-link">loaded<a href="#loaded" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></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
89
|
<p>加载完 Work 数据</p>
|
|
90
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
91
|
<p>输入的 work</p>
|
|
92
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
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
|
|
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 class="tsd-anchor-link">mode<wbr/>Change<a href="#modeChange" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></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
95
|
<p>模态切换完成</p>
|
|
96
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
97
|
<p>切换到的模态</p>
|
|
@@ -101,45 +101,45 @@
|
|
|
101
101
|
<p>初始化动画结束后的点位下标</p>
|
|
102
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
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
|
|
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 class="tsd-anchor-link">model<wbr/>Bvh<wbr/>Loaded<a href="#modelBvhLoaded" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></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
105
|
<p>模型 bvh树 计算完成</p>
|
|
106
106
|
</div><dl class="tsd-comment-tags"><dt>description</dt><dd><p>bvh 树用于高效的碰撞检测,可以在 <code>model.bvh</code> 属性来设置是否开启。默认开启。
|
|
107
107
|
bvh 树计算需要一定事件,可能会暂时影响一些性能。计算完毕后,会对碰撞检测带来质的提升。</p>
|
|
108
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
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
|
|
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 class="tsd-anchor-link">model<wbr/>Geometry<wbr/>Loaded<a href="#modelGeometryLoaded" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></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
111
|
<p>模型三角面片结构加载完成</p>
|
|
112
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
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
|
|
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 class="tsd-anchor-link">model<wbr/>Load<wbr/>Error<a href="#modelLoadError" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></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
115
|
<p>模型加载错误</p>
|
|
116
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
117
|
<p>错误对象</p>
|
|
118
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
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
|
|
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 class="tsd-anchor-link">model<wbr/>Loaded<a href="#modelLoaded" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></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
121
|
<p>模型加载完成</p>
|
|
122
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
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
|
|
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 class="tsd-anchor-link">model<wbr/>Material<wbr/>Loaded<a href="#modelMaterialLoaded" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></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
125
|
<p>模型材质结构加载完成</p>
|
|
126
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
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
|
|
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 class="tsd-anchor-link">model<wbr/>Shown<wbr/>Floor<wbr/>Change<a href="#modelShownFloorChange" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></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
129
|
<p>模型楼层切换</p>
|
|
130
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
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
|
|
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 class="tsd-anchor-link">model<wbr/>Will<wbr/>Load<a href="#modelWillLoad" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></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
133
|
<p>模型开始加载</p>
|
|
134
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
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
|
|
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 class="tsd-anchor-link">mouse<wbr/>Wheel<a href="#mouseWheel" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></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
137
|
<p>鼠标滚轮被触发</p>
|
|
138
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
139
|
<p>滚轮数值</p>
|
|
140
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
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
|
|
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 class="tsd-anchor-link">move<wbr/>To<wbr/>Pano<a href="#moveToPano" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></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
143
|
<p>开始加载并移动到某个观察点位</p>
|
|
144
144
|
</div><dl class="tsd-comment-tags"><dt>description</dt><dd><p>可 panoWillArrive 相比</p>
|
|
145
145
|
<ul>
|
|
@@ -150,7 +150,7 @@ bvh 树计算需要一定事件,可能会暂时影响一些性能。计算完
|
|
|
150
150
|
<p>移动到的点位下标</p>
|
|
151
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
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
|
|
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 class="tsd-anchor-link">move<wbr/>To<wbr/>Pano<wbr/>Canceled<a href="#moveToPanoCanceled" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></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
154
|
<p>移动到某个观察点位被取消</p>
|
|
155
155
|
</div><dl class="tsd-comment-tags"><dt>description</dt><dd><p>这个有一些情况会导致</p>
|
|
156
156
|
<ul>
|
|
@@ -160,7 +160,7 @@ bvh 树计算需要一定事件,可能会暂时影响一些性能。计算完
|
|
|
160
160
|
</ul>
|
|
161
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
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
|
|
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 class="tsd-anchor-link">moving<wbr/>To<wbr/>Pano<a href="#movingToPano" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></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
164
|
<p>移动中, 会告知移动状态(耗时百分比)</p>
|
|
165
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
166
|
<p>将要移动到的点位下标</p>
|
|
@@ -168,7 +168,7 @@ bvh 树计算需要一定事件,可能会暂时影响一些性能。计算完
|
|
|
168
168
|
<p>上一个点位下标</p>
|
|
169
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
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
|
|
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 class="tsd-anchor-link">network<a href="#network" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></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
172
|
<p>网络资源分析</p>
|
|
173
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
174
|
<p>资源地址</p>
|
|
@@ -176,13 +176,13 @@ bvh 树计算需要一定事件,可能会暂时影响一些性能。计算完
|
|
|
176
176
|
<p>状态</p>
|
|
177
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
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
|
|
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 class="tsd-anchor-link">pan<wbr/>Gesture<a href="#panGesture" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></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
180
|
<p>pan 手势(滑动屏幕) 被触发</p>
|
|
181
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
182
|
<p>相机姿态</p>
|
|
183
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
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
|
|
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 class="tsd-anchor-link">pano<wbr/>Arrived<a href="#panoArrived" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></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
186
|
<p>移动到某个观察点位</p>
|
|
187
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
188
|
<p>移动到点位下标</p>
|
|
@@ -190,21 +190,21 @@ bvh 树计算需要一定事件,可能会暂时影响一些性能。计算完
|
|
|
190
190
|
<p>相机姿态</p>
|
|
191
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
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
|
|
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 class="tsd-anchor-link">pano<wbr/>Load<wbr/>Error<a href="#panoLoadError" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></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
194
|
<p>某个观察点的全景资源加载失败</p>
|
|
195
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
196
|
<p>错误对象</p>
|
|
197
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
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
|
|
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 class="tsd-anchor-link">pano<wbr/>Loaded<a href="#panoLoaded" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></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
200
|
<p>某个观察点的全景资源加载完成</p>
|
|
201
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
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
|
|
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 class="tsd-anchor-link">pano<wbr/>Selected<a href="#panoSelected" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></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
204
|
<p>观察点位被选择</p>
|
|
205
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
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
|
|
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 class="tsd-anchor-link">pano<wbr/>Will<wbr/>Arrive<a href="#panoWillArrive" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></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
208
|
<p>开始移动到某个观察点位</p>
|
|
209
209
|
</div><dl class="tsd-comment-tags"><dt>description</dt><dd><p>和 moveToPano 相比</p>
|
|
210
210
|
<ul>
|
|
@@ -217,17 +217,17 @@ bvh 树计算需要一定事件,可能会暂时影响一些性能。计算完
|
|
|
217
217
|
<p>相机姿态</p>
|
|
218
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
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
|
|
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 class="tsd-anchor-link">pano<wbr/>Will<wbr/>Load<a href="#panoWillLoad" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></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
221
|
<p>开始加载某个观察点的全景资源</p>
|
|
222
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
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
|
|
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 class="tsd-anchor-link">pinch<wbr/>Gesture<a href="#pinchGesture" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></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
225
|
<p>pinch 手势(双指缩放) 被触发</p>
|
|
226
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
227
|
<p>缩放数值</p>
|
|
228
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
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
|
|
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 class="tsd-anchor-link">press<wbr/>Gesture<a href="#pressGesture" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></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
231
|
<p>tap 手势(点击屏幕) 被触发</p>
|
|
232
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
233
|
<p>点击对应的三维射线</p>
|
|
@@ -235,25 +235,25 @@ bvh 树计算需要一定事件,可能会暂时影响一些性能。计算完
|
|
|
235
235
|
<p>点击对应的屏幕位置</p>
|
|
236
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
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
|
|
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 class="tsd-anchor-link">render<wbr/>Frame<a href="#renderFrame" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></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
239
|
<p>渲染循环</p>
|
|
240
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
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
|
|
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 class="tsd-anchor-link">set<wbr/>State<a href="#setState" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></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
243
|
<p>当 setState 方法被调用</p>
|
|
244
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
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
|
|
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 class="tsd-anchor-link">state<wbr/>Change<a href="#stateChange" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></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
247
|
<p>当目标 state 变化时</p>
|
|
248
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
249
|
<p>当前姿态状态</p>
|
|
250
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
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
|
|
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 class="tsd-anchor-link">state<wbr/>Synced<a href="#stateSynced" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></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
253
|
<p>当 state 被同步完成时</p>
|
|
254
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
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
|
|
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 class="tsd-anchor-link">tap<wbr/>Gesture<a href="#tapGesture" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></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
257
|
<p>tap 手势(点击屏幕) 被触发</p>
|
|
258
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
259
|
<p>点击对应的三维射线</p>
|
|
@@ -261,13 +261,13 @@ bvh 树计算需要一定事件,可能会暂时影响一些性能。计算完
|
|
|
261
261
|
<p>点击对应的屏幕位置</p>
|
|
262
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
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
|
|
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 class="tsd-anchor-link">texture<wbr/>Abort<a href="#textureAbort" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></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
265
|
<p>观察点的全景资源加载被中止</p>
|
|
266
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
267
|
<p>加载点位下标</p>
|
|
268
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
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
|
|
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 class="tsd-anchor-link">texture<wbr/>Error<a href="#textureError" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></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
271
|
<p>观察点的全景资源加载失败</p>
|
|
272
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
273
|
<p>错误对象</p>
|
|
@@ -275,13 +275,13 @@ bvh 树计算需要一定事件,可能会暂时影响一些性能。计算完
|
|
|
275
275
|
<p>加载点位下标</p>
|
|
276
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
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
|
|
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 class="tsd-anchor-link">texture<wbr/>Loaded<a href="#textureLoaded" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></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
279
|
<p>观察点的全景资源加载完成</p>
|
|
280
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
281
|
<p>加载点位下标</p>
|
|
282
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
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
|
|
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 class="tsd-anchor-link">texture<wbr/>Loading<a href="#textureLoading" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></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
285
|
<p>观察点的全景资源加载中,可获取到进度</p>
|
|
286
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
287
|
<p>加载进度 [0-1]</p>
|
|
@@ -289,20 +289,20 @@ bvh 树计算需要一定事件,可能会暂时影响一些性能。计算完
|
|
|
289
289
|
<p>加载点位下标</p>
|
|
290
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
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
|
|
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 class="tsd-anchor-link">texture<wbr/>Start<wbr/>Load<a href="#textureStartLoad" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></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
293
|
<p>观察点的全景资源开始加载</p>
|
|
294
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
295
|
<p>加载点位下标</p>
|
|
296
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
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
|
|
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 class="tsd-anchor-link">wants<wbr/>Change<wbr/>Mode<a href="#wantsChangeMode" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></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
299
|
<p>意图要切换到某个模态, 可以通过 return false 阻止</p>
|
|
300
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
301
|
<p>意图要切换到的模态</p>
|
|
302
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
303
|
<p>当前模态</p>
|
|
304
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
|
|
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 class="tsd-anchor-link">wants<wbr/>Gesture<a href="#wantsGesture" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></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
306
|
<p>意图要触发手势, 可以通过 <code>return false</code> 阻止</p>
|
|
307
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
308
|
<p>手势类型</p>
|
|
@@ -311,12 +311,12 @@ bvh 树计算需要一定事件,可能会暂时影响一些性能。计算完
|
|
|
311
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
312
|
<p>是否手势结束</p>
|
|
313
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
|
|
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 class="tsd-anchor-link">wants<wbr/>Interia<wbr/>Pan<a href="#wantsInteriaPan" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></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
315
|
<p>意图要触发 pan 手势(滑动屏幕) 的惯性运动, 可以通过 <code>return false</code> 阻止</p>
|
|
316
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
317
|
<p>意图的相机姿态</p>
|
|
318
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
|
|
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 class="tsd-anchor-link">wants<wbr/>Mouse<wbr/>Wheel<a href="#wantsMouseWheel" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></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
320
|
<p>意图要触发 鼠标滚轮 可以通过 <code>return false</code> 阻止</p>
|
|
321
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
322
|
<p>滚轮数值</p>
|
|
@@ -325,7 +325,7 @@ bvh 树计算需要一定事件,可能会暂时影响一些性能。计算完
|
|
|
325
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
326
|
<p>是否手势结束</p>
|
|
327
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
|
|
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 class="tsd-anchor-link">wants<wbr/>Move<wbr/>To<wbr/>Pano<a href="#wantsMoveToPano" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></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
329
|
<p>意图要移动到某个点时, 可以通过 return false 阻止</p>
|
|
330
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
331
|
<p>意图要移动到点位下标</p>
|
|
@@ -334,14 +334,14 @@ bvh 树计算需要一定事件,可能会暂时影响一些性能。计算完
|
|
|
334
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
335
|
<p>是否用户触发</p>
|
|
336
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
|
|
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 class="tsd-anchor-link">wants<wbr/>Pan<wbr/>Gesture<a href="#wantsPanGesture" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></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
338
|
<p>意图要触发 pan 手势(滑动屏幕), 可以通过 <code>return false</code> 阻止</p>
|
|
339
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
340
|
<p>意图的相机姿态</p>
|
|
341
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
342
|
<p>是否手势结束</p>
|
|
343
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
|
|
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 class="tsd-anchor-link">wants<wbr/>Pinch<wbr/>Gesture<a href="#wantsPinchGesture" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></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
345
|
<p>意图要触发 pinch 手势(双指缩放),可以通过 <code>return false</code> 阻止</p>
|
|
346
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
347
|
<p>缩放数值</p>
|
|
@@ -350,7 +350,7 @@ bvh 树计算需要一定事件,可能会暂时影响一些性能。计算完
|
|
|
350
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
351
|
<p>是否手势结束</p>
|
|
352
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
|
|
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 class="tsd-anchor-link">wants<wbr/>Press<wbr/>Gesture<a href="#wantsPressGesture" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></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
354
|
<p>意图要触发 press 手势(长按屏幕), 可以通过 <code>return false</code> 阻止</p>
|
|
355
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
356
|
<p>长按对应的三维射线</p>
|
|
@@ -359,10 +359,10 @@ bvh 树计算需要一定事件,可能会暂时影响一些性能。计算完
|
|
|
359
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
360
|
<p>长按持续时间</p>
|
|
361
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
|
|
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 class="tsd-anchor-link">wants<wbr/>Show<wbr/>Intersection<wbr/>On<wbr/>Model<a href="#wantsShowIntersectionOnModel" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></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
363
|
<p>意图要展示鼠标焦点环,可以通过 <code>return false</code> 阻止</p>
|
|
364
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
|
|
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 class="tsd-anchor-link">wants<wbr/>Tap<wbr/>Gesture<a href="#wantsTapGesture" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></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
366
|
<p>意图要触发 tap 手势(点击屏幕), 可以通过 <code>return false</code> 阻止</p>
|
|
367
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
368
|
<p>点击对应的三维射线</p>
|
|
@@ -371,7 +371,7 @@ bvh 树计算需要一定事件,可能会暂时影响一些性能。计算完
|
|
|
371
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
372
|
<p>是否手势结束</p>
|
|
373
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
|
|
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 class="tsd-anchor-link">wants<wbr/>To<wbr/>Move<wbr/>To<wbr/>Pano<a href="#wantsToMoveToPano" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></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
375
|
<p>同 wantsMoveToPano</p>
|
|
376
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
377
|
<p>意图要移动到点位下标</p>
|
|
@@ -380,7 +380,7 @@ bvh 树计算需要一定事件,可能会暂时影响一些性能。计算完
|
|
|
380
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
381
|
<p>是否用户触发</p>
|
|
382
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
|
|
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 class="tsd-anchor-link">will<wbr/>Load<a href="#willLoad" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></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
384
|
<p>准备加载 Work 数据</p>
|
|
385
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
386
|
<p>输入的 work</p>
|