@realsee/five 5.0.0-alpha.164 → 5.0.0-alpha.167
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/search.js +1 -1
- package/docs/classes/five.AnimationFrameLoop.html +1 -1
- package/docs/classes/five.BVH.html +1 -1
- package/docs/classes/five.BVHIntersect.html +1 -1
- package/docs/classes/five.BVHNode.html +1 -1
- package/docs/classes/five.BVHVector3.html +1 -1
- package/docs/classes/five.Camera.html +1 -1
- package/docs/classes/five.Clipper.html +1 -1
- package/docs/classes/five.Five.html +57 -55
- package/docs/classes/five.InternalWebGLRenderer.html +1 -1
- package/docs/classes/five.IntersectMesh.html +1 -1
- package/docs/classes/five.Model.html +29 -29
- package/docs/classes/five.NetworkSubscribe.html +1 -1
- package/docs/classes/five.PBMContainer.html +5 -5
- package/docs/classes/five.PBMGroup.html +5 -5
- package/docs/classes/five.PBMMaterial.html +1 -1
- package/docs/classes/five.PBMMesh.html +1 -1
- package/docs/classes/five.PanoCircleMesh.html +4 -4
- package/docs/classes/five.PanoCircleMeshSolid.html +4 -4
- package/docs/classes/five.Scene.html +1 -1
- package/docs/classes/five.Subscribe.html +1 -1
- package/docs/classes/five.TextureLoader.html +1 -1
- package/docs/classes/five.Tile3D.html +1 -1
- package/docs/classes/five.Tile3DModel.html +5 -5
- package/docs/classes/five.TileBoundingSphere.html +1 -1
- package/docs/classes/five.TileCacheNode.html +1 -1
- package/docs/classes/five.TileCubeTextureTarget.html +1 -1
- package/docs/classes/five.TileCullingVolume.html +1 -1
- package/docs/classes/five.TileOrientedBoundingBox.html +1 -1
- package/docs/classes/five.TileRequestScheduler.html +1 -1
- package/docs/classes/five.Tileset3D.html +1 -1
- package/docs/classes/five.Tileset3DTraverser.html +1 -1
- package/docs/classes/five.TilesetCache.html +1 -1
- package/docs/classes/five.Work.html +1 -1
- package/docs/classes/five.XRButton.html +1 -1
- package/docs/classes/gltf_loader.DDSLoader.html +1 -1
- package/docs/classes/gltf_loader.DRACOLoader.html +1 -1
- package/docs/classes/gltf_loader.GLTFLoader.html +1 -1
- package/docs/classes/gltf_loader.GLTFObject.html +1 -1
- package/docs/classes/gltf_loader.GLTFParser.html +1 -1
- package/docs/classes/gltf_loader.THREEGLTFLoader.html +1 -1
- package/docs/classes/line.Line.html +1 -1
- package/docs/classes/line.LineGeometry.html +1 -1
- package/docs/classes/line.LineMaterial.html +1 -1
- package/docs/classes/line.LineSegmentsGeometry.html +1 -1
- package/docs/classes/line.THREE_Line2.html +1 -1
- package/docs/classes/line.THREE_LineSegments2.html +1 -1
- package/docs/classes/react.Store.html +1 -1
- package/docs/classes/server.BVH.html +1 -1
- package/docs/classes/server.BVHIntersect.html +1 -1
- package/docs/classes/server.BVHNode.html +1 -1
- package/docs/classes/server.BVHVector3.html +1 -1
- package/docs/classes/server.Model.html +1 -1
- package/docs/classes/server.PBMContainer.html +1 -1
- package/docs/classes/server.PBMGroup.html +1 -1
- package/docs/classes/server.PBMMesh.html +1 -1
- package/docs/classes/sticker.Sticker.html +1 -1
- package/docs/classes/vfx.Airflow.html +1 -1
- package/docs/classes/vfx.Flame.html +1 -1
- package/docs/classes/vfx.Particle.html +1 -1
- package/docs/classes/vfx.SpotLight.html +1 -1
- 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.ClipperParameter.html +1 -1
- package/docs/interfaces/five.DepthPanoramaControllerCustomInitArgs.html +3 -3
- package/docs/interfaces/five.EventCallback.html +1 -1
- package/docs/interfaces/five.FiveInitArgs.html +1 -1
- package/docs/interfaces/five.FloorplanControllerCustomInitArgs.html +1 -1
- package/docs/interfaces/five.ImageOptions.html +1 -1
- package/docs/interfaces/five.ImageURLMappings.html +1 -1
- package/docs/interfaces/five.ImageURLOptions.html +1 -1
- package/docs/interfaces/five.IntersectMeshInterface.html +1 -1
- package/docs/interfaces/five.Intersection.html +3 -3
- package/docs/interfaces/five.MapviewControllerCustomInitArgs.html +1 -1
- package/docs/interfaces/five.ModelControllerCustomInitArgs.html +1 -1
- package/docs/interfaces/five.ModelEventCallback.html +7 -7
- package/docs/interfaces/five.MotionKeyframe.html +1 -1
- package/docs/interfaces/five.MovePanoOptions.html +1 -1
- package/docs/interfaces/five.NetworkOptions.html +1 -1
- package/docs/interfaces/five.PBMPanoPicture.html +1 -1
- package/docs/interfaces/five.PBMParameters.html +1 -1
- package/docs/interfaces/five.PanoCircleMeshInterface.html +2 -2
- package/docs/interfaces/five.PanoCircleMeshOptions.html +1 -0
- package/docs/interfaces/five.PanoCircleMeshSolidOptions.html +1 -0
- package/docs/interfaces/five.PanoramaControllerCustomInitArgs.html +7 -7
- package/docs/interfaces/five.PanoramaLikeControllerCustomInitArgs.html +1 -1
- package/docs/interfaces/five.Pose.html +1 -1
- package/docs/interfaces/five.Scissor.html +1 -1
- package/docs/interfaces/five.State.html +1 -1
- 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 +1 -1
- package/docs/interfaces/five.Tile3DModelLoaderOptions.html +1 -1
- package/docs/interfaces/five.TileBoundingVolume.html +1 -1
- package/docs/interfaces/five.TileContent.html +1 -1
- package/docs/interfaces/five.TileCubeNode.html +1 -1
- package/docs/interfaces/five.TileCubeTree.html +1 -1
- package/docs/interfaces/five.Tileset3dOptions.html +1 -1
- package/docs/interfaces/five.TilesetJSON.html +1 -1
- package/docs/interfaces/five.TilesetJSONNode.html +1 -1
- package/docs/interfaces/five.TopviewControllerCustomInitArgs.html +1 -1
- package/docs/interfaces/five.VRPanoramaControllerCustomInitArgs.html +7 -7
- package/docs/interfaces/five.WebXRSelectParams.html +1 -1
- package/docs/interfaces/five.WorkCubeImage.html +1 -1
- package/docs/interfaces/five.WorkImage.html +1 -1
- package/docs/interfaces/five.WorkInitial.html +1 -1
- package/docs/interfaces/five.WorkModel.html +1 -1
- package/docs/interfaces/five.WorkModelTiles.html +1 -1
- package/docs/interfaces/five.WorkObserver.html +1 -1
- package/docs/interfaces/five.WorkTile.html +1 -1
- package/docs/interfaces/five.WorkVideo.html +1 -1
- package/docs/interfaces/five.XRPanoramaControllerCustomInitArgs.html +7 -7
- package/docs/interfaces/gltf_loader.DDS.html +1 -1
- package/docs/interfaces/gltf_loader.GLTF.html +1 -1
- package/docs/interfaces/gltf_loader.GLTFReference.html +1 -1
- package/docs/interfaces/gltf_loader.THREEGLTF.html +1 -1
- package/docs/interfaces/react.FiveActionReactCallbacks.html +1 -1
- package/docs/interfaces/react.FiveInjectionTypes.html +1 -1
- package/docs/interfaces/react.PropTypeOfFiveFeatures.html +1 -1
- package/docs/interfaces/server.Intersection.html +1 -1
- package/docs/interfaces/server.ModelEventCallback.html +1 -1
- package/docs/interfaces/sticker.IntersectionLike.html +1 -1
- package/docs/interfaces/vfx.ParticleArgs.html +1 -1
- package/docs/interfaces/vfx.ParticleTweenKeyframe.html +1 -1
- package/docs/interfaces/vue.FiveActionVueCallbacks.html +1 -1
- 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 +1 -1
- package/docs/modules/server.html +1 -1
- package/docs/modules/sticker.html +1 -1
- package/docs/modules/vfx.html +1 -1
- package/docs/modules/vue.html +1 -1
- package/docs/modules.html +1 -1
- package/five/index.d.ts +24 -62
- package/five/index.js +10 -10
- package/gltf-loader/index.js +3 -3
- package/line/index.js +3 -3
- package/package.json +1 -1
- package/react/index.js +2 -2
- package/server/index.js +8 -8
- package/sticker/index.js +3 -3
- package/umd/five-gltf-loader.js +1 -1
- package/umd/five-line.js +1 -1
- package/umd/five-sticker.js +1 -1
- package/umd/five.js +1 -1
- package/vfx/index.js +2 -2
- package/vue/index.js +2 -2
- package/docs/classes/five.LegacyPanoCircleMesh.html +0 -5
- package/docs/classes/five.PanoCircleMeshDark.html +0 -8
|
@@ -1,44 +1,46 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>Five | 如视 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>Five | 如视 Five SDK - v5.0.0-alpha.167</title><meta name="description" content="Documentation for 如视 Five SDK - v5.0.0-alpha.167"/><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.167</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.167</a></li><li><a href="../modules/five.html">five</a></li><li><a href="five.Five.html">Five</a></li></ul><h1>Class Five </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>如视 VR Web展示器</p>
|
|
3
3
|
</div><dl class="tsd-comment-tags"><dt>example</dt><dd><pre><code><span class="hl-4">// 初始化构造函数</span><br/><span class="hl-7">const</span><span class="hl-0"> </span><span class="hl-6">five</span><span class="hl-0"> = </span><span class="hl-7">new</span><span class="hl-0"> </span><span class="hl-5">Five</span><span class="hl-0">();</span><br/><span class="hl-4">// 将绘制区域添加到页面上</span><br/><span class="hl-2">five</span><span class="hl-0">.</span><span class="hl-5">appendTo</span><span class="hl-0">(</span><span class="hl-2">document</span><span class="hl-0">.</span><span class="hl-2">body</span><span class="hl-0">);</span><br/><span class="hl-4">// 加载 Work 数据</span><br/><span class="hl-2">five</span><span class="hl-0">.</span><span class="hl-5">load</span><span class="hl-0">({...});</span>
|
|
4
4
|
</code></pre>
|
|
5
|
-
</dd></dl></div></section><section class="tsd-panel tsd-hierarchy"><h3>Hierarchy</h3><ul class="tsd-hierarchy"><li><a href="five.Subscribe.html" class="tsd-signature-type" data-tsd-kind="Class">Subscribe</a><span class="tsd-signature-symbol"><</span><a href="../modules/five.html#EventTypes" class="tsd-signature-type" data-tsd-kind="Type alias">EventTypes</a><span class="tsd-signature-symbol">></span><ul class="tsd-hierarchy"><li><span class="target">Five</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 "><h3>Constructors</h3><ul class="tsd-index-list"><li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite"><a href="five.Five.html#constructor" class="tsd-kind-icon">constructor</a></li></ul></section><section class="tsd-index-section "><h3>Properties</h3><ul class="tsd-index-list"><li class="tsd-kind-property tsd-parent-kind-class"><a href="five.Five.html#camera" class="tsd-kind-icon">camera</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="five.Five.html#currentMode" class="tsd-kind-icon">current<wbr/>Mode</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="five.Five.html#ident" class="tsd-kind-icon">ident</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="five.Five.html#imageOptions" class="tsd-kind-icon">image<wbr/>Options</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="five.Five.html#model" class="tsd-kind-icon">model</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="five.Five.html#needsRender" class="tsd-kind-icon">needs<wbr/>Render</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="five.Five.html#panoIndex" class="tsd-kind-icon">pano<wbr/>Index</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="five.Five.html#parallaxScene" class="tsd-kind-icon">parallax<wbr/>Scene</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="five.Five.html#paused" class="tsd-kind-icon">paused</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="five.Five.html#plugins" class="tsd-kind-icon">plugins</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="five.Five.html#renderer" class="tsd-kind-icon">renderer</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="five.Five.html#scene" class="tsd-kind-icon">scene</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="five.Five.html#scissor" class="tsd-kind-icon">scissor</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="five.Five.html#state" class="tsd-kind-icon">state</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="five.Five.html#textureOptions" class="tsd-kind-icon">texture<wbr/>Options</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="five.Five.html#videoTexture" class="tsd-kind-icon">video<wbr/>Texture</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><a href="five.Five.html#Line" class="tsd-kind-icon">Line</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><a href="five.Five.html#Mode" class="tsd-kind-icon">Mode</a></li></ul></section><section class="tsd-index-section "><h3>Accessors</h3><ul class="tsd-index-list"><li class="tsd-kind-accessor tsd-parent-kind-class"><a href="five.Five.html#enableIOSEDR" class="tsd-kind-icon">enableIOSEDR</a></li><li class="tsd-kind-accessor tsd-parent-kind-class"><a href="five.Five.html#enablePostProcessing" class="tsd-kind-icon">enable<wbr/>Post<wbr/>Processing</a></li><li class="tsd-kind-accessor tsd-parent-kind-class"><a href="five.Five.html#helperVisible" class="tsd-kind-icon">helper<wbr/>Visible</a></li><li class="tsd-kind-get-signature tsd-parent-kind-class"><a href="five.Five.html#work" class="tsd-kind-icon">work</a></li><li class="tsd-kind-get-signature tsd-parent-kind-class tsd-is-static"><a href="five.Five.html#version" class="tsd-kind-icon">version</a></li></ul></section><section class="tsd-index-section "><h3>Methods</h3><ul class="tsd-index-list"><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#addExtraElement" class="tsd-kind-icon">add<wbr/>Extra<wbr/>Element</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#appendTo" class="tsd-kind-icon">append<wbr/>To</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#aroundScissor" class="tsd-kind-icon">around<wbr/>Scissor</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter"><a href="five.Five.html#changeMode" class="tsd-kind-icon">change<wbr/>Mode</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#dispose" class="tsd-kind-icon">dispose</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited"><a href="five.Five.html#emit" class="tsd-kind-icon">emit</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#exitFullscreen" class="tsd-kind-icon">exit<wbr/>Fullscreen</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#getCameraLocal" class="tsd-kind-icon">get<wbr/>Camera<wbr/>Local</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#getCurrentState" class="tsd-kind-icon">get<wbr/>Current<wbr/>State</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#getDrawingBufferSize" class="tsd-kind-icon">get<wbr/>Drawing<wbr/>Buffer<wbr/>Size</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#getElement" class="tsd-kind-icon">get<wbr/>Element</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#getGPUPicking" class="tsd-kind-icon">getGPUPicking</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#getLongitudeAndLatitude" class="tsd-kind-icon">get<wbr/>Longitude<wbr/>And<wbr/>Latitude</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#getOffset" class="tsd-kind-icon">get<wbr/>Offset</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#getPixels" class="tsd-kind-icon">get<wbr/>Pixels</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#getPose" class="tsd-kind-icon">get<wbr/>Pose</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#getRenderObjects" class="tsd-kind-icon">get<wbr/>Render<wbr/>Objects</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#getSize" class="tsd-kind-icon">get<wbr/>Size</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="five.Five.html#hasListener" class="tsd-kind-icon">has<wbr/>Listener</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#initBasisLoader" class="tsd-kind-icon">init<wbr/>Basis<wbr/>Loader</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#load" class="tsd-kind-icon">load</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#moveToPano" class="tsd-kind-icon">move<wbr/>To<wbr/>Pano</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited"><a href="five.Five.html#off" class="tsd-kind-icon">off</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited"><a href="five.Five.html#on" class="tsd-kind-icon">on</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited"><a href="five.Five.html#once" class="tsd-kind-icon">once</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#pause" class="tsd-kind-icon">pause</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#play" class="tsd-kind-icon">play</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#preloadPano" class="tsd-kind-icon">preload<wbr/>Pano</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#project2d" class="tsd-kind-icon">project2d</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#ready" class="tsd-kind-icon">ready</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#refresh" class="tsd-kind-icon">refresh</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#removeExtraElement" class="tsd-kind-icon">remove<wbr/>Extra<wbr/>Element</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#render" class="tsd-kind-icon">render</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#requestFullscreen" class="tsd-kind-icon">request<wbr/>Fullscreen</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#setScissor" class="tsd-kind-icon">set<wbr/>Scissor</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#setState" class="tsd-kind-icon">set<wbr/>State</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#updateCamera" class="tsd-kind-icon">update<wbr/>Camera</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#updateCameraWithKeyframes" class="tsd-kind-icon">update<wbr/>Camera<wbr/>With<wbr/>Keyframes</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#updateConfiguration" class="tsd-kind-icon">update<wbr/>Configuration</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#updateTime" class="tsd-kind-icon">update<wbr/>Time</a></li></ul></section></div></section></section><section class="tsd-panel-group tsd-member-group "><h2>Constructors</h2><section class="tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite"><a id="constructor" class="tsd-anchor"></a><h3 class="tsd-anchor-link">constructor<a href="#constructor" 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-constructor tsd-parent-kind-class tsd-is-overwrite"><li class="tsd-signature tsd-kind-icon">new <wbr/>Five<span class="tsd-signature-symbol">(</span>initArgs<span class="tsd-signature-symbol">?: </span><a href="../interfaces/five.FiveInitArgs.html" class="tsd-signature-type" data-tsd-kind="Interface">FiveInitArgs</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="five.Five.html" class="tsd-signature-type" data-tsd-kind="Class">Five</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Overrides <a href="five.Subscribe.html">Subscribe</a>.<a href="five.Subscribe.html#constructor">constructor</a></p><ul><li>Defined in lib/five/application/five.ts:276</li></ul></aside><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>initArgs: <a href="../interfaces/five.FiveInitArgs.html" class="tsd-signature-type" data-tsd-kind="Interface">FiveInitArgs</a><span class="tsd-signature-symbol"> = {}</span></h5></li></ul><h4 class="tsd-returns-title">Returns <a href="five.Five.html" class="tsd-signature-type" data-tsd-kind="Class">Five</a></h4></li></ul></section></section><section class="tsd-panel-group tsd-member-group "><h2>Properties</h2><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="camera" class="tsd-anchor"></a><h3 class="tsd-anchor-link">camera<a href="#camera" 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><div class="tsd-signature tsd-kind-icon">camera<span class="tsd-signature-symbol">:</span> <a href="five.Camera.html" class="tsd-signature-type" data-tsd-kind="Class">Camera</a></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:152</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
5
|
+
</dd></dl></div></section><section class="tsd-panel tsd-hierarchy"><h3>Hierarchy</h3><ul class="tsd-hierarchy"><li><a href="five.Subscribe.html" class="tsd-signature-type" data-tsd-kind="Class">Subscribe</a><span class="tsd-signature-symbol"><</span><a href="../modules/five.html#EventTypes" class="tsd-signature-type" data-tsd-kind="Type alias">EventTypes</a><span class="tsd-signature-symbol">></span><ul class="tsd-hierarchy"><li><span class="target">Five</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 "><h3>Constructors</h3><ul class="tsd-index-list"><li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite"><a href="five.Five.html#constructor" class="tsd-kind-icon">constructor</a></li></ul></section><section class="tsd-index-section "><h3>Properties</h3><ul class="tsd-index-list"><li class="tsd-kind-property tsd-parent-kind-class"><a href="five.Five.html#boundingMesh" class="tsd-kind-icon">bounding<wbr/>Mesh</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="five.Five.html#camera" class="tsd-kind-icon">camera</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="five.Five.html#currentMode" class="tsd-kind-icon">current<wbr/>Mode</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="five.Five.html#ident" class="tsd-kind-icon">ident</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="five.Five.html#imageOptions" class="tsd-kind-icon">image<wbr/>Options</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="five.Five.html#model" class="tsd-kind-icon">model</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="five.Five.html#needsRender" class="tsd-kind-icon">needs<wbr/>Render</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="five.Five.html#panoIndex" class="tsd-kind-icon">pano<wbr/>Index</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="five.Five.html#parallaxScene" class="tsd-kind-icon">parallax<wbr/>Scene</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="five.Five.html#paused" class="tsd-kind-icon">paused</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="five.Five.html#plugins" class="tsd-kind-icon">plugins</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="five.Five.html#renderer" class="tsd-kind-icon">renderer</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="five.Five.html#scene" class="tsd-kind-icon">scene</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="five.Five.html#scissor" class="tsd-kind-icon">scissor</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="five.Five.html#state" class="tsd-kind-icon">state</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="five.Five.html#textureOptions" class="tsd-kind-icon">texture<wbr/>Options</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="five.Five.html#videoTexture" class="tsd-kind-icon">video<wbr/>Texture</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><a href="five.Five.html#Line" class="tsd-kind-icon">Line</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><a href="five.Five.html#Mode" class="tsd-kind-icon">Mode</a></li></ul></section><section class="tsd-index-section "><h3>Accessors</h3><ul class="tsd-index-list"><li class="tsd-kind-accessor tsd-parent-kind-class"><a href="five.Five.html#enableIOSEDR" class="tsd-kind-icon">enableIOSEDR</a></li><li class="tsd-kind-accessor tsd-parent-kind-class"><a href="five.Five.html#enablePostProcessing" class="tsd-kind-icon">enable<wbr/>Post<wbr/>Processing</a></li><li class="tsd-kind-accessor tsd-parent-kind-class"><a href="five.Five.html#helperVisible" class="tsd-kind-icon">helper<wbr/>Visible</a></li><li class="tsd-kind-get-signature tsd-parent-kind-class"><a href="five.Five.html#work" class="tsd-kind-icon">work</a></li><li class="tsd-kind-get-signature tsd-parent-kind-class tsd-is-static"><a href="five.Five.html#version" class="tsd-kind-icon">version</a></li></ul></section><section class="tsd-index-section "><h3>Methods</h3><ul class="tsd-index-list"><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#addExtraElement" class="tsd-kind-icon">add<wbr/>Extra<wbr/>Element</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#appendTo" class="tsd-kind-icon">append<wbr/>To</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#aroundScissor" class="tsd-kind-icon">around<wbr/>Scissor</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter"><a href="five.Five.html#changeMode" class="tsd-kind-icon">change<wbr/>Mode</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#dispose" class="tsd-kind-icon">dispose</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited"><a href="five.Five.html#emit" class="tsd-kind-icon">emit</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#exitFullscreen" class="tsd-kind-icon">exit<wbr/>Fullscreen</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#getCameraLocal" class="tsd-kind-icon">get<wbr/>Camera<wbr/>Local</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#getCurrentState" class="tsd-kind-icon">get<wbr/>Current<wbr/>State</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#getDrawingBufferSize" class="tsd-kind-icon">get<wbr/>Drawing<wbr/>Buffer<wbr/>Size</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#getElement" class="tsd-kind-icon">get<wbr/>Element</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#getGPUPicking" class="tsd-kind-icon">getGPUPicking</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#getLongitudeAndLatitude" class="tsd-kind-icon">get<wbr/>Longitude<wbr/>And<wbr/>Latitude</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#getOffset" class="tsd-kind-icon">get<wbr/>Offset</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#getPixels" class="tsd-kind-icon">get<wbr/>Pixels</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#getPose" class="tsd-kind-icon">get<wbr/>Pose</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#getRenderObjects" class="tsd-kind-icon">get<wbr/>Render<wbr/>Objects</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#getSize" class="tsd-kind-icon">get<wbr/>Size</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="five.Five.html#hasListener" class="tsd-kind-icon">has<wbr/>Listener</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#initBasisLoader" class="tsd-kind-icon">init<wbr/>Basis<wbr/>Loader</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#load" class="tsd-kind-icon">load</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#moveToPano" class="tsd-kind-icon">move<wbr/>To<wbr/>Pano</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited"><a href="five.Five.html#off" class="tsd-kind-icon">off</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited"><a href="five.Five.html#on" class="tsd-kind-icon">on</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited"><a href="five.Five.html#once" class="tsd-kind-icon">once</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#pause" class="tsd-kind-icon">pause</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#play" class="tsd-kind-icon">play</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#preloadPano" class="tsd-kind-icon">preload<wbr/>Pano</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#project2d" class="tsd-kind-icon">project2d</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#ready" class="tsd-kind-icon">ready</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#refresh" class="tsd-kind-icon">refresh</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#removeExtraElement" class="tsd-kind-icon">remove<wbr/>Extra<wbr/>Element</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#render" class="tsd-kind-icon">render</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#requestFullscreen" class="tsd-kind-icon">request<wbr/>Fullscreen</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#setScissor" class="tsd-kind-icon">set<wbr/>Scissor</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#setState" class="tsd-kind-icon">set<wbr/>State</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#updateCamera" class="tsd-kind-icon">update<wbr/>Camera</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#updateCameraWithKeyframes" class="tsd-kind-icon">update<wbr/>Camera<wbr/>With<wbr/>Keyframes</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#updateConfiguration" class="tsd-kind-icon">update<wbr/>Configuration</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#updateTime" class="tsd-kind-icon">update<wbr/>Time</a></li></ul></section></div></section></section><section class="tsd-panel-group tsd-member-group "><h2>Constructors</h2><section class="tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite"><a id="constructor" class="tsd-anchor"></a><h3 class="tsd-anchor-link">constructor<a href="#constructor" 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-constructor tsd-parent-kind-class tsd-is-overwrite"><li class="tsd-signature tsd-kind-icon">new <wbr/>Five<span class="tsd-signature-symbol">(</span>initArgs<span class="tsd-signature-symbol">?: </span><a href="../interfaces/five.FiveInitArgs.html" class="tsd-signature-type" data-tsd-kind="Interface">FiveInitArgs</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="five.Five.html" class="tsd-signature-type" data-tsd-kind="Class">Five</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Overrides <a href="five.Subscribe.html">Subscribe</a>.<a href="five.Subscribe.html#constructor">constructor</a></p><ul><li>Defined in lib/five/application/five.ts:280</li></ul></aside><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>initArgs: <a href="../interfaces/five.FiveInitArgs.html" class="tsd-signature-type" data-tsd-kind="Interface">FiveInitArgs</a><span class="tsd-signature-symbol"> = {}</span></h5></li></ul><h4 class="tsd-returns-title">Returns <a href="five.Five.html" class="tsd-signature-type" data-tsd-kind="Class">Five</a></h4></li></ul></section></section><section class="tsd-panel-group tsd-member-group "><h2>Properties</h2><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="boundingMesh" class="tsd-anchor"></a><h3 class="tsd-anchor-link">bounding<wbr/>Mesh<a href="#boundingMesh" 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><div class="tsd-signature tsd-kind-icon">bounding<wbr/>Mesh<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">BoundingMesh</span></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:180</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
6
|
+
<p>包围盒子</p>
|
|
7
|
+
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="camera" class="tsd-anchor"></a><h3 class="tsd-anchor-link">camera<a href="#camera" 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><div class="tsd-signature tsd-kind-icon">camera<span class="tsd-signature-symbol">:</span> <a href="five.Camera.html" class="tsd-signature-type" data-tsd-kind="Class">Camera</a></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:153</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
6
8
|
<p>内部使用的 <code>Camera</code></p>
|
|
7
|
-
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="currentMode" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span class="tsd-flag ts-flagOptional">Optional</span> current<wbr/>Mode<a href="#currentMode" 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><div class="tsd-signature tsd-kind-icon">current<wbr/>Mode<span class="tsd-signature-symbol">?:</span> <a href="../modules/five.html#Mode" class="tsd-signature-type" data-tsd-kind="Type alias">Mode</a></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
9
|
+
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="currentMode" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span class="tsd-flag ts-flagOptional">Optional</span> current<wbr/>Mode<a href="#currentMode" 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><div class="tsd-signature tsd-kind-icon">current<wbr/>Mode<span class="tsd-signature-symbol">?:</span> <a href="../modules/five.html#Mode" class="tsd-signature-type" data-tsd-kind="Type alias">Mode</a></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:144</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
8
10
|
<p>当前展示的模式</p>
|
|
9
|
-
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="ident" class="tsd-anchor"></a><h3 class="tsd-anchor-link">ident<a href="#ident" 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><div class="tsd-signature tsd-kind-icon">ident<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
11
|
+
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="ident" class="tsd-anchor"></a><h3 class="tsd-anchor-link">ident<a href="#ident" 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><div class="tsd-signature tsd-kind-icon">ident<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:238</li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="imageOptions" class="tsd-anchor"></a><h3 class="tsd-anchor-link">image<wbr/>Options<a href="#imageOptions" 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><div class="tsd-signature tsd-kind-icon">image<wbr/>Options<span class="tsd-signature-symbol">:</span> <a href="../interfaces/five.ImageOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">ImageOptions</a></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:196</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
10
12
|
<p>全景图的配置参数</p>
|
|
11
13
|
</div><dl class="tsd-comment-tags"><dt>description</dt><dd><p>可以动态对配置在 <code>work</code> 数据中的全景图片在 runtime 做 url 调整。
|
|
12
14
|
平衡加载时间和图片质量</p>
|
|
13
|
-
</dd></dl></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="model" class="tsd-anchor"></a><h3 class="tsd-anchor-link">model<a href="#model" 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><div class="tsd-signature tsd-kind-icon">model<span class="tsd-signature-symbol">:</span> <a href="five.Model.html" class="tsd-signature-type" data-tsd-kind="Class">Model</a></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
15
|
+
</dd></dl></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="model" class="tsd-anchor"></a><h3 class="tsd-anchor-link">model<a href="#model" 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><div class="tsd-signature tsd-kind-icon">model<span class="tsd-signature-symbol">:</span> <a href="five.Model.html" class="tsd-signature-type" data-tsd-kind="Class">Model</a></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:177</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
14
16
|
<p>当前加载的模型</p>
|
|
15
|
-
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="needsRender" class="tsd-anchor"></a><h3 class="tsd-anchor-link">needs<wbr/>Render<a href="#needsRender" 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><div class="tsd-signature tsd-kind-icon">needs<wbr/>Render<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
17
|
+
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="needsRender" class="tsd-anchor"></a><h3 class="tsd-anchor-link">needs<wbr/>Render<a href="#needsRender" 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><div class="tsd-signature tsd-kind-icon">needs<wbr/>Render<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:188</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
16
18
|
<p>是否需要渲染</p>
|
|
17
19
|
</div><dl class="tsd-comment-tags"><dt>description</dt><dd><p>如果初始化设置了 <code>onlyRenderIfNeeds: true</code>, 则会激活按需渲染
|
|
18
20
|
可以通过设置 <code>five.needsRender = true</code> 来告知,five 会在下一帧渲染画面。</p>
|
|
19
|
-
</dd></dl></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="panoIndex" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span class="tsd-flag ts-flagOptional">Optional</span> pano<wbr/>Index<a href="#panoIndex" 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><div class="tsd-signature tsd-kind-icon">pano<wbr/>Index<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
21
|
+
</dd></dl></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="panoIndex" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span class="tsd-flag ts-flagOptional">Optional</span> pano<wbr/>Index<a href="#panoIndex" 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><div class="tsd-signature tsd-kind-icon">pano<wbr/>Index<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:141</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
20
22
|
<p>当前点位序号</p>
|
|
21
|
-
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="parallaxScene" class="tsd-anchor"></a><h3 class="tsd-anchor-link">parallax<wbr/>Scene<a href="#parallaxScene" 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><div class="tsd-signature tsd-kind-icon">parallax<wbr/>Scene<span class="tsd-signature-symbol">:</span> <a href="five.Scene.html" class="tsd-signature-type" data-tsd-kind="Class">Scene</a></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
23
|
+
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="parallaxScene" class="tsd-anchor"></a><h3 class="tsd-anchor-link">parallax<wbr/>Scene<a href="#parallaxScene" 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><div class="tsd-signature tsd-kind-icon">parallax<wbr/>Scene<span class="tsd-signature-symbol">:</span> <a href="five.Scene.html" class="tsd-signature-type" data-tsd-kind="Class">Scene</a></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:150</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
22
24
|
<p>内部使用的产生视差的物体Scene <code>THREE.Scene</code></p>
|
|
23
|
-
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="paused" class="tsd-anchor"></a><h3 class="tsd-anchor-link">paused<a href="#paused" 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><div class="tsd-signature tsd-kind-icon">paused<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
25
|
+
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="paused" class="tsd-anchor"></a><h3 class="tsd-anchor-link">paused<a href="#paused" 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><div class="tsd-signature tsd-kind-icon">paused<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:138</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
24
26
|
<p>自动播放状态是否暂停</p>
|
|
25
27
|
</div><dl class="tsd-comment-tags"><dt>description</dt><dd><p>可以通过 <code>five.play</code> <code>five.pause</code> 方法播放或暂停</p>
|
|
26
|
-
</dd></dl></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="plugins" class="tsd-anchor"></a><h3 class="tsd-anchor-link">plugins<a href="#plugins" 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><div class="tsd-signature tsd-kind-icon">plugins<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{}</span></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
28
|
+
</dd></dl></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="plugins" class="tsd-anchor"></a><h3 class="tsd-anchor-link">plugins<a href="#plugins" 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><div class="tsd-signature tsd-kind-icon">plugins<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{}</span></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:236</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
27
29
|
<p>插件暴露的方法</p>
|
|
28
|
-
</div></div><div class="tsd-type-declaration"><h4>Type declaration</h4><ul class="tsd-parameters"><li class="tsd-parameter-index-signature"><h5><span class="tsd-signature-symbol">[</span>key: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">]: </span><a href="../modules/five.html#FivePluginInstance" class="tsd-signature-type" data-tsd-kind="Type alias">FivePluginInstance</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span></h5></li></ul></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="renderer" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span class="tsd-flag ts-flagOptional">Optional</span> renderer<a href="#renderer" 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><div class="tsd-signature tsd-kind-icon">renderer<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">WebGLRenderer</span></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
30
|
+
</div></div><div class="tsd-type-declaration"><h4>Type declaration</h4><ul class="tsd-parameters"><li class="tsd-parameter-index-signature"><h5><span class="tsd-signature-symbol">[</span>key: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">]: </span><a href="../modules/five.html#FivePluginInstance" class="tsd-signature-type" data-tsd-kind="Type alias">FivePluginInstance</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span></h5></li></ul></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="renderer" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span class="tsd-flag ts-flagOptional">Optional</span> renderer<a href="#renderer" 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><div class="tsd-signature tsd-kind-icon">renderer<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">WebGLRenderer</span></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:174</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
29
31
|
<p>当前使用的 THREE.WebGLRenderer。</p>
|
|
30
32
|
</div><dl class="tsd-comment-tags"><dt>description</dt><dd><p>如果初始化时传入了 <code>renderer</code> 则直接时该值
|
|
31
33
|
否则会通过 <code>preserveDrawingBuffer</code> <code>backgroundColor</code> <code>backgroundAlpha</code> <code>antialias</code> 创建一个 <code>THREE.WebGLRenderer</code></p>
|
|
32
|
-
</dd></dl></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="scene" class="tsd-anchor"></a><h3 class="tsd-anchor-link">scene<a href="#scene" 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><div class="tsd-signature tsd-kind-icon">scene<span class="tsd-signature-symbol">:</span> <a href="five.Scene.html" class="tsd-signature-type" data-tsd-kind="Class">Scene</a></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
34
|
+
</dd></dl></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="scene" class="tsd-anchor"></a><h3 class="tsd-anchor-link">scene<a href="#scene" 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><div class="tsd-signature tsd-kind-icon">scene<span class="tsd-signature-symbol">:</span> <a href="five.Scene.html" class="tsd-signature-type" data-tsd-kind="Class">Scene</a></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:147</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
33
35
|
<p>内部使用的 <code>THREE.Scene</code></p>
|
|
34
|
-
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="scissor" class="tsd-anchor"></a><h3 class="tsd-anchor-link">scissor<a href="#scissor" 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><div class="tsd-signature tsd-kind-icon">scissor<span class="tsd-signature-symbol">:</span> <a href="../interfaces/five.Scissor.html" class="tsd-signature-type" data-tsd-kind="Interface">Scissor</a></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
36
|
+
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="scissor" class="tsd-anchor"></a><h3 class="tsd-anchor-link">scissor<a href="#scissor" 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><div class="tsd-signature tsd-kind-icon">scissor<span class="tsd-signature-symbol">:</span> <a href="../interfaces/five.Scissor.html" class="tsd-signature-type" data-tsd-kind="Interface">Scissor</a></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:166</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
35
37
|
<p>当前设置的 <code>scissor</code></p>
|
|
36
38
|
</div><dl class="tsd-comment-tags"><dt>description</dt><dd><p>可通过初始化,或者 setScissor 方式设置
|
|
37
39
|
<code>scissor</code> 是将屏幕中的内容渲染到 <code>renderer</code> 的指定区域。
|
|
38
40
|
页面整体长宽均为 <code>1</code>。通过类似 css 的 <code>left</code> <code>bottom</code> <code>width</code> <code>height</code> 来确定区域。</p>
|
|
39
41
|
</dd><dt>example</dt><dd><pre><code><span class="hl-15">scissor</span><span class="hl-0">: { </span><span class="hl-15">left</span><span class="hl-0">: </span><span class="hl-13">0.75</span><span class="hl-0">, </span><span class="hl-15">bottom</span><span class="hl-0">: </span><span class="hl-13">0</span><span class="hl-0">, </span><span class="hl-15">width</span><span class="hl-0">: </span><span class="hl-13">0.25</span><span class="hl-0">, </span><span class="hl-15">height</span><span class="hl-0">: </span><span class="hl-13">1</span><span class="hl-0"> }</span>
|
|
40
42
|
</code></pre>
|
|
41
|
-
</dd></dl></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="state" class="tsd-anchor"></a><h3 class="tsd-anchor-link">state<a href="#state" 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><div class="tsd-signature tsd-kind-icon">state<span class="tsd-signature-symbol">:</span> <a href="../interfaces/five.State.html" class="tsd-signature-type" data-tsd-kind="Interface">State</a></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
43
|
+
</dd></dl></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="state" class="tsd-anchor"></a><h3 class="tsd-anchor-link">state<a href="#state" 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><div class="tsd-signature tsd-kind-icon">state<span class="tsd-signature-symbol">:</span> <a href="../interfaces/five.State.html" class="tsd-signature-type" data-tsd-kind="Interface">State</a></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:232</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
42
44
|
<p>当前状态</p>
|
|
43
45
|
</div><dl class="tsd-comment-tags"><dt>description</dt><dd><pre><code class="language-text">five 设置了以下状态
|
|
44
46
|
|
|
@@ -53,16 +55,16 @@
|
|
|
53
55
|
通过 state 设置后,five 会通过合适的动画运动来达到设置的位置。
|
|
54
56
|
来迎合一些通过数据驱动的场景。
|
|
55
57
|
</code></pre>
|
|
56
|
-
</dd></dl></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="textureOptions" class="tsd-anchor"></a><h3 class="tsd-anchor-link">texture<wbr/>Options<a href="#textureOptions" 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><div class="tsd-signature tsd-kind-icon">texture<wbr/>Options<span class="tsd-signature-symbol">:</span> <a href="../interfaces/five.TextureOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">TextureOptions</a></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
58
|
+
</dd></dl></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="textureOptions" class="tsd-anchor"></a><h3 class="tsd-anchor-link">texture<wbr/>Options<a href="#textureOptions" 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><div class="tsd-signature tsd-kind-icon">texture<wbr/>Options<span class="tsd-signature-symbol">:</span> <a href="../interfaces/five.TextureOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">TextureOptions</a></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:204</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
57
59
|
<p>模型贴图的配置参数</p>
|
|
58
60
|
</div><dl class="tsd-comment-tags"><dt>description</dt><dd><p>可以动态对配置在 <code>work</code> 数据中的模型贴图在 runtime 做 url 调整。
|
|
59
61
|
平衡加载时间和图片质量</p>
|
|
60
|
-
</dd></dl></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="videoTexture" class="tsd-anchor"></a><h3 class="tsd-anchor-link">video<wbr/>Texture<a href="#videoTexture" 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><div class="tsd-signature tsd-kind-icon">video<wbr/>Texture<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">VideoTexture</span></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
62
|
+
</dd></dl></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="videoTexture" class="tsd-anchor"></a><h3 class="tsd-anchor-link">video<wbr/>Texture<a href="#videoTexture" 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><div class="tsd-signature tsd-kind-icon">video<wbr/>Texture<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">VideoTexture</span></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:212</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
61
63
|
<p>模型贴图的配置参数</p>
|
|
62
64
|
</div><dl class="tsd-comment-tags"><dt>description</dt><dd><p>可以动态对配置在 <code>work</code> 数据中的模型贴图在 runtime 做 url 调整。
|
|
63
65
|
平衡加载时间和图片质量</p>
|
|
64
|
-
</dd></dl></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-static"><a id="Line" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span class="tsd-flag ts-flagStatic">Static</span> Line<a href="#Line" 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><div class="tsd-signature tsd-kind-icon">Line<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol"> = null</span></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
65
|
-
</dd></dl></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-static"><a id="Mode" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span class="tsd-flag ts-flagStatic">Static</span> Mode<a href="#Mode" 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><div class="tsd-signature tsd-kind-icon">Mode<span class="tsd-signature-symbol">:</span> <a href="../modules/five.html#Mirror" class="tsd-signature-type" data-tsd-kind="Type alias">Mirror</a><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></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
66
|
+
</dd></dl></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-static"><a id="Line" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span class="tsd-flag ts-flagStatic">Static</span> Line<a href="#Line" 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><div class="tsd-signature tsd-kind-icon">Line<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol"> = null</span></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:131</li></ul></aside><div class="tsd-comment tsd-typography"><dl class="tsd-comment-tags"><dt>deprecated</dt><dd><p>请使用 <code>import { Line } from "@realsee/five/line"</code> 代替;</p>
|
|
67
|
+
</dd></dl></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-static"><a id="Mode" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span class="tsd-flag ts-flagStatic">Static</span> Mode<a href="#Mode" 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><div class="tsd-signature tsd-kind-icon">Mode<span class="tsd-signature-symbol">:</span> <a href="../modules/five.html#Mirror" class="tsd-signature-type" data-tsd-kind="Type alias">Mirror</a><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></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:116</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
66
68
|
<p>Five 的显示模式,可以通过 <code>five.changeMode</code> <code>five.setState</code> 来切换</p>
|
|
67
69
|
</div><dl class="tsd-comment-tags"><dt>description</dt><dd><pre><code class="language-text">Panorama 全景图游走模式
|
|
68
70
|
Model 模型游走模式
|
|
@@ -72,38 +74,38 @@ DepthPanorama 深度图游走模式
|
|
|
72
74
|
VRPanorama VR眼镜模式
|
|
73
75
|
XRPanorama VR硬件模式
|
|
74
76
|
</code></pre>
|
|
75
|
-
</dd></dl></div></section></section><section class="tsd-panel-group tsd-member-group "><h2>Accessors</h2><section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="enableIOSEDR" class="tsd-anchor"></a><h3 class="tsd-anchor-link">enableIOSEDR<a href="#enableIOSEDR" 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-accessor tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">get</span> enableIOSEDR<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li><li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">set</span> enableIOSEDR<span class="tsd-signature-symbol">(</span>enable<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"><ul><li>Defined in lib/five/application/five.ts:
|
|
77
|
+
</dd></dl></div></section></section><section class="tsd-panel-group tsd-member-group "><h2>Accessors</h2><section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="enableIOSEDR" class="tsd-anchor"></a><h3 class="tsd-anchor-link">enableIOSEDR<a href="#enableIOSEDR" 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-accessor tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">get</span> enableIOSEDR<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li><li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">set</span> enableIOSEDR<span class="tsd-signature-symbol">(</span>enable<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"><ul><li>Defined in lib/five/application/five.ts:629</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
76
78
|
<p>是否开启 IOS EDR 模式
|
|
77
79
|
需要客户端配合
|
|
78
80
|
并且开启 five.enablepostProcessing = true</p>
|
|
79
|
-
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4></li><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
81
|
+
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4></li><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:632</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
80
82
|
<p>是否开启 IOS EDR 模式
|
|
81
83
|
需要客户端配合
|
|
82
84
|
并且开启 five.enablepostProcessing = true</p>
|
|
83
|
-
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>enable: <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-accessor tsd-parent-kind-class"><a id="enablePostProcessing" class="tsd-anchor"></a><h3 class="tsd-anchor-link">enable<wbr/>Post<wbr/>Processing<a href="#enablePostProcessing" 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-accessor tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">get</span> enablePostProcessing<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li><li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">set</span> enablePostProcessing<span class="tsd-signature-symbol">(</span>enable<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"><ul><li>Defined in lib/five/application/five.ts:
|
|
85
|
+
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>enable: <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-accessor tsd-parent-kind-class"><a id="enablePostProcessing" class="tsd-anchor"></a><h3 class="tsd-anchor-link">enable<wbr/>Post<wbr/>Processing<a href="#enablePostProcessing" 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-accessor tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">get</span> enablePostProcessing<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li><li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">set</span> enablePostProcessing<span class="tsd-signature-symbol">(</span>enable<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"><ul><li>Defined in lib/five/application/five.ts:644</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
84
86
|
<p>是否开启后处理</p>
|
|
85
|
-
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4></li><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
87
|
+
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4></li><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:647</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
86
88
|
<p>是否开启后处理</p>
|
|
87
|
-
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>enable: <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-accessor tsd-parent-kind-class"><a id="helperVisible" class="tsd-anchor"></a><h3 class="tsd-anchor-link">helper<wbr/>Visible<a href="#helperVisible" 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-accessor tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">get</span> helperVisible<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li><li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">set</span> helperVisible<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"><ul><li>Defined in lib/five/application/five.ts:
|
|
89
|
+
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>enable: <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-accessor tsd-parent-kind-class"><a id="helperVisible" class="tsd-anchor"></a><h3 class="tsd-anchor-link">helper<wbr/>Visible<a href="#helperVisible" 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-accessor tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">get</span> helperVisible<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li><li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">set</span> helperVisible<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"><ul><li>Defined in lib/five/application/five.ts:613</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
88
90
|
<p>帮助元素显示/隐藏</p>
|
|
89
|
-
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4></li><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
91
|
+
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4></li><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:616</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
90
92
|
<p>帮助元素显示/隐藏</p>
|
|
91
|
-
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>visible: <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-get-signature tsd-parent-kind-class"><a id="work" class="tsd-anchor"></a><h3 class="tsd-anchor-link">work<a href="#work" 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-get-signature tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">get</span> work<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="five.Work.html" class="tsd-signature-type" data-tsd-kind="Class">Work</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
93
|
+
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>visible: <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-get-signature tsd-parent-kind-class"><a id="work" class="tsd-anchor"></a><h3 class="tsd-anchor-link">work<a href="#work" 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-get-signature tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">get</span> work<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="five.Work.html" class="tsd-signature-type" data-tsd-kind="Class">Work</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:969</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
92
94
|
<p>当前加载的 work 数据</p>
|
|
93
|
-
</div></div><h4 class="tsd-returns-title">Returns <a href="five.Work.html" class="tsd-signature-type" data-tsd-kind="Class">Work</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-get-signature tsd-parent-kind-class tsd-is-static"><a id="version" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span class="tsd-flag ts-flagStatic">Static</span> version<a href="#version" 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-get-signature tsd-parent-kind-class tsd-is-static"><li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">get</span> version<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
95
|
+
</div></div><h4 class="tsd-returns-title">Returns <a href="five.Work.html" class="tsd-signature-type" data-tsd-kind="Class">Work</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-get-signature tsd-parent-kind-class tsd-is-static"><a id="version" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span class="tsd-flag ts-flagStatic">Static</span> version<a href="#version" 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-get-signature tsd-parent-kind-class tsd-is-static"><li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">get</span> version<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:98</li></ul></aside><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4></li></ul></section></section><section class="tsd-panel-group tsd-member-group "><h2>Methods</h2><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="addExtraElement" class="tsd-anchor"></a><h3 class="tsd-anchor-link">add<wbr/>Extra<wbr/>Element<a href="#addExtraElement" 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-class"><li class="tsd-signature tsd-kind-icon">add<wbr/>Extra<wbr/>Element<span class="tsd-signature-symbol">(</span>element<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">HTMLElement</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:810</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
94
96
|
<p>绑定一个额外 DOM 区域,接受触控/鼠标事件</p>
|
|
95
97
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>element: <span class="tsd-signature-type">HTMLElement</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</span></h4><div><p>解除该绑定</p>
|
|
96
98
|
</div><ul class="tsd-parameters"><li class="tsd-parameter-signature"><ul class="tsd-signatures tsd-kind-type-literal"><li class="tsd-signature tsd-kind-icon"><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"><div class="tsd-comment tsd-typography"><div class="lead">
|
|
97
99
|
<p>绑定一个额外 DOM 区域,接受触控/鼠标事件</p>
|
|
98
100
|
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div><p>解除该绑定</p>
|
|
99
|
-
</div></li></ul></li></ul></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="appendTo" class="tsd-anchor"></a><h3 class="tsd-anchor-link">append<wbr/>To<a href="#appendTo" 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-class"><li class="tsd-signature tsd-kind-icon">append<wbr/>To<span class="tsd-signature-symbol">(</span>element<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">HTMLElement</span>, size<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-symbol">{ </span>height<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>width<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
101
|
+
</div></li></ul></li></ul></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="appendTo" class="tsd-anchor"></a><h3 class="tsd-anchor-link">append<wbr/>To<a href="#appendTo" 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-class"><li class="tsd-signature tsd-kind-icon">append<wbr/>To<span class="tsd-signature-symbol">(</span>element<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">HTMLElement</span>, size<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-symbol">{ </span>height<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>width<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:733</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
100
102
|
<p>将显示区域加载到页面 DOM 中</p>
|
|
101
103
|
</div><dl class="tsd-comment-tags"><dt>description</dt><dd><p>如果你是传入的 <code>renderer</code>. 则你需要自行来方式显示区域该方法并不生效</p>
|
|
102
104
|
</dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>element: <span class="tsd-signature-type">HTMLElement</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
103
105
|
<p>加载到页面的 DOM 元素</p>
|
|
104
106
|
</div></div></li><li><h5>size: <span class="tsd-signature-symbol">{ </span>height<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>width<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol"> = {}</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
105
107
|
<p>显示区域尺寸 默认铺满这个 DOM 元素</p>
|
|
106
|
-
</div></div><ul class="tsd-parameters"><li class="tsd-parameter"><h5><span class="tsd-flag ts-flagOptional">Optional</span> height<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span></h5></li><li class="tsd-parameter"><h5><span class="tsd-flag ts-flagOptional">Optional</span> width<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span></h5></li></ul></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-class"><a id="aroundScissor" class="tsd-anchor"></a><h3 class="tsd-anchor-link">around<wbr/>Scissor<a href="#aroundScissor" 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-class"><li class="tsd-signature tsd-kind-icon">around<wbr/>Scissor<span class="tsd-signature-symbol">(</span>callback<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
108
|
+
</div></div><ul class="tsd-parameters"><li class="tsd-parameter"><h5><span class="tsd-flag ts-flagOptional">Optional</span> height<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span></h5></li><li class="tsd-parameter"><h5><span class="tsd-flag ts-flagOptional">Optional</span> width<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span></h5></li></ul></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-class"><a id="aroundScissor" class="tsd-anchor"></a><h3 class="tsd-anchor-link">around<wbr/>Scissor<a href="#aroundScissor" 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-class"><li class="tsd-signature tsd-kind-icon">around<wbr/>Scissor<span class="tsd-signature-symbol">(</span>callback<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:1879</li></ul></aside><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>callback: <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</span></h5><ul class="tsd-parameters"><li class="tsd-parameter-signature"><ul class="tsd-signatures tsd-kind-type-literal"><li class="tsd-signature tsd-kind-icon"><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"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li></ul></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-class tsd-has-type-parameter"><a id="changeMode" class="tsd-anchor"></a><h3 class="tsd-anchor-link">change<wbr/>Mode<a href="#changeMode" 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-class tsd-has-type-parameter"><li class="tsd-signature tsd-kind-icon">change<wbr/>Mode<span class="tsd-signature-symbol"><</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">T</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span>mode<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">T</span>, state<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Omit</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/five.State.html" class="tsd-signature-type" data-tsd-kind="Interface">State</a><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">"mode"</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">></span>, duration<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>, force<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">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:1171</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
107
109
|
<p>切换模态</p>
|
|
108
110
|
</div></div><h4 class="tsd-type-parameters-title">Type Parameters</h4><ul class="tsd-type-parameters"><li><h4>T<span class="tsd-signature-symbol"> extends </span><a href="../modules/five.html#Mode" class="tsd-signature-type" data-tsd-kind="Type alias">Mode</a></h4></li></ul><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>mode: <span class="tsd-signature-type" data-tsd-kind="Type parameter">T</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
109
111
|
<p>切换到的模态</p>
|
|
@@ -115,7 +117,7 @@ XRPanorama VR硬件模式
|
|
|
115
117
|
<p>是否时用户动作触发 默认 true</p>
|
|
116
118
|
</div></div></li><li><h5>force: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
117
119
|
<p>必须重新初始化 controller</p>
|
|
118
|
-
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><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-class"><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"><ul><li>Defined in lib/five/application/five.ts:
|
|
120
|
+
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><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-class"><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"><ul><li>Defined in lib/five/application/five.ts:543</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
119
121
|
<p>析构 five 对象。</p>
|
|
120
122
|
</div><dl class="tsd-comment-tags"><dt>description</dt><dd><p>一旦调用了析构方法,则不能再使用当前 five 对象了。
|
|
121
123
|
你可以新建一个新的。</p>
|
|
@@ -128,14 +130,14 @@ XRPanorama VR硬件模式
|
|
|
128
130
|
</div></div></li><li><h5><span class="tsd-flag ts-flagRest">Rest</span> <span class="tsd-signature-symbol">...</span>data: <span class="tsd-signature-type">Parameters</span><span class="tsd-signature-symbol"><</span><a href="../modules/five.html#EventTypes" class="tsd-signature-type" data-tsd-kind="Type alias">EventTypes</a><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">K</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">></span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
129
131
|
<p>触发事件的数据</p>
|
|
130
132
|
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><div><p>canceled 是否被触发取消</p>
|
|
131
|
-
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="exitFullscreen" class="tsd-anchor"></a><h3 class="tsd-anchor-link">exit<wbr/>Fullscreen<a href="#exitFullscreen" 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-class"><li class="tsd-signature tsd-kind-icon">exit<wbr/>Fullscreen<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"><ul><li>Defined in lib/five/application/five.ts:
|
|
133
|
+
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="exitFullscreen" class="tsd-anchor"></a><h3 class="tsd-anchor-link">exit<wbr/>Fullscreen<a href="#exitFullscreen" 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-class"><li class="tsd-signature tsd-kind-icon">exit<wbr/>Fullscreen<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"><ul><li>Defined in lib/five/application/five.ts:2062</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
132
134
|
<p>退出全屏</p>
|
|
133
|
-
</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-class"><a id="getCameraLocal" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Camera<wbr/>Local<a href="#getCameraLocal" 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-class"><li class="tsd-signature tsd-kind-icon">get<wbr/>Camera<wbr/>Local<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">{ </span>lookAtVector<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Vector3</span><span class="tsd-signature-symbol">; </span>phi<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>theta<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> }</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
135
|
+
</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-class"><a id="getCameraLocal" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Camera<wbr/>Local<a href="#getCameraLocal" 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-class"><li class="tsd-signature tsd-kind-icon">get<wbr/>Camera<wbr/>Local<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">{ </span>lookAtVector<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Vector3</span><span class="tsd-signature-symbol">; </span>phi<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>theta<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> }</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:911</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
134
136
|
<p>获取当前相机的姿态(用于内部的 python 脚本截图)</p>
|
|
135
137
|
</div><dl class="tsd-comment-tags"><dt>deprecated</dt><dd><p>这是用于内部的 python 脚本截图</p>
|
|
136
|
-
</dd></dl></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">{ </span>lookAtVector<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Vector3</span><span class="tsd-signature-symbol">; </span>phi<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>theta<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> }</span></h4><ul class="tsd-parameters"><li class="tsd-parameter"><h5>look<wbr/>At<wbr/>Vector<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Vector3</span></h5></li><li class="tsd-parameter"><h5>phi<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></h5></li><li class="tsd-parameter"><h5>theta<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></h5></li></ul></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getCurrentState" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Current<wbr/>State<a href="#getCurrentState" 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-class"><li class="tsd-signature tsd-kind-icon">get<wbr/>Current<wbr/>State<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/five.State.html" class="tsd-signature-type" data-tsd-kind="Interface">State</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
138
|
+
</dd></dl></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">{ </span>lookAtVector<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Vector3</span><span class="tsd-signature-symbol">; </span>phi<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>theta<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> }</span></h4><ul class="tsd-parameters"><li class="tsd-parameter"><h5>look<wbr/>At<wbr/>Vector<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Vector3</span></h5></li><li class="tsd-parameter"><h5>phi<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></h5></li><li class="tsd-parameter"><h5>theta<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></h5></li></ul></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getCurrentState" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Current<wbr/>State<a href="#getCurrentState" 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-class"><li class="tsd-signature tsd-kind-icon">get<wbr/>Current<wbr/>State<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/five.State.html" class="tsd-signature-type" data-tsd-kind="Interface">State</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:1727</li></ul></aside><h4 class="tsd-returns-title">Returns <a href="../interfaces/five.State.html" class="tsd-signature-type" data-tsd-kind="Interface">State</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getDrawingBufferSize" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Drawing<wbr/>Buffer<wbr/>Size<a href="#getDrawingBufferSize" 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-class"><li class="tsd-signature tsd-kind-icon">get<wbr/>Drawing<wbr/>Buffer<wbr/>Size<span class="tsd-signature-symbol">(</span>target<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Vector2</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Vector2</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:850</li></ul></aside><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>target: <span class="tsd-signature-type">Vector2</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Vector2</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getElement" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Element<a href="#getElement" 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-class"><li class="tsd-signature tsd-kind-icon">get<wbr/>Element<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">HTMLCanvasElement</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:1335</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
137
139
|
<p>获取显示用的画布(Canvas DOM节点)</p>
|
|
138
|
-
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">HTMLCanvasElement</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getGPUPicking" class="tsd-anchor"></a><h3 class="tsd-anchor-link">getGPUPicking<a href="#getGPUPicking" 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-class"><li class="tsd-signature tsd-kind-icon">getGPUPicking<span class="tsd-signature-symbol">(</span>x<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, y<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, colorMap<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">{}</span>, pixelRatio<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span>, modelColor<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Vector3</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">false</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
140
|
+
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">HTMLCanvasElement</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getGPUPicking" class="tsd-anchor"></a><h3 class="tsd-anchor-link">getGPUPicking<a href="#getGPUPicking" 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-class"><li class="tsd-signature tsd-kind-icon">getGPUPicking<span class="tsd-signature-symbol">(</span>x<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, y<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, colorMap<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">{}</span>, pixelRatio<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span>, modelColor<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Vector3</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">false</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:469</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
139
141
|
<p>GPU Picking 获取选中的 mesh</p>
|
|
140
142
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>x: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
141
143
|
<p>屏幕坐标 x</p>
|
|
@@ -146,13 +148,13 @@ XRPanorama VR硬件模式
|
|
|
146
148
|
</div></div><ul class="tsd-parameters"><li class="tsd-parameter-index-signature"><h5><span class="tsd-signature-symbol">[</span>key: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">]: </span><span class="tsd-signature-type">THREE.Color</span></h5></li></ul></li><li><h5>pixelRatio: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 1</span></h5></li><li><h5>modelColor: <span class="tsd-signature-type">Vector3</span><span class="tsd-signature-symbol"> = ...</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
147
149
|
<p>指定的模型颜色</p>
|
|
148
150
|
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">false</span></h4><div><p>选中 mesh 的 uuid</p>
|
|
149
|
-
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getLongitudeAndLatitude" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Longitude<wbr/>And<wbr/>Latitude<a href="#getLongitudeAndLatitude" 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-class"><li class="tsd-signature tsd-kind-icon">get<wbr/>Longitude<wbr/>And<wbr/>Latitude<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Pick</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/five.Pose.html" class="tsd-signature-type" 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></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
151
|
+
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getLongitudeAndLatitude" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Longitude<wbr/>And<wbr/>Latitude<a href="#getLongitudeAndLatitude" 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-class"><li class="tsd-signature tsd-kind-icon">get<wbr/>Longitude<wbr/>And<wbr/>Latitude<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Pick</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/five.Pose.html" class="tsd-signature-type" 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></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:894</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
150
152
|
<p>获取当前相机经纬度</p>
|
|
151
153
|
</div><dl class="tsd-comment-tags"><dt>deprecated</dt><dd><p>请使用使用 getPose</p>
|
|
152
|
-
</dd></dl></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Pick</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/five.Pose.html" class="tsd-signature-type" 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></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getOffset" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Offset<a href="#getOffset" 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-class"><li class="tsd-signature tsd-kind-icon">get<wbr/>Offset<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Vector3</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
154
|
+
</dd></dl></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Pick</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/five.Pose.html" class="tsd-signature-type" 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></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getOffset" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Offset<a href="#getOffset" 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-class"><li class="tsd-signature tsd-kind-icon">get<wbr/>Offset<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Vector3</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:903</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
153
155
|
<p>获取当前相机位置</p>
|
|
154
156
|
</div><dl class="tsd-comment-tags"><dt>deprecated</dt><dd><p>请使用使用 getPose</p>
|
|
155
|
-
</dd></dl></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Vector3</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getPixels" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Pixels<a href="#getPixels" 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-class"><li class="tsd-signature tsd-kind-icon">get<wbr/>Pixels<span class="tsd-signature-symbol">(</span>x<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, y<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, width<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, height<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, pixelRatio<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">Uint8Array</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
157
|
+
</dd></dl></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Vector3</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getPixels" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Pixels<a href="#getPixels" 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-class"><li class="tsd-signature tsd-kind-icon">get<wbr/>Pixels<span class="tsd-signature-symbol">(</span>x<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, y<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, width<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, height<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, pixelRatio<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">Uint8Array</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:1306</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
156
158
|
<p>获取画面中的像素颜色</p>
|
|
157
159
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>x: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
158
160
|
<p>获取像素区域的起始坐标 x</p>
|
|
@@ -165,17 +167,17 @@ XRPanorama VR硬件模式
|
|
|
165
167
|
</div></div></li><li><h5>pixelRatio: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 1</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
166
168
|
<p>获取区域的像素比</p>
|
|
167
169
|
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Uint8Array</span></h4><div><p>rgba颜色平铺的 Uint8Array</p>
|
|
168
|
-
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getPose" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Pose<a href="#getPose" 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-class"><li class="tsd-signature tsd-kind-icon">get<wbr/>Pose<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/five.Pose.html" class="tsd-signature-type" data-tsd-kind="Interface">Pose</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
170
|
+
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getPose" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Pose<a href="#getPose" 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-class"><li class="tsd-signature tsd-kind-icon">get<wbr/>Pose<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/five.Pose.html" class="tsd-signature-type" data-tsd-kind="Interface">Pose</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:835</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
169
171
|
<p>获取当前相机姿态, 可以使用 getCurrentState 代替</p>
|
|
170
|
-
</div></div><h4 class="tsd-returns-title">Returns <a href="../interfaces/five.Pose.html" class="tsd-signature-type" data-tsd-kind="Interface">Pose</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getRenderObjects" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Render<wbr/>Objects<a href="#getRenderObjects" 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-class"><li class="tsd-signature tsd-kind-icon">get<wbr/>Render<wbr/>Objects<span class="tsd-signature-symbol">(</span>object<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Object3D</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Object3D</span><span class="tsd-signature-symbol">[]</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
172
|
+
</div></div><h4 class="tsd-returns-title">Returns <a href="../interfaces/five.Pose.html" class="tsd-signature-type" data-tsd-kind="Interface">Pose</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getRenderObjects" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Render<wbr/>Objects<a href="#getRenderObjects" 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-class"><li class="tsd-signature tsd-kind-icon">get<wbr/>Render<wbr/>Objects<span class="tsd-signature-symbol">(</span>object<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Object3D</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Object3D</span><span class="tsd-signature-symbol">[]</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:1707</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
171
173
|
<p>获取当前在屏幕视锥中的 mesh。</p>
|
|
172
174
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> object: <span class="tsd-signature-type">Object3D</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
173
175
|
<p>如果传入则检查这个对象中的mesh,如果不传,则检查整个 scene</p>
|
|
174
|
-
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Object3D</span><span class="tsd-signature-symbol">[]</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getSize" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Size<a href="#getSize" 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-class"><li class="tsd-signature tsd-kind-icon">get<wbr/>Size<span class="tsd-signature-symbol">(</span>target<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Vector2</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Vector2</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
176
|
+
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Object3D</span><span class="tsd-signature-symbol">[]</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getSize" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Size<a href="#getSize" 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-class"><li class="tsd-signature tsd-kind-icon">get<wbr/>Size<span class="tsd-signature-symbol">(</span>target<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Vector2</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Vector2</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:840</li></ul></aside><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>target: <span class="tsd-signature-type">Vector2</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Vector2</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="hasListener" class="tsd-anchor"></a><h3 class="tsd-anchor-link">has<wbr/>Listener<a href="#hasListener" 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-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">has<wbr/>Listener<span class="tsd-signature-symbol">(</span>name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"error"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"network"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"load"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"loaded"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"webXRSessionStart"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"webXRSessionEnd"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"mouseWheel"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"initAnimationWillStart"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"initAnimationEnded"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"cameraUpdate"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"cameraPositionUpdate"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"cameraDirectionUpdate"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"panoSelected"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"wantsMoveToPano"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"moveToPano"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"panoWillLoad"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"panoLoaded"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"panoLoadError"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"moveToPanoCanceled"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"panoWillArrive"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"panoArrived"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"movingToPano"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"wantsGesture"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"gesture"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"wantsPanGesture"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"panGesture"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"wantsInteriaPan"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"interiaPan"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"wantsTapGesture"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"tapGesture"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"wantsPinchGesture"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"wantsPressGesture"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"pressGesture"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"pinchGesture"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"wantsMouseWheel"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"intersectionOnModelUpdate"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"wantsShowIntersectionOnModel"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"intersectionHidden"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"textureStartLoad"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"textureLoading"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"textureAbort"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"textureError"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"textureLoaded"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"webXRSelected"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"dispose"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"willLoad"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"modelWillLoad"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"modelGeometryLoaded"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"modelMaterialLoaded"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"modelBvhLoaded"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"modelLoadError"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"modelLoaded"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"modelShownFloorChange"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"renderFrame"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"fps"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"stateChange"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"currentStateChange"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"setState"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"stateSynced"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"wantsToMoveToPano"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"wantsChangeMode"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"modeChange"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"helpersVisibleChange"</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="five.Subscribe.html">Subscribe</a>.<a href="five.Subscribe.html#hasListener">hasListener</a></p><ul><li>Defined in lib/five/utils/subscribe.ts:42</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
175
177
|
<p>判断是否注册了事件</p>
|
|
176
178
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>name: <span class="tsd-signature-type">"error"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"network"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"load"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"loaded"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"webXRSessionStart"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"webXRSessionEnd"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"mouseWheel"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"initAnimationWillStart"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"initAnimationEnded"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"cameraUpdate"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"cameraPositionUpdate"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"cameraDirectionUpdate"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"panoSelected"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"wantsMoveToPano"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"moveToPano"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"panoWillLoad"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"panoLoaded"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"panoLoadError"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"moveToPanoCanceled"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"panoWillArrive"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"panoArrived"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"movingToPano"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"wantsGesture"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"gesture"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"wantsPanGesture"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"panGesture"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"wantsInteriaPan"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"interiaPan"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"wantsTapGesture"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"tapGesture"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"wantsPinchGesture"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"wantsPressGesture"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"pressGesture"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"pinchGesture"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"wantsMouseWheel"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"intersectionOnModelUpdate"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"wantsShowIntersectionOnModel"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"intersectionHidden"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"textureStartLoad"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"textureLoading"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"textureAbort"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"textureError"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"textureLoaded"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"webXRSelected"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"dispose"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"willLoad"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"modelWillLoad"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"modelGeometryLoaded"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"modelMaterialLoaded"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"modelBvhLoaded"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"modelLoadError"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"modelLoaded"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"modelShownFloorChange"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"renderFrame"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"fps"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"stateChange"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"currentStateChange"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"setState"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"stateSynced"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"wantsToMoveToPano"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"wantsChangeMode"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"modeChange"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"helpersVisibleChange"</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
177
179
|
<p>事件类型</p>
|
|
178
|
-
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="initBasisLoader" class="tsd-anchor"></a><h3 class="tsd-anchor-link">init<wbr/>Basis<wbr/>Loader<a href="#initBasisLoader" 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-class"><li class="tsd-signature tsd-kind-icon">init<wbr/>Basis<wbr/>Loader<span class="tsd-signature-symbol">(</span>transcoderResourcePath<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"><ul><li>Defined in lib/five/application/five.ts:
|
|
180
|
+
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="initBasisLoader" class="tsd-anchor"></a><h3 class="tsd-anchor-link">init<wbr/>Basis<wbr/>Loader<a href="#initBasisLoader" 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-class"><li class="tsd-signature tsd-kind-icon">init<wbr/>Basis<wbr/>Loader<span class="tsd-signature-symbol">(</span>transcoderResourcePath<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"><ul><li>Defined in lib/five/application/five.ts:942</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
179
181
|
<p>初始化 initBasisLoader</p>
|
|
180
182
|
</div><dl class="tsd-comment-tags"><dt>description</dt><dd><p>同初始化的 initBasisLoader 参数。用于初始化 basisLoader。
|
|
181
183
|
basisLoader 只会初始化一次,一旦初始化则不会再修改。</p>
|
|
@@ -185,7 +187,7 @@ basisLoader 只会初始化一次,一旦初始化则不会再修改。</p>
|
|
|
185
187
|
<p>basis 解析器路径
|
|
186
188
|
如果不设置,使用默认解析器 basis 解析器。
|
|
187
189
|
可以传入解析器的 <code>resourcePath</code>, 则使用指定的解析器</p>
|
|
188
|
-
</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-class"><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-class"><li class="tsd-signature tsd-kind-icon">load<span class="tsd-signature-symbol">(</span>inputWork<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span>, state<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">"inherit"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"initial"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Omit</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/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>, duration<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">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
190
|
+
</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-class"><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-class"><li class="tsd-signature tsd-kind-icon">load<span class="tsd-signature-symbol">(</span>inputWork<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span>, state<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">"inherit"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"initial"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Omit</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/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>, duration<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">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:983</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
189
191
|
<p>加载 Work 数据</p>
|
|
190
192
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>inputWork: <span class="tsd-signature-type">any</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
191
193
|
<p>Work 数据</p>
|
|
@@ -198,7 +200,7 @@ basisLoader 只会初始化一次,一旦初始化则不会再修改。</p>
|
|
|
198
200
|
</ul>
|
|
199
201
|
</div></div></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> duration: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
200
202
|
<p>切换时间</p>
|
|
201
|
-
</div></div></li><li><h5>userAction: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><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-class"><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>, options<span class="tsd-signature-symbol">?: </span><a href="../interfaces/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">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
203
|
+
</div></div></li><li><h5>userAction: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><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-class"><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>, options<span class="tsd-signature-symbol">?: </span><a href="../interfaces/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">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:1606</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
202
204
|
<p>转化到 Panorama 模态,并移动到对应序号的观察点。</p>
|
|
203
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">
|
|
204
206
|
<p>观察点序号</p>
|
|
@@ -242,16 +244,16 @@ basisLoader 只会初始化一次,一旦初始化则不会再修改。</p>
|
|
|
242
244
|
</div><ul class="tsd-parameters"><li class="tsd-parameter-signature"><ul class="tsd-signatures tsd-kind-type-literal"><li class="tsd-signature tsd-kind-icon"><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"><div class="tsd-comment tsd-typography"><div class="lead">
|
|
243
245
|
<p>注册事件(是否只执行一次)</p>
|
|
244
246
|
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div><p>解除事件</p>
|
|
245
|
-
</div></li></ul></li></ul></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="pause" class="tsd-anchor"></a><h3 class="tsd-anchor-link">pause<a href="#pause" 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-class"><li class="tsd-signature tsd-kind-icon">pause<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"><ul><li>Defined in lib/five/application/five.ts:
|
|
247
|
+
</div></li></ul></li></ul></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="pause" class="tsd-anchor"></a><h3 class="tsd-anchor-link">pause<a href="#pause" 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-class"><li class="tsd-signature tsd-kind-icon">pause<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"><ul><li>Defined in lib/five/application/five.ts:1588</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
246
248
|
<p>但停自动播放</p>
|
|
247
|
-
</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-class"><a id="play" class="tsd-anchor"></a><h3 class="tsd-anchor-link">play<a href="#play" 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-class"><li class="tsd-signature tsd-kind-icon">play<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"><ul><li>Defined in lib/five/application/five.ts:
|
|
249
|
+
</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-class"><a id="play" class="tsd-anchor"></a><h3 class="tsd-anchor-link">play<a href="#play" 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-class"><li class="tsd-signature tsd-kind-icon">play<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"><ul><li>Defined in lib/five/application/five.ts:1595</li></ul></aside><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-class"><a id="preloadPano" class="tsd-anchor"></a><h3 class="tsd-anchor-link">preload<wbr/>Pano<a href="#preloadPano" 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-class"><li class="tsd-signature tsd-kind-icon">preload<wbr/>Pano<span class="tsd-signature-symbol">(</span>panoIndex<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, callback<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>costs<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">></span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:1647</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
248
250
|
<p>预加载点位图片资源</p>
|
|
249
251
|
</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">
|
|
250
252
|
<p>观察点序号</p>
|
|
251
253
|
</div></div></li><li><h5>callback: <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>costs<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> = noop</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
252
254
|
<p>加载完成回调, 并传递加载用时。</p>
|
|
253
255
|
</div></div><ul class="tsd-parameters"><li class="tsd-parameter-signature"><ul class="tsd-signatures tsd-kind-type-literal"><li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>costs<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"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>costs: <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></li></ul></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">></span></h4><div><p>加载完成的 Promise 参数同 callback</p>
|
|
254
|
-
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="project2d" class="tsd-anchor"></a><h3 class="tsd-anchor-link">project2d<a href="#project2d" 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-class"><li class="tsd-signature tsd-kind-icon">project2d<span class="tsd-signature-symbol">(</span>vector<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Vector3</span>, testModel<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Vector2</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
256
|
+
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="project2d" class="tsd-anchor"></a><h3 class="tsd-anchor-link">project2d<a href="#project2d" 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-class"><li class="tsd-signature tsd-kind-icon">project2d<span class="tsd-signature-symbol">(</span>vector<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Vector3</span>, testModel<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Vector2</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:1683</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
255
257
|
<p>计算三维坐标对应到屏幕的二维坐标</p>
|
|
256
258
|
</div><dl class="tsd-comment-tags"><dt>description</dt><dd><p>如果三维坐标不在屏幕中,则返回 null</p>
|
|
257
259
|
</dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>vector: <span class="tsd-signature-type">Vector3</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
@@ -259,18 +261,18 @@ basisLoader 只会初始化一次,一旦初始化则不会再修改。</p>
|
|
|
259
261
|
</div></div></li><li><h5>testModel: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
260
262
|
<p>是否计算模型遮挡</p>
|
|
261
263
|
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Vector2</span></h4><div><p>二维坐标 或者 null</p>
|
|
262
|
-
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="ready" class="tsd-anchor"></a><h3 class="tsd-anchor-link">ready<a href="#ready" 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-class"><li class="tsd-signature tsd-kind-icon">ready<span class="tsd-signature-symbol">(</span>args<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-symbol">{ </span>tile<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
264
|
+
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="ready" class="tsd-anchor"></a><h3 class="tsd-anchor-link">ready<a href="#ready" 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-class"><li class="tsd-signature tsd-kind-icon">ready<span class="tsd-signature-symbol">(</span>args<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-symbol">{ </span>tile<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:2040</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
263
265
|
<p>当前页面静态</p>
|
|
264
|
-
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>args: <span class="tsd-signature-symbol">{ </span>tile<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></h5><ul class="tsd-parameters"><li class="tsd-parameter"><h5><span class="tsd-flag ts-flagOptional">Optional</span> tile<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span></h5></li></ul></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="refresh" class="tsd-anchor"></a><h3 class="tsd-anchor-link">refresh<a href="#refresh" 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-class"><li class="tsd-signature tsd-kind-icon">refresh<span class="tsd-signature-symbol">(</span>size<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-symbol">{ </span>height<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>width<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> }</span>, pixelRatio<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"><ul><li>Defined in lib/five/application/five.ts:
|
|
266
|
+
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>args: <span class="tsd-signature-symbol">{ </span>tile<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></h5><ul class="tsd-parameters"><li class="tsd-parameter"><h5><span class="tsd-flag ts-flagOptional">Optional</span> tile<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span></h5></li></ul></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="refresh" class="tsd-anchor"></a><h3 class="tsd-anchor-link">refresh<a href="#refresh" 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-class"><li class="tsd-signature tsd-kind-icon">refresh<span class="tsd-signature-symbol">(</span>size<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-symbol">{ </span>height<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>width<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> }</span>, pixelRatio<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"><ul><li>Defined in lib/five/application/five.ts:762</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
265
267
|
<p>设置显示区域尺寸</p>
|
|
266
268
|
</div><dl class="tsd-comment-tags"><dt>description</dt><dd><p>如果你是传入的 <code>renderer</code>. 则你需要自行来设置显示区域尺寸,该方法并不生效</p>
|
|
267
269
|
</dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>size: <span class="tsd-signature-symbol">{ </span>height<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>width<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol"> = {}</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
268
270
|
<p>显示区域尺寸 默认铺满这个 DOM 元素</p>
|
|
269
271
|
</div></div><ul class="tsd-parameters"><li class="tsd-parameter"><h5><span class="tsd-flag ts-flagOptional">Optional</span> height<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span></h5></li><li class="tsd-parameter"><h5><span class="tsd-flag ts-flagOptional">Optional</span> width<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span></h5></li></ul></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> pixelRatio: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
270
272
|
<p>像素比 默认继承之前的设置</p>
|
|
271
|
-
</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-class"><a id="removeExtraElement" class="tsd-anchor"></a><h3 class="tsd-anchor-link">remove<wbr/>Extra<wbr/>Element<a href="#removeExtraElement" 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-class"><li class="tsd-signature tsd-kind-icon">remove<wbr/>Extra<wbr/>Element<span class="tsd-signature-symbol">(</span>element<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">HTMLElement</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
273
|
+
</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-class"><a id="removeExtraElement" class="tsd-anchor"></a><h3 class="tsd-anchor-link">remove<wbr/>Extra<wbr/>Element<a href="#removeExtraElement" 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-class"><li class="tsd-signature tsd-kind-icon">remove<wbr/>Extra<wbr/>Element<span class="tsd-signature-symbol">(</span>element<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">HTMLElement</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:823</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
272
274
|
<p>解除绑定的一个额外 DOM 区域</p>
|
|
273
|
-
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>element: <span class="tsd-signature-type">HTMLElement</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-class"><a id="render" class="tsd-anchor"></a><h3 class="tsd-anchor-link">render<a href="#render" 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-class"><li class="tsd-signature tsd-kind-icon">render<span class="tsd-signature-symbol">(</span>callback<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</span>, updateObjectResolution<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">WebGLRenderTarget</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
275
|
+
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>element: <span class="tsd-signature-type">HTMLElement</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-class"><a id="render" class="tsd-anchor"></a><h3 class="tsd-anchor-link">render<a href="#render" 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-class"><li class="tsd-signature tsd-kind-icon">render<span class="tsd-signature-symbol">(</span>callback<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</span>, updateObjectResolution<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">WebGLRenderTarget</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:1350</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
274
276
|
<p>强制渲染</p>
|
|
275
277
|
</div><dl class="tsd-comment-tags"><dt>description</dt><dd><p>调用 <code>five.render()</code> 和设置 <code>five.needsRender = true</code> 均可在按需渲染时,使得画面渲染一次
|
|
276
278
|
区别在于:</p>
|
|
@@ -281,9 +283,9 @@ basisLoader 只会初始化一次,一旦初始化则不会再修改。</p>
|
|
|
281
283
|
</ul>
|
|
282
284
|
</dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> callback: <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
283
285
|
<p>渲染完成回调</p>
|
|
284
|
-
</div></div><ul class="tsd-parameters"><li class="tsd-parameter-signature"><ul class="tsd-signatures tsd-kind-type-literal"><li class="tsd-signature tsd-kind-icon"><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"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li></ul></li><li><h5>updateObjectResolution: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">WebGLRenderTarget</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="requestFullscreen" class="tsd-anchor"></a><h3 class="tsd-anchor-link">request<wbr/>Fullscreen<a href="#requestFullscreen" 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-class"><li class="tsd-signature tsd-kind-icon">request<wbr/>Fullscreen<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"><ul><li>Defined in lib/five/application/five.ts:
|
|
286
|
+
</div></div><ul class="tsd-parameters"><li class="tsd-parameter-signature"><ul class="tsd-signatures tsd-kind-type-literal"><li class="tsd-signature tsd-kind-icon"><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"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li></ul></li><li><h5>updateObjectResolution: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">WebGLRenderTarget</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="requestFullscreen" class="tsd-anchor"></a><h3 class="tsd-anchor-link">request<wbr/>Fullscreen<a href="#requestFullscreen" 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-class"><li class="tsd-signature tsd-kind-icon">request<wbr/>Fullscreen<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"><ul><li>Defined in lib/five/application/five.ts:2051</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
285
287
|
<p>请求全屏</p>
|
|
286
|
-
</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-class"><a id="setScissor" class="tsd-anchor"></a><h3 class="tsd-anchor-link">set<wbr/>Scissor<a href="#setScissor" 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-class"><li class="tsd-signature tsd-kind-icon">set<wbr/>Scissor<span class="tsd-signature-symbol">(</span>scissor<span class="tsd-signature-symbol">: </span><a href="../interfaces/five.Scissor.html" class="tsd-signature-type" data-tsd-kind="Interface">Scissor</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"><ul><li>Defined in lib/five/application/five.ts:
|
|
288
|
+
</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-class"><a id="setScissor" class="tsd-anchor"></a><h3 class="tsd-anchor-link">set<wbr/>Scissor<a href="#setScissor" 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-class"><li class="tsd-signature tsd-kind-icon">set<wbr/>Scissor<span class="tsd-signature-symbol">(</span>scissor<span class="tsd-signature-symbol">: </span><a href="../interfaces/five.Scissor.html" class="tsd-signature-type" data-tsd-kind="Interface">Scissor</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"><ul><li>Defined in lib/five/application/five.ts:603</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
287
289
|
<p>设置 <code>scissor</code></p>
|
|
288
290
|
</div><dl class="tsd-comment-tags"><dt>example</dt><dd><pre><code><span class="hl-2">five</span><span class="hl-0">.</span><span class="hl-5">setScissor</span><span class="hl-0">({ </span><span class="hl-2">left:</span><span class="hl-0"> </span><span class="hl-13">0.75</span><span class="hl-0">, </span><span class="hl-2">bottom:</span><span class="hl-0"> </span><span class="hl-13">0</span><span class="hl-0">, </span><span class="hl-2">width:</span><span class="hl-0"> </span><span class="hl-13">0.25</span><span class="hl-0">, </span><span class="hl-2">height:</span><span class="hl-0"> </span><span class="hl-13">1</span><span class="hl-0"> })</span>
|
|
289
291
|
</code></pre>
|
|
@@ -292,7 +294,7 @@ basisLoader 只会初始化一次,一旦初始化则不会再修改。</p>
|
|
|
292
294
|
<code>scissor</code> 是将屏幕中的内容渲染到 <code>renderer</code> 的指定区域。
|
|
293
295
|
请确保在 five 初始化时传入 <code>renderer</code> 对象
|
|
294
296
|
页面整体长宽均为 <code>1</code>。通过类似 css 的 <code>left</code> <code>bottom</code> <code>width</code> <code>height</code> 来确定区域。</p>
|
|
295
|
-
</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-class"><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-class"><li class="tsd-signature tsd-kind-icon">set<wbr/>State<span class="tsd-signature-symbol">(</span>state<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/five.State.html" class="tsd-signature-type" data-tsd-kind="Interface">State</a><span class="tsd-signature-symbol">></span>, immediately<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</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"><ul><li>Defined in lib/five/application/five.ts:
|
|
297
|
+
</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-class"><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-class"><li class="tsd-signature tsd-kind-icon">set<wbr/>State<span class="tsd-signature-symbol">(</span>state<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/five.State.html" class="tsd-signature-type" data-tsd-kind="Interface">State</a><span class="tsd-signature-symbol">></span>, immediately<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</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"><ul><li>Defined in lib/five/application/five.ts:1756</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
296
298
|
<p>设置 State</p>
|
|
297
299
|
</div><dl class="tsd-comment-tags"><dt>description</dt><dd><pre><code class="language-text">five 设置了以下状态
|
|
298
300
|
|
|
@@ -313,7 +315,7 @@ basisLoader 只会初始化一次,一旦初始化则不会再修改。</p>
|
|
|
313
315
|
<p>是否马上转换,马上转换会尽快达到目标状态,尽量减少中间状态,更少动画。</p>
|
|
314
316
|
</div></div></li><li><h5>userAction: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
315
317
|
<p>是否是用户触发的动作</p>
|
|
316
|
-
</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-class"><a id="updateCamera" class="tsd-anchor"></a><h3 class="tsd-anchor-link">update<wbr/>Camera<a href="#updateCamera" 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-class"><li class="tsd-signature tsd-kind-icon">update<wbr/>Camera<span class="tsd-signature-symbol">(</span>pose<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Omit</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/five.Pose.html" class="tsd-signature-type" data-tsd-kind="Interface">Pose</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>, duration<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">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
318
|
+
</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-class"><a id="updateCamera" class="tsd-anchor"></a><h3 class="tsd-anchor-link">update<wbr/>Camera<a href="#updateCamera" 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-class"><li class="tsd-signature tsd-kind-icon">update<wbr/>Camera<span class="tsd-signature-symbol">(</span>pose<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Omit</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/five.Pose.html" class="tsd-signature-type" data-tsd-kind="Interface">Pose</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>, duration<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">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:870</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
317
319
|
<p>移动相机。(不触发点位移动)</p>
|
|
318
320
|
</div><dl class="tsd-comment-tags"><dt>description</dt><dd><p>如果动画中途被打断(用户触发行为,或者调用 setState, load, changeMode)的等
|
|
319
321
|
会 Promise.reject。运动完成则 Promise.resolve</p>
|
|
@@ -324,7 +326,7 @@ basisLoader 只会初始化一次,一旦初始化则不会再修改。</p>
|
|
|
324
326
|
</div></div></li><li><h5>userAction: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
325
327
|
<p>是否用户触发</p>
|
|
326
328
|
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><div><p>Promise 是否移动成功</p>
|
|
327
|
-
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="updateCameraWithKeyframes" class="tsd-anchor"></a><h3 class="tsd-anchor-link">update<wbr/>Camera<wbr/>With<wbr/>Keyframes<a href="#updateCameraWithKeyframes" 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-class"><li class="tsd-signature tsd-kind-icon">update<wbr/>Camera<wbr/>With<wbr/>Keyframes<span class="tsd-signature-symbol">(</span>keyframes<span class="tsd-signature-symbol">: </span><a href="../interfaces/five.MotionKeyframe.html" class="tsd-signature-type" data-tsd-kind="Interface">MotionKeyframe</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"distance"</span><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><span class="tsd-signature-type">"fov"</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">[]</span>, duration<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">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
329
|
+
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="updateCameraWithKeyframes" class="tsd-anchor"></a><h3 class="tsd-anchor-link">update<wbr/>Camera<wbr/>With<wbr/>Keyframes<a href="#updateCameraWithKeyframes" 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-class"><li class="tsd-signature tsd-kind-icon">update<wbr/>Camera<wbr/>With<wbr/>Keyframes<span class="tsd-signature-symbol">(</span>keyframes<span class="tsd-signature-symbol">: </span><a href="../interfaces/five.MotionKeyframe.html" class="tsd-signature-type" data-tsd-kind="Interface">MotionKeyframe</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"distance"</span><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><span class="tsd-signature-type">"fov"</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">[]</span>, duration<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">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:885</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
328
330
|
<p>通过帧动画移动相机。(不触发点位移动)</p>
|
|
329
331
|
</div><dl class="tsd-comment-tags"><dt>description</dt><dd><p>如果动画中途被打断(用户触发行为,或者调用 setState, load, changeMode)的等
|
|
330
332
|
会 Promise.reject。运动完成则 Promise.resolve</p>
|
|
@@ -335,4 +337,4 @@ basisLoader 只会初始化一次,一旦初始化则不会再修改。</p>
|
|
|
335
337
|
</div></div></li><li><h5>userAction: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
336
338
|
<p>是否用户触发</p>
|
|
337
339
|
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><div><p>Promise 是否移动成功</p>
|
|
338
|
-
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="updateConfiguration" class="tsd-anchor"></a><h3 class="tsd-anchor-link">update<wbr/>Configuration<a href="#updateConfiguration" 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-class"><li class="tsd-signature tsd-kind-icon">update<wbr/>Configuration<span class="tsd-signature-symbol">(</span>args<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Pick</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/five.FiveInitArgs.html" class="tsd-signature-type" data-tsd-kind="Interface">FiveInitArgs</a><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">"panorama"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"model"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"imageOptions"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"floorplan"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"topview"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"mapview"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"depthPanorama"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"vrPanorama"</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"><ul><li>Defined in lib/five/application/five.ts:660</li></ul></aside><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>args: <span class="tsd-signature-type">Pick</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/five.FiveInitArgs.html" class="tsd-signature-type" data-tsd-kind="Interface">FiveInitArgs</a><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">"panorama"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"model"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"imageOptions"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"floorplan"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"topview"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"mapview"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"depthPanorama"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"vrPanorama"</span><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-class"><a id="updateTime" class="tsd-anchor"></a><h3 class="tsd-anchor-link">update<wbr/>Time<a href="#updateTime" 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-class"><li class="tsd-signature tsd-kind-icon">update<wbr/>Time<span class="tsd-signature-symbol">(</span>time<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, deltaTime<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, <span class="tsd-signature-symbol">...</span>args<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:1376</li></ul></aside><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>time: <span class="tsd-signature-type">number</span></h5></li><li><h5>deltaTime: <span class="tsd-signature-type">number</span></h5></li><li><h5><span class="tsd-flag ts-flagRest">Rest</span> <span class="tsd-signature-symbol">...</span>args: <span class="tsd-signature-type">any</span><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></div><div class="col-4 col-menu menu-sticky-wrap menu-highlight"><nav class="tsd-navigation primary"><ul><li class=""><a href="../modules.html">Modules</a></li><li class="current tsd-kind-module"><a href="../modules/five.html">five</a><ul><li class=" tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/five.SubscribeMixinType.html">Subscribe<wbr/>Mixin<wbr/>Type</a></li></ul></li><li class=" tsd-kind-module"><a href="../modules/gltf_loader.html">gltf-<wbr/>loader</a></li><li class=" tsd-kind-module"><a href="../modules/line.html">line</a></li><li class=" tsd-kind-module"><a href="../modules/react.html">react</a></li><li class=" tsd-kind-module"><a href="../modules/server.html">server</a></li><li class=" tsd-kind-module"><a href="../modules/sticker.html">sticker</a></li><li class=" tsd-kind-module"><a href="../modules/vfx.html">vfx</a></li><li class=" tsd-kind-module"><a href="../modules/vue.html">vue</a></li></ul></nav><nav class="tsd-navigation secondary menu-sticky"><ul><li class="current tsd-kind-class tsd-parent-kind-module"><a href="five.Five.html" class="tsd-kind-icon">Five</a><ul><li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite"><a href="five.Five.html#constructor" class="tsd-kind-icon">constructor</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="five.Five.html#camera" class="tsd-kind-icon">camera</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="five.Five.html#currentMode" class="tsd-kind-icon">current<wbr/>Mode</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="five.Five.html#ident" class="tsd-kind-icon">ident</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="five.Five.html#imageOptions" class="tsd-kind-icon">image<wbr/>Options</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="five.Five.html#model" class="tsd-kind-icon">model</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="five.Five.html#needsRender" class="tsd-kind-icon">needs<wbr/>Render</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="five.Five.html#panoIndex" class="tsd-kind-icon">pano<wbr/>Index</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="five.Five.html#parallaxScene" class="tsd-kind-icon">parallax<wbr/>Scene</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="five.Five.html#paused" class="tsd-kind-icon">paused</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="five.Five.html#plugins" class="tsd-kind-icon">plugins</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="five.Five.html#renderer" class="tsd-kind-icon">renderer</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="five.Five.html#scene" class="tsd-kind-icon">scene</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="five.Five.html#scissor" class="tsd-kind-icon">scissor</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="five.Five.html#state" class="tsd-kind-icon">state</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="five.Five.html#textureOptions" class="tsd-kind-icon">texture<wbr/>Options</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="five.Five.html#videoTexture" class="tsd-kind-icon">video<wbr/>Texture</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><a href="five.Five.html#Line" class="tsd-kind-icon">Line</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><a href="five.Five.html#Mode" class="tsd-kind-icon">Mode</a></li><li class="tsd-kind-accessor tsd-parent-kind-class"><a href="five.Five.html#enableIOSEDR" class="tsd-kind-icon">enableIOSEDR</a></li><li class="tsd-kind-accessor tsd-parent-kind-class"><a href="five.Five.html#enablePostProcessing" class="tsd-kind-icon">enable<wbr/>Post<wbr/>Processing</a></li><li class="tsd-kind-accessor tsd-parent-kind-class"><a href="five.Five.html#helperVisible" class="tsd-kind-icon">helper<wbr/>Visible</a></li><li class="tsd-kind-get-signature tsd-parent-kind-class"><a href="five.Five.html#work" class="tsd-kind-icon">work</a></li><li class="tsd-kind-get-signature tsd-parent-kind-class tsd-is-static"><a href="five.Five.html#version" class="tsd-kind-icon">version</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#addExtraElement" class="tsd-kind-icon">add<wbr/>Extra<wbr/>Element</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#appendTo" class="tsd-kind-icon">append<wbr/>To</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#aroundScissor" class="tsd-kind-icon">around<wbr/>Scissor</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter"><a href="five.Five.html#changeMode" class="tsd-kind-icon">change<wbr/>Mode</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#dispose" class="tsd-kind-icon">dispose</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited"><a href="five.Five.html#emit" class="tsd-kind-icon">emit</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#exitFullscreen" class="tsd-kind-icon">exit<wbr/>Fullscreen</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#getCameraLocal" class="tsd-kind-icon">get<wbr/>Camera<wbr/>Local</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#getCurrentState" class="tsd-kind-icon">get<wbr/>Current<wbr/>State</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#getDrawingBufferSize" class="tsd-kind-icon">get<wbr/>Drawing<wbr/>Buffer<wbr/>Size</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#getElement" class="tsd-kind-icon">get<wbr/>Element</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#getGPUPicking" class="tsd-kind-icon">getGPUPicking</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#getLongitudeAndLatitude" class="tsd-kind-icon">get<wbr/>Longitude<wbr/>And<wbr/>Latitude</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#getOffset" class="tsd-kind-icon">get<wbr/>Offset</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#getPixels" class="tsd-kind-icon">get<wbr/>Pixels</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#getPose" class="tsd-kind-icon">get<wbr/>Pose</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#getRenderObjects" class="tsd-kind-icon">get<wbr/>Render<wbr/>Objects</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#getSize" class="tsd-kind-icon">get<wbr/>Size</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="five.Five.html#hasListener" class="tsd-kind-icon">has<wbr/>Listener</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#initBasisLoader" class="tsd-kind-icon">init<wbr/>Basis<wbr/>Loader</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#load" class="tsd-kind-icon">load</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#moveToPano" class="tsd-kind-icon">move<wbr/>To<wbr/>Pano</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited"><a href="five.Five.html#off" class="tsd-kind-icon">off</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited"><a href="five.Five.html#on" class="tsd-kind-icon">on</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited"><a href="five.Five.html#once" class="tsd-kind-icon">once</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#pause" class="tsd-kind-icon">pause</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#play" class="tsd-kind-icon">play</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#preloadPano" class="tsd-kind-icon">preload<wbr/>Pano</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#project2d" class="tsd-kind-icon">project2d</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#ready" class="tsd-kind-icon">ready</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#refresh" class="tsd-kind-icon">refresh</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#removeExtraElement" class="tsd-kind-icon">remove<wbr/>Extra<wbr/>Element</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#render" class="tsd-kind-icon">render</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#requestFullscreen" class="tsd-kind-icon">request<wbr/>Fullscreen</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#setScissor" class="tsd-kind-icon">set<wbr/>Scissor</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#setState" class="tsd-kind-icon">set<wbr/>State</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#updateCamera" class="tsd-kind-icon">update<wbr/>Camera</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#updateCameraWithKeyframes" class="tsd-kind-icon">update<wbr/>Camera<wbr/>With<wbr/>Keyframes</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#updateConfiguration" class="tsd-kind-icon">update<wbr/>Configuration</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#updateTime" class="tsd-kind-icon">update<wbr/>Time</a></li></ul></li></ul></nav></div></div></div><footer class=""><div class="container"><h2>Legend</h2><div class="tsd-legend-group"><ul class="tsd-legend"><li class="tsd-kind-namespace"><span class="tsd-kind-icon">Namespace</span></li><li class="tsd-kind-variable"><span class="tsd-kind-icon">Variable</span></li><li class="tsd-kind-function"><span class="tsd-kind-icon">Function</span></li><li class="tsd-kind-function tsd-has-type-parameter"><span class="tsd-kind-icon">Function with type parameter</span></li><li class="tsd-kind-type-alias"><span class="tsd-kind-icon">Type alias</span></li><li class="tsd-kind-type-alias tsd-has-type-parameter"><span class="tsd-kind-icon">Type alias with type parameter</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-class"><span class="tsd-kind-icon">Class</span></li><li class="tsd-kind-class tsd-has-type-parameter"><span class="tsd-kind-icon">Class with type parameter</span></li><li class="tsd-kind-constructor tsd-parent-kind-class"><span class="tsd-kind-icon">Constructor</span></li><li class="tsd-kind-property tsd-parent-kind-class"><span class="tsd-kind-icon">Property</span></li><li class="tsd-kind-method tsd-parent-kind-class"><span class="tsd-kind-icon">Method</span></li><li class="tsd-kind-accessor tsd-parent-kind-class"><span class="tsd-kind-icon">Accessor</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-interface"><span class="tsd-kind-icon">Interface</span></li><li class="tsd-kind-interface tsd-has-type-parameter"><span class="tsd-kind-icon">Interface with type parameter</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited method</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static property</span></li></ul></div><h2>Settings</h2><p>Theme <select id="theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></p></div></footer><div class="overlay"></div><script src="../assets/main.js"></script></body></html>
|
|
340
|
+
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="updateConfiguration" class="tsd-anchor"></a><h3 class="tsd-anchor-link">update<wbr/>Configuration<a href="#updateConfiguration" 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-class"><li class="tsd-signature tsd-kind-icon">update<wbr/>Configuration<span class="tsd-signature-symbol">(</span>args<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Pick</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/five.FiveInitArgs.html" class="tsd-signature-type" data-tsd-kind="Interface">FiveInitArgs</a><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">"panorama"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"model"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"imageOptions"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"floorplan"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"topview"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"mapview"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"depthPanorama"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"vrPanorama"</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"><ul><li>Defined in lib/five/application/five.ts:670</li></ul></aside><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>args: <span class="tsd-signature-type">Pick</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/five.FiveInitArgs.html" class="tsd-signature-type" data-tsd-kind="Interface">FiveInitArgs</a><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">"panorama"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"model"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"imageOptions"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"floorplan"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"topview"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"mapview"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"depthPanorama"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"vrPanorama"</span><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-class"><a id="updateTime" class="tsd-anchor"></a><h3 class="tsd-anchor-link">update<wbr/>Time<a href="#updateTime" 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-class"><li class="tsd-signature tsd-kind-icon">update<wbr/>Time<span class="tsd-signature-symbol">(</span>time<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, deltaTime<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, <span class="tsd-signature-symbol">...</span>args<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:1399</li></ul></aside><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>time: <span class="tsd-signature-type">number</span></h5></li><li><h5>deltaTime: <span class="tsd-signature-type">number</span></h5></li><li><h5><span class="tsd-flag ts-flagRest">Rest</span> <span class="tsd-signature-symbol">...</span>args: <span class="tsd-signature-type">any</span><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></div><div class="col-4 col-menu menu-sticky-wrap menu-highlight"><nav class="tsd-navigation primary"><ul><li class=""><a href="../modules.html">Modules</a></li><li class="current tsd-kind-module"><a href="../modules/five.html">five</a><ul><li class=" tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/five.SubscribeMixinType.html">Subscribe<wbr/>Mixin<wbr/>Type</a></li></ul></li><li class=" tsd-kind-module"><a href="../modules/gltf_loader.html">gltf-<wbr/>loader</a></li><li class=" tsd-kind-module"><a href="../modules/line.html">line</a></li><li class=" tsd-kind-module"><a href="../modules/react.html">react</a></li><li class=" tsd-kind-module"><a href="../modules/server.html">server</a></li><li class=" tsd-kind-module"><a href="../modules/sticker.html">sticker</a></li><li class=" tsd-kind-module"><a href="../modules/vfx.html">vfx</a></li><li class=" tsd-kind-module"><a href="../modules/vue.html">vue</a></li></ul></nav><nav class="tsd-navigation secondary menu-sticky"><ul><li class="current tsd-kind-class tsd-parent-kind-module"><a href="five.Five.html" class="tsd-kind-icon">Five</a><ul><li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite"><a href="five.Five.html#constructor" class="tsd-kind-icon">constructor</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="five.Five.html#boundingMesh" class="tsd-kind-icon">bounding<wbr/>Mesh</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="five.Five.html#camera" class="tsd-kind-icon">camera</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="five.Five.html#currentMode" class="tsd-kind-icon">current<wbr/>Mode</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="five.Five.html#ident" class="tsd-kind-icon">ident</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="five.Five.html#imageOptions" class="tsd-kind-icon">image<wbr/>Options</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="five.Five.html#model" class="tsd-kind-icon">model</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="five.Five.html#needsRender" class="tsd-kind-icon">needs<wbr/>Render</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="five.Five.html#panoIndex" class="tsd-kind-icon">pano<wbr/>Index</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="five.Five.html#parallaxScene" class="tsd-kind-icon">parallax<wbr/>Scene</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="five.Five.html#paused" class="tsd-kind-icon">paused</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="five.Five.html#plugins" class="tsd-kind-icon">plugins</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="five.Five.html#renderer" class="tsd-kind-icon">renderer</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="five.Five.html#scene" class="tsd-kind-icon">scene</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="five.Five.html#scissor" class="tsd-kind-icon">scissor</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="five.Five.html#state" class="tsd-kind-icon">state</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="five.Five.html#textureOptions" class="tsd-kind-icon">texture<wbr/>Options</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="five.Five.html#videoTexture" class="tsd-kind-icon">video<wbr/>Texture</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><a href="five.Five.html#Line" class="tsd-kind-icon">Line</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><a href="five.Five.html#Mode" class="tsd-kind-icon">Mode</a></li><li class="tsd-kind-accessor tsd-parent-kind-class"><a href="five.Five.html#enableIOSEDR" class="tsd-kind-icon">enableIOSEDR</a></li><li class="tsd-kind-accessor tsd-parent-kind-class"><a href="five.Five.html#enablePostProcessing" class="tsd-kind-icon">enable<wbr/>Post<wbr/>Processing</a></li><li class="tsd-kind-accessor tsd-parent-kind-class"><a href="five.Five.html#helperVisible" class="tsd-kind-icon">helper<wbr/>Visible</a></li><li class="tsd-kind-get-signature tsd-parent-kind-class"><a href="five.Five.html#work" class="tsd-kind-icon">work</a></li><li class="tsd-kind-get-signature tsd-parent-kind-class tsd-is-static"><a href="five.Five.html#version" class="tsd-kind-icon">version</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#addExtraElement" class="tsd-kind-icon">add<wbr/>Extra<wbr/>Element</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#appendTo" class="tsd-kind-icon">append<wbr/>To</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#aroundScissor" class="tsd-kind-icon">around<wbr/>Scissor</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter"><a href="five.Five.html#changeMode" class="tsd-kind-icon">change<wbr/>Mode</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#dispose" class="tsd-kind-icon">dispose</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited"><a href="five.Five.html#emit" class="tsd-kind-icon">emit</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#exitFullscreen" class="tsd-kind-icon">exit<wbr/>Fullscreen</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#getCameraLocal" class="tsd-kind-icon">get<wbr/>Camera<wbr/>Local</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#getCurrentState" class="tsd-kind-icon">get<wbr/>Current<wbr/>State</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#getDrawingBufferSize" class="tsd-kind-icon">get<wbr/>Drawing<wbr/>Buffer<wbr/>Size</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#getElement" class="tsd-kind-icon">get<wbr/>Element</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#getGPUPicking" class="tsd-kind-icon">getGPUPicking</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#getLongitudeAndLatitude" class="tsd-kind-icon">get<wbr/>Longitude<wbr/>And<wbr/>Latitude</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#getOffset" class="tsd-kind-icon">get<wbr/>Offset</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#getPixels" class="tsd-kind-icon">get<wbr/>Pixels</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#getPose" class="tsd-kind-icon">get<wbr/>Pose</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#getRenderObjects" class="tsd-kind-icon">get<wbr/>Render<wbr/>Objects</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#getSize" class="tsd-kind-icon">get<wbr/>Size</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="five.Five.html#hasListener" class="tsd-kind-icon">has<wbr/>Listener</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#initBasisLoader" class="tsd-kind-icon">init<wbr/>Basis<wbr/>Loader</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#load" class="tsd-kind-icon">load</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#moveToPano" class="tsd-kind-icon">move<wbr/>To<wbr/>Pano</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited"><a href="five.Five.html#off" class="tsd-kind-icon">off</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited"><a href="five.Five.html#on" class="tsd-kind-icon">on</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited"><a href="five.Five.html#once" class="tsd-kind-icon">once</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#pause" class="tsd-kind-icon">pause</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#play" class="tsd-kind-icon">play</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#preloadPano" class="tsd-kind-icon">preload<wbr/>Pano</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#project2d" class="tsd-kind-icon">project2d</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#ready" class="tsd-kind-icon">ready</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#refresh" class="tsd-kind-icon">refresh</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#removeExtraElement" class="tsd-kind-icon">remove<wbr/>Extra<wbr/>Element</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#render" class="tsd-kind-icon">render</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#requestFullscreen" class="tsd-kind-icon">request<wbr/>Fullscreen</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#setScissor" class="tsd-kind-icon">set<wbr/>Scissor</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#setState" class="tsd-kind-icon">set<wbr/>State</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#updateCamera" class="tsd-kind-icon">update<wbr/>Camera</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#updateCameraWithKeyframes" class="tsd-kind-icon">update<wbr/>Camera<wbr/>With<wbr/>Keyframes</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#updateConfiguration" class="tsd-kind-icon">update<wbr/>Configuration</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="five.Five.html#updateTime" class="tsd-kind-icon">update<wbr/>Time</a></li></ul></li></ul></nav></div></div></div><footer class=""><div class="container"><h2>Legend</h2><div class="tsd-legend-group"><ul class="tsd-legend"><li class="tsd-kind-namespace"><span class="tsd-kind-icon">Namespace</span></li><li class="tsd-kind-variable"><span class="tsd-kind-icon">Variable</span></li><li class="tsd-kind-function"><span class="tsd-kind-icon">Function</span></li><li class="tsd-kind-function tsd-has-type-parameter"><span class="tsd-kind-icon">Function with type parameter</span></li><li class="tsd-kind-type-alias"><span class="tsd-kind-icon">Type alias</span></li><li class="tsd-kind-type-alias tsd-has-type-parameter"><span class="tsd-kind-icon">Type alias with type parameter</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-class"><span class="tsd-kind-icon">Class</span></li><li class="tsd-kind-class tsd-has-type-parameter"><span class="tsd-kind-icon">Class with type parameter</span></li><li class="tsd-kind-constructor tsd-parent-kind-class"><span class="tsd-kind-icon">Constructor</span></li><li class="tsd-kind-property tsd-parent-kind-class"><span class="tsd-kind-icon">Property</span></li><li class="tsd-kind-method tsd-parent-kind-class"><span class="tsd-kind-icon">Method</span></li><li class="tsd-kind-accessor tsd-parent-kind-class"><span class="tsd-kind-icon">Accessor</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-interface"><span class="tsd-kind-icon">Interface</span></li><li class="tsd-kind-interface tsd-has-type-parameter"><span class="tsd-kind-icon">Interface with type parameter</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited method</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static property</span></li></ul></div><h2>Settings</h2><p>Theme <select id="theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></p></div></footer><div class="overlay"></div><script src="../assets/main.js"></script></body></html>
|