@realsee/five 6.5.0-alpha.8 → 6.5.0
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/navigation.js +1 -1
- package/docs/assets/search.js +1 -1
- package/docs/classes/five.Five.html +63 -56
- package/docs/classes/five.InternalWebGLRenderer.html +1 -1
- package/docs/classes/five.Model.html +32 -29
- package/docs/classes/five.PBMContainer.html +15 -2
- package/docs/classes/five.PBMMeshMaterial.html +6 -5
- package/docs/classes/five.PBMPointCloudMaterial.html +5 -4
- package/docs/classes/five.Parameter.html +53 -54
- package/docs/classes/five.Tile.html +1 -2
- package/docs/classes/five.Tile3DModel.html +22 -25
- package/docs/classes/plugins-1.ItemMaskController.html +1 -1
- package/docs/functions/five.createDebugBoundingMesh.html +1 -0
- package/docs/functions/five.isBoundingVolume.html +1 -0
- package/docs/functions/five.makeBoundingVolume.html +1 -0
- package/docs/interfaces/five.FiveInitArgs.html +2 -2
- package/docs/interfaces/five.PBMMeshMaterialParameters.html +3 -2
- package/docs/interfaces/five.PBMPointCloudMaterialParameters.html +3 -2
- package/docs/interfaces/five.PanoramaControllerCustomInitArgs.html +10 -12
- package/docs/interfaces/five.ParameterMaterialValue.html +37 -37
- package/docs/interfaces/five.ParameterTilesetValue.html +16 -17
- package/docs/interfaces/five.ParameterValue.html +52 -53
- package/docs/interfaces/five.ResolvedParameterValue.html +52 -53
- package/docs/interfaces/five.VRPanoramaControllerCustomInitArgs.html +10 -12
- package/docs/interfaces/five.ViewLayer.html +22 -25
- package/docs/interfaces/five.XRPanoramaControllerCustomInitArgs.html +10 -12
- package/docs/interfaces/plugins-1.ItemMaskPluginType.State.html +2 -2
- package/docs/modules/five.html +7 -3
- package/docs/types/five.Tile3dOptions.html +1 -1
- package/docs/types/five.TileRequestOrder.html +1 -1
- package/docs/types/five.TilesetFrameState.html +1 -1
- package/docs/types/react.FiveProviderType.html +1 -1
- package/five/index.d.ts +58 -37
- package/five/index.js +160 -145
- package/five/index.mjs +4704 -4506
- package/gltf-loader/index.js +3 -3
- package/gltf-loader/index.mjs +146 -146
- package/line/index.js +3 -3
- package/line/index.mjs +10 -10
- package/package.json +1 -1
- package/plugins/index.js +2 -2
- package/plugins/index.mjs +2 -2
- package/react/index.js +3 -3
- package/react/index.mjs +101 -103
- package/shader-lib/index.js +2 -2
- package/shader-lib/index.mjs +2 -2
- package/sticker/index.js +3 -3
- package/sticker/index.mjs +7 -7
- package/umd/five-gltf-loader.js +3 -3
- package/umd/five-line.js +3 -3
- package/umd/five-plugins.js +2 -2
- package/umd/five-react.js +3 -3
- package/umd/five-shader-lib.js +2 -2
- package/umd/five-sticker.js +3 -3
- package/umd/five-vfx.js +2 -2
- package/umd/five-vue.js +2 -2
- package/umd/five.js +160 -145
- package/vfx/index.js +2 -2
- package/vfx/index.mjs +2 -2
- package/vue/index.js +2 -2
- package/vue/index.mjs +2 -2
- package/work-downloader/index.js +2 -2
- package/work-downloader/index.mjs +2 -2
- package/docs/types/five.TileDebug.html +0 -1
|
@@ -2,8 +2,10 @@
|
|
|
2
2
|
</div><div class="tsd-comment tsd-typography"><h4 class="tsd-anchor-link"><a id="Example" class="tsd-anchor"></a>Example<a href="#Example" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><pre><code><span class="hl-5">// 初始化构造函数</span><br/><span class="hl-6">const</span><span class="hl-1"> </span><span class="hl-7">five</span><span class="hl-1"> = </span><span class="hl-6">new</span><span class="hl-1"> </span><span class="hl-0">Five</span><span class="hl-1">();</span><br/><span class="hl-5">// 将绘制区域添加到页面上</span><br/><span class="hl-4">five</span><span class="hl-1">.</span><span class="hl-0">appendTo</span><span class="hl-1">(</span><span class="hl-4">document</span><span class="hl-1">.</span><span class="hl-4">body</span><span class="hl-1">);</span><br/><span class="hl-5">// 加载 Work 数据</span><br/><span class="hl-4">five</span><span class="hl-1">.</span><span class="hl-0">load</span><span class="hl-1">({...});</span>
|
|
3
3
|
</code><button>Copy</button></pre>
|
|
4
4
|
|
|
5
|
-
</div></section><section class="tsd-panel tsd-hierarchy"><h4>Hierarchy (<a href="../hierarchy.html#five.Five">view full</a>)</h4><ul class="tsd-hierarchy"><li><a href="five.Subscribe.html" class="tsd-signature-type tsd-kind-class">Subscribe</a><span class="tsd-signature-symbol"><</span><a href="../types/five.EventTypes.html" class="tsd-signature-type tsd-kind-type-alias">EventTypes</a><span class="tsd-signature-symbol">></span><ul class="tsd-hierarchy"><li><span class="target">Five</span></li></ul></li></ul></section><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
6
|
-
</div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Properties</h3><div class="tsd-index-list"><a href="five.Five.html#
|
|
5
|
+
</div></section><section class="tsd-panel tsd-hierarchy"><h4>Hierarchy (<a href="../hierarchy.html#five.Five">view full</a>)</h4><ul class="tsd-hierarchy"><li><a href="five.Subscribe.html" class="tsd-signature-type tsd-kind-class">Subscribe</a><span class="tsd-signature-symbol"><</span><a href="../types/five.EventTypes.html" class="tsd-signature-type tsd-kind-type-alias">EventTypes</a><span class="tsd-signature-symbol">></span><ul class="tsd-hierarchy"><li><span class="target">Five</span></li></ul></li></ul></section><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:95</li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><h5 class="tsd-index-heading uppercase" role="button" aria-expanded="false" tabIndex="0"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-chevronSmall"></use></svg> Index</h5></summary><div class="tsd-accordion-details"><section class="tsd-index-section"><h3 class="tsd-index-heading">Constructors</h3><div class="tsd-index-list"><a href="five.Five.html#constructor" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a>
|
|
6
|
+
</div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Properties</h3><div class="tsd-index-list"><a href="five.Five.html#backgroundAlpha" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>background<wbr/>Alpha</span></a>
|
|
7
|
+
<a href="five.Five.html#backgroundColor" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>background<wbr/>Color</span></a>
|
|
8
|
+
<a href="five.Five.html#camera" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>camera</span></a>
|
|
7
9
|
<a href="five.Five.html#currentMode" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>current<wbr/>Mode</span></a>
|
|
8
10
|
<a href="five.Five.html#enableLayeringRendering" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>enable<wbr/>Layering<wbr/>Rendering</span></a>
|
|
9
11
|
<a href="five.Five.html#ident" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>ident</span></a>
|
|
@@ -15,6 +17,7 @@
|
|
|
15
17
|
<a href="five.Five.html#pano" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>pano</span></a>
|
|
16
18
|
<a href="five.Five.html#paused" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>paused</span></a>
|
|
17
19
|
<a href="five.Five.html#plugins" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>plugins</span></a>
|
|
20
|
+
<a href="five.Five.html#poweredByRealsee" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>powered<wbr/>By<wbr/>Realsee</span></a>
|
|
18
21
|
<a href="five.Five.html#renderer" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>renderer?</span></a>
|
|
19
22
|
<a href="five.Five.html#scene" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>scene</span></a>
|
|
20
23
|
<a href="five.Five.html#state" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>state</span></a>
|
|
@@ -80,27 +83,30 @@
|
|
|
80
83
|
<a href="five.Five.html#updateConfiguration" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>update<wbr/>Configuration</span></a>
|
|
81
84
|
<a href="five.Five.html#updateTime" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>update<wbr/>Time</span></a>
|
|
82
85
|
<a href="five.Five.html#waitUntil" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>wait<wbr/>Until</span></a>
|
|
83
|
-
</div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Constructors"><h2><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg> Constructors</h2></summary><section><section class="tsd-panel tsd-member"><a id="constructor" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>constructor</span><a href="#constructor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="constructor.new_Five" class="tsd-anchor"></a><span class="tsd-kind-constructor-signature">new <wbr/>Five</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">initArgs</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="five.Five.html" class="tsd-signature-type tsd-kind-class">Five</a><a href="#constructor.new_Five" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">initArgs</span>: <a href="../interfaces/five.FiveInitArgs.html" class="tsd-signature-type tsd-kind-interface">FiveInitArgs</a><span class="tsd-signature-symbol"> = {}</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <a href="five.Five.html" class="tsd-signature-type tsd-kind-class">Five</a></h4><aside class="tsd-sources"><p>Overrides <a href="five.Subscribe.html">Subscribe</a>.<a href="five.Subscribe.html#constructor">constructor</a></p><ul><li>Defined in lib/five/application/five.ts:
|
|
84
|
-
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
85
|
-
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
86
|
+
</div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Constructors"><h2><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg> Constructors</h2></summary><section><section class="tsd-panel tsd-member"><a id="constructor" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>constructor</span><a href="#constructor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="constructor.new_Five" class="tsd-anchor"></a><span class="tsd-kind-constructor-signature">new <wbr/>Five</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">initArgs</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="five.Five.html" class="tsd-signature-type tsd-kind-class">Five</a><a href="#constructor.new_Five" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">initArgs</span>: <a href="../interfaces/five.FiveInitArgs.html" class="tsd-signature-type tsd-kind-interface">FiveInitArgs</a><span class="tsd-signature-symbol"> = {}</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <a href="five.Five.html" class="tsd-signature-type tsd-kind-class">Five</a></h4><aside class="tsd-sources"><p>Overrides <a href="five.Subscribe.html">Subscribe</a>.<a href="five.Subscribe.html#constructor">constructor</a></p><ul><li>Defined in lib/five/application/five.ts:296</li></ul></aside></li></ul></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Properties"><h2><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg> Properties</h2></summary><section><section class="tsd-panel tsd-member"><a id="backgroundAlpha" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>background<wbr/>Alpha</span><a href="#backgroundAlpha" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">background<wbr/>Alpha</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><div class="tsd-comment tsd-typography"><p>背景透明度</p>
|
|
87
|
+
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:212</li></ul></aside></section><section class="tsd-panel tsd-member"><a id="backgroundColor" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>background<wbr/>Color</span><a href="#backgroundColor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">background<wbr/>Color</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Color</span></div><div class="tsd-comment tsd-typography"><p>背景颜色</p>
|
|
88
|
+
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:209</li></ul></aside></section><section class="tsd-panel tsd-member"><a id="camera" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>camera</span><a href="#camera" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">camera</span><span class="tsd-signature-symbol">:</span> <a href="five.Camera.html" class="tsd-signature-type tsd-kind-class">Camera</a></div><div class="tsd-comment tsd-typography"><p>内部使用的 <code>Camera</code></p>
|
|
89
|
+
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:162</li></ul></aside></section><section class="tsd-panel tsd-member"><a id="currentMode" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>current<wbr/>Mode</span><a href="#currentMode" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">current<wbr/>Mode</span><span class="tsd-signature-symbol">:</span> <a href="../types/five.Mode.html" class="tsd-signature-type tsd-kind-type-alias">Mode</a></div><div class="tsd-comment tsd-typography"><p>当前展示的模式</p>
|
|
90
|
+
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:151</li></ul></aside></section><section class="tsd-panel tsd-member"><a id="enableLayeringRendering" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>enable<wbr/>Layering<wbr/>Rendering</span><a href="#enableLayeringRendering" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">enable<wbr/>Layering<wbr/>Rendering</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:291</li></ul></aside></section><section class="tsd-panel tsd-member"><a id="ident" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>ident</span><a href="#ident" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">ident</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:261</li></ul></aside></section><section class="tsd-panel tsd-member"><a id="imageOptions" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>image<wbr/>Options</span><a href="#imageOptions" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">image<wbr/>Options</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/five.ImageOptions.html" class="tsd-signature-type tsd-kind-interface">ImageOptions</a></div><div class="tsd-comment tsd-typography"><p>全景图的配置参数</p>
|
|
86
91
|
</div><div class="tsd-comment tsd-typography"><h4 class="tsd-anchor-link"><a id="Description" class="tsd-anchor"></a>Description<a href="#Description" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>可以动态对配置在 <code>work</code> 数据中的全景图片在 runtime 做 url 调整。
|
|
87
92
|
平衡加载时间和图片质量</p>
|
|
88
|
-
</div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
89
|
-
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
93
|
+
</div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:220</li></ul></aside></section><section class="tsd-panel tsd-member"><a id="modelScene" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>model<wbr/>Scene</span><a href="#modelScene" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">model<wbr/>Scene</span><span class="tsd-signature-symbol">:</span> <a href="five.ModelScene.html" class="tsd-signature-type tsd-kind-class">ModelScene</a></div><div class="tsd-comment tsd-typography"><p>内部模型部分使用的 <code>THREE.Scene</code></p>
|
|
94
|
+
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:156</li></ul></aside></section><section class="tsd-panel tsd-member"><a id="modelSceneNeedsRender" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>model<wbr/>Scene<wbr/>Needs<wbr/>Render</span><a href="#modelSceneNeedsRender" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">model<wbr/>Scene<wbr/>Needs<wbr/>Render</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><div class="tsd-comment tsd-typography"><p>模型是否需要更新渲染</p>
|
|
90
95
|
</div><div class="tsd-comment tsd-typography"><h4 class="tsd-anchor-link"><a id="Description-1" class="tsd-anchor"></a>Description<a href="#Description-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>可以设置modelNeedsRender为true,通知five进行模型渲染的更新</p>
|
|
91
|
-
</div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
96
|
+
</div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:203</li></ul></aside></section><section class="tsd-panel tsd-member"><a id="needsRender" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>needs<wbr/>Render</span><a href="#needsRender" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">needs<wbr/>Render</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><div class="tsd-comment tsd-typography"><p>是否需要渲染</p>
|
|
92
97
|
</div><div class="tsd-comment tsd-typography"><h4 class="tsd-anchor-link"><a id="Description-2" class="tsd-anchor"></a>Description<a href="#Description-2" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>如果初始化设置了 <code>onlyRenderIfNeeds: true</code>, 则会激活按需渲染
|
|
93
98
|
可以通过设置 <code>five.needsRender = true</code> 来告知,five 会在下一帧渲染画面。</p>
|
|
94
|
-
</div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
95
|
-
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
96
|
-
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
99
|
+
</div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:191</li></ul></aside></section><section class="tsd-panel tsd-member"><a id="onlyRenderIfNeeds" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>only<wbr/>Render<wbr/>If<wbr/>Needs</span><a href="#onlyRenderIfNeeds" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">only<wbr/>Render<wbr/>If<wbr/>Needs</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><div class="tsd-comment tsd-typography"><p>是否按需渲染</p>
|
|
100
|
+
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:196</li></ul></aside></section><section class="tsd-panel tsd-member"><a id="pano" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>pano</span><a href="#pano" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">pano</span><span class="tsd-signature-symbol">:</span> <a href="../types/five.Pano.html" class="tsd-signature-type tsd-kind-type-alias">Pano</a></div><div class="tsd-comment tsd-typography"><p>当前点位序号</p>
|
|
101
|
+
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:148</li></ul></aside></section><section class="tsd-panel tsd-member"><a id="paused" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>paused</span><a href="#paused" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">paused</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><div class="tsd-comment tsd-typography"><p>自动播放状态是否暂停</p>
|
|
97
102
|
</div><div class="tsd-comment tsd-typography"><h4 class="tsd-anchor-link"><a id="Description-3" class="tsd-anchor"></a>Description<a href="#Description-3" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>可以通过 <code>five.play</code> <code>five.pause</code> 方法播放或暂停</p>
|
|
98
|
-
</div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
99
|
-
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
103
|
+
</div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:145</li></ul></aside></section><section class="tsd-panel tsd-member"><a id="plugins" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>plugins</span><a href="#plugins" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">plugins</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span><br/><span> </span>[<span class="tsd-kind-index-signature">key</span>: <span class="tsd-signature-type">string</span>]<span class="tsd-signature-symbol">: </span><a href="../types/five.FivePluginInstance.html" class="tsd-signature-type 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><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span></div><div class="tsd-comment tsd-typography"><p>插件暴露的方法</p>
|
|
104
|
+
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:259</li></ul></aside></section><section class="tsd-panel tsd-member"><a id="poweredByRealsee" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>powered<wbr/>By<wbr/>Realsee</span><a href="#poweredByRealsee" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">powered<wbr/>By<wbr/>Realsee</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><div class="tsd-comment tsd-typography"><p>是否显示 Powered By Realsee</p>
|
|
105
|
+
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:206</li></ul></aside></section><section class="tsd-panel tsd-member"><a id="renderer" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Optional</code><span>renderer</span><a href="#renderer" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">renderer</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">WebGLRenderer</span></div><div class="tsd-comment tsd-typography"><p>当前使用的 THREE.WebGLRenderer。</p>
|
|
100
106
|
</div><div class="tsd-comment tsd-typography"><h4 class="tsd-anchor-link"><a id="Description-4" class="tsd-anchor"></a>Description<a href="#Description-4" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>如果初始化时传入了 <code>renderer</code> 则直接时该值
|
|
101
107
|
否则会通过 <code>preserveDrawingBuffer</code> <code>backgroundColor</code> <code>backgroundAlpha</code> <code>antialias</code> 创建一个 <code>THREE.WebGLRenderer</code></p>
|
|
102
|
-
</div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
103
|
-
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
108
|
+
</div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:183</li></ul></aside></section><section class="tsd-panel tsd-member"><a id="scene" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>scene</span><a href="#scene" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">scene</span><span class="tsd-signature-symbol">:</span> <a href="five.Scene.html" class="tsd-signature-type tsd-kind-class">Scene</a></div><div class="tsd-comment tsd-typography"><p>非模型部分使用的 <code>THREE.Scene</code></p>
|
|
109
|
+
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:154</li></ul></aside></section><section class="tsd-panel tsd-member"><a id="state" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>state</span><a href="#state" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">state</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/five.State.html" class="tsd-signature-type tsd-kind-interface">State</a></div><div class="tsd-comment tsd-typography"><p>当前状态</p>
|
|
104
110
|
</div><div class="tsd-comment tsd-typography"><h4 class="tsd-anchor-link"><a id="Description-5" class="tsd-anchor"></a>Description<a href="#Description-5" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><pre><code class="text">five 设置了以下状态
|
|
105
111
|
|
|
106
112
|
- mode: Mode
|
|
@@ -115,21 +121,21 @@
|
|
|
115
121
|
来迎合一些通过数据驱动的场景。
|
|
116
122
|
</code><button type="button">Copy</button></pre>
|
|
117
123
|
|
|
118
|
-
</div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
124
|
+
</div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:256</li></ul></aside></section><section class="tsd-panel tsd-member"><a id="textureOptions" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>texture<wbr/>Options</span><a href="#textureOptions" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">texture<wbr/>Options</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/five.TextureOptions.html" class="tsd-signature-type tsd-kind-interface">TextureOptions</a></div><div class="tsd-comment tsd-typography"><p>模型贴图的配置参数</p>
|
|
119
125
|
</div><div class="tsd-comment tsd-typography"><h4 class="tsd-anchor-link"><a id="Description-6" class="tsd-anchor"></a>Description<a href="#Description-6" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>可以动态对配置在 <code>work</code> 数据中的模型贴图在 runtime 做 url 调整。
|
|
120
126
|
平衡加载时间和图片质量</p>
|
|
121
|
-
</div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
127
|
+
</div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:228</li></ul></aside></section><section class="tsd-panel tsd-member"><a id="videoTexture" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>video<wbr/>Texture</span><a href="#videoTexture" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">video<wbr/>Texture</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">VideoTexture</span></div><div class="tsd-comment tsd-typography"><p>模型贴图的配置参数</p>
|
|
122
128
|
</div><div class="tsd-comment tsd-typography"><h4 class="tsd-anchor-link"><a id="Description-7" class="tsd-anchor"></a>Description<a href="#Description-7" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>可以动态对配置在 <code>work</code> 数据中的模型贴图在 runtime 做 url 调整。
|
|
123
129
|
平衡加载时间和图片质量</p>
|
|
124
|
-
</div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
130
|
+
</div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:236</li></ul></aside></section><section class="tsd-panel tsd-member"><a id="viewport" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>viewport</span><a href="#viewport" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">viewport</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/five.Viewport.html" class="tsd-signature-type tsd-kind-interface">Viewport</a></div><div class="tsd-comment tsd-typography"><p>当前设置的 <code>viewport</code></p>
|
|
125
131
|
</div><div class="tsd-comment tsd-typography"><h4 class="tsd-anchor-link"><a id="Description-8" class="tsd-anchor"></a>Description<a href="#Description-8" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>可通过初始化,或者 setScissor 方式设置
|
|
126
132
|
<code>viewport</code> 是将屏幕中的内容渲染到 <code>renderer</code> 的指定区域。
|
|
127
133
|
页面整体长宽均为 <code>1</code>。通过类似 css 的 <code>left</code> <code>bottom</code> <code>width</code> <code>height</code> 来确定区域。</p>
|
|
128
134
|
<h4 class="tsd-anchor-link"><a id="Example-1" class="tsd-anchor"></a>Example<a href="#Example-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><pre><code><span class="hl-15">viewport</span><span class="hl-1">: { </span><span class="hl-15">left</span><span class="hl-1">: </span><span class="hl-13">0.75</span><span class="hl-1">, </span><span class="hl-15">bottom</span><span class="hl-1">: </span><span class="hl-13">0</span><span class="hl-1">, </span><span class="hl-15">width</span><span class="hl-1">: </span><span class="hl-13">0.25</span><span class="hl-1">, </span><span class="hl-15">height</span><span class="hl-1">: </span><span class="hl-13">1</span><span class="hl-1"> }</span>
|
|
129
135
|
</code><button>Copy</button></pre>
|
|
130
136
|
|
|
131
|
-
</div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
132
|
-
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
137
|
+
</div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:175</li></ul></aside></section><section class="tsd-panel tsd-member"><a id="xrCustomObjectsScene" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>xr<wbr/>Custom<wbr/>Objects<wbr/>Scene</span><a href="#xrCustomObjectsScene" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">xr<wbr/>Custom<wbr/>Objects<wbr/>Scene</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Scene</span></div><div class="tsd-comment tsd-typography"><p>供外部放置需要在xr场景下产生遮挡的物体们</p>
|
|
138
|
+
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:159</li></ul></aside></section><section class="tsd-panel tsd-member"><a id="Mode" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Static</code><span>Mode</span><a href="#Mode" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">Mode</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span><br/><span> </span><span class="tsd-kind-property">Floorplan</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"Floorplan"</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-kind-property">Mapview</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"Mapview"</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-kind-property">Model</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"Model"</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-kind-property">Panorama</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"Panorama"</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-kind-property">Topview</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"Topview"</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-kind-property">VRPanorama</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"VRPanorama"</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-kind-property">XRPanorama</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"XRPanorama"</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol"> = ...</span></div><div class="tsd-comment tsd-typography"><p>Five 的显示模式,可以通过 <code>five.changeMode</code> <code>five.setState</code> 来切换</p>
|
|
133
139
|
</div><div class="tsd-comment tsd-typography"><h4 class="tsd-anchor-link"><a id="Description-9" class="tsd-anchor"></a>Description<a href="#Description-9" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><pre><code class="text">Panorama 全景图游走模式
|
|
134
140
|
Model 模型游走模式
|
|
135
141
|
Floorplan 模型查看模式
|
|
@@ -138,42 +144,43 @@ VRPanorama VR眼镜模式
|
|
|
138
144
|
XRPanorama VR硬件模式
|
|
139
145
|
</code><button type="button">Copy</button></pre>
|
|
140
146
|
|
|
141
|
-
</div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
142
|
-
</div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
143
|
-
</div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
144
|
-
</div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
145
|
-
</div><
|
|
146
|
-
</div><h4 class="tsd-returns-title">Returns <
|
|
147
|
-
</div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
148
|
-
</div><
|
|
147
|
+
</div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:130</li></ul></aside></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Accessors"><h2><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg> Accessors</h2></summary><section><section class="tsd-panel tsd-member"><a id="enableEDL" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>enableEDL</span><a href="#enableEDL" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature" id="enableEDL.enableEDL-1"><span class="tsd-signature-keyword">get</span> enableEDL<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li><li class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><div class="tsd-comment tsd-typography"><h4 class="tsd-anchor-link"><a id="Deprecated" class="tsd-anchor"></a>Deprecated<a href="#Deprecated" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>use five.effect instead</p>
|
|
148
|
+
</div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:2841</li></ul></aside></li><li class="tsd-signature" id="enableEDL.enableEDL-2"><span class="tsd-signature-keyword">set</span> enableEDL<span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">enable</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">enable</span>: <span class="tsd-signature-type">boolean</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:2844</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="enableHQ" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>enableHQ</span><a href="#enableHQ" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature" id="enableHQ.enableHQ-1"><span class="tsd-signature-keyword">get</span> enableHQ<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li><li class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><div class="tsd-comment tsd-typography"><h4 class="tsd-anchor-link"><a id="Deprecated-1" class="tsd-anchor"></a>Deprecated<a href="#Deprecated-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>use five.effect instead</p>
|
|
149
|
+
</div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:2852</li></ul></aside></li><li class="tsd-signature" id="enableHQ.enableHQ-2"><span class="tsd-signature-keyword">set</span> enableHQ<span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">enable</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">enable</span>: <span class="tsd-signature-type">boolean</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:2855</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="enableIOSEDR" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>enableIOSEDR</span><a href="#enableIOSEDR" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature" id="enableIOSEDR.enableIOSEDR-1"><span class="tsd-signature-keyword">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-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><div class="tsd-comment tsd-typography"><h4 class="tsd-anchor-link"><a id="Deprecated-2" class="tsd-anchor"></a>Deprecated<a href="#Deprecated-2" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>use five.effect instead</p>
|
|
150
|
+
</div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:2831</li></ul></aside></li><li class="tsd-signature" id="enableIOSEDR.enableIOSEDR-2"><span class="tsd-signature-keyword">set</span> enableIOSEDR<span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">enable</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">enable</span>: <span class="tsd-signature-type">boolean</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:2834</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="enablePostProcessing" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>enable<wbr/>Post<wbr/>Processing</span><a href="#enablePostProcessing" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature" id="enablePostProcessing.enablePostProcessing-1"><span class="tsd-signature-keyword">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-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><div class="tsd-comment tsd-typography"><h4 class="tsd-anchor-link"><a id="Deprecated-3" class="tsd-anchor"></a>Deprecated<a href="#Deprecated-3" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>use five.effect instead</p>
|
|
151
|
+
</div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:2863</li></ul></aside></li><li class="tsd-signature" id="enablePostProcessing.enablePostProcessing-2"><span class="tsd-signature-keyword">set</span> enablePostProcessing<span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">enable</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">enable</span>: <span class="tsd-signature-type">boolean</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:2866</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="helperVisible" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>helper<wbr/>Visible</span><a href="#helperVisible" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature" id="helperVisible.helperVisible-1"><span class="tsd-signature-keyword">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-description"><div class="tsd-comment tsd-typography"><p>帮助元素显示/隐藏</p>
|
|
152
|
+
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:621</li></ul></aside></li><li class="tsd-signature" id="helperVisible.helperVisible-2"><span class="tsd-signature-keyword">set</span> helperVisible<span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">visible</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">visible</span>: <span class="tsd-signature-type">boolean</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:624</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="internalLightsEnabled" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>internal<wbr/>Lights<wbr/>Enabled</span><a href="#internalLightsEnabled" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature" id="internalLightsEnabled.internalLightsEnabled-1"><span class="tsd-signature-keyword">get</span> internalLightsEnabled<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li><li class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:2743</li></ul></aside></li><li class="tsd-signature" id="internalLightsEnabled.internalLightsEnabled-2"><span class="tsd-signature-keyword">set</span> internalLightsEnabled<span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">value</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">value</span>: <span class="tsd-signature-type">boolean</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:2752</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="model-1" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>model</span><a href="#model-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature" id="model-1.model-2"><span class="tsd-signature-keyword">get</span> model<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="five.Model.html" class="tsd-signature-type tsd-kind-class">Model</a></li><li class="tsd-description"><h4 class="tsd-returns-title">Returns <a href="five.Model.html" class="tsd-signature-type tsd-kind-class">Model</a></h4><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:914</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="models" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>models</span><a href="#models" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature" id="models.models-1"><span class="tsd-signature-keyword">get</span> models<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../types/five.Models.html" class="tsd-signature-type tsd-kind-type-alias">Models</a></li><li class="tsd-description"><h4 class="tsd-returns-title">Returns <a href="../types/five.Models.html" class="tsd-signature-type tsd-kind-type-alias">Models</a></h4><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:910</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="observers" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>observers</span><a href="#observers" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature" id="observers.observers-1"><span class="tsd-signature-keyword">get</span> observers<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/five.WorkResolvedObserver.html" class="tsd-signature-type tsd-kind-interface">WorkResolvedObserver</a><span class="tsd-signature-symbol">[]</span></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>获取观测点</p>
|
|
153
|
+
</div><h4 class="tsd-returns-title">Returns <a href="../interfaces/five.WorkResolvedObserver.html" class="tsd-signature-type tsd-kind-interface">WorkResolvedObserver</a><span class="tsd-signature-symbol">[]</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:1673</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="panoIndex" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>pano<wbr/>Index</span><a href="#panoIndex" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature" id="panoIndex.panoIndex-1"><span class="tsd-signature-keyword">get</span> panoIndex<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li><li class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:533</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="renderEffect" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>render<wbr/>Effect</span><a href="#renderEffect" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature" id="renderEffect.renderEffect-1"><span class="tsd-signature-keyword">get</span> renderEffect<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"default"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"edl"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"hq"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"luminance"</span></li><li class="tsd-description"><h4 class="tsd-returns-title">Returns <br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"default"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"edl"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"hq"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"luminance"</span></h4><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:685</li></ul></aside></li><li class="tsd-signature" id="renderEffect.renderEffect-2"><span class="tsd-signature-keyword">set</span> renderEffect<span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">value</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">value</span>: <br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"default"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"edl"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"hq"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"luminance"</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:689</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="scissor" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>scissor</span><a href="#scissor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature" id="scissor.scissor-1"><span class="tsd-signature-keyword">get</span> scissor<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/five.Viewport.html" class="tsd-signature-type tsd-kind-interface">Viewport</a></li><li class="tsd-description"><h4 class="tsd-returns-title">Returns <a href="../interfaces/five.Viewport.html" class="tsd-signature-type tsd-kind-interface">Viewport</a></h4><div class="tsd-comment tsd-typography"><h4 class="tsd-anchor-link"><a id="Deprecated-4" class="tsd-anchor"></a>Deprecated<a href="#Deprecated-4" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>use Viewport instead.</p>
|
|
154
|
+
</div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:2769</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="work" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>work</span><a href="#work" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature" id="work.work-1"><span class="tsd-signature-keyword">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 tsd-kind-class">Work</a></li><li class="tsd-description"><h4 class="tsd-returns-title">Returns <a href="five.Work.html" class="tsd-signature-type tsd-kind-class">Work</a></h4><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:906</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="works" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>works</span><a href="#works" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature" id="works.works-1"><span class="tsd-signature-keyword">get</span> works<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../types/five.Works.html" class="tsd-signature-type tsd-kind-type-alias">Works</a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>当前加载的 work 数据</p>
|
|
155
|
+
</div><h4 class="tsd-returns-title">Returns <a href="../types/five.Works.html" class="tsd-signature-type tsd-kind-type-alias">Works</a></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:893</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="dracoPath" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Static</code><span>draco<wbr/>Path</span><a href="#dracoPath" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature" id="dracoPath.dracoPath-1"><span class="tsd-signature-keyword">get</span> dracoPath<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><li class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:102</li></ul></aside></li><li class="tsd-signature" id="dracoPath.dracoPath-2"><span class="tsd-signature-keyword">set</span> dracoPath<span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">path</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">path</span>: <span class="tsd-signature-type">string</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:106</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="ktx2Path" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Static</code><span>ktx2<wbr/>Path</span><a href="#ktx2Path" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature" id="ktx2Path.ktx2Path-1"><span class="tsd-signature-keyword">get</span> ktx2Path<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><li class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:110</li></ul></aside></li><li class="tsd-signature" id="ktx2Path.ktx2Path-2"><span class="tsd-signature-keyword">set</span> ktx2Path<span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">path</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">path</span>: <span class="tsd-signature-type">string</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:114</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="version" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Static</code><span>version</span><a href="#version" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature" id="version.version-1"><span class="tsd-signature-keyword">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><li class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:97</li></ul></aside></li></ul></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Methods"><h2><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg> Methods</h2></summary><section><section class="tsd-panel tsd-member"><a id="addExtraElement" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>add<wbr/>Extra<wbr/>Element</span><a href="#addExtraElement" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="addExtraElement.addExtraElement-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">add<wbr/>Extra<wbr/>Element</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">element</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><a href="#addExtraElement.addExtraElement-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>绑定一个额外 DOM 区域,接受触控/鼠标事件</p>
|
|
149
156
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">element</span>: <span class="tsd-signature-type">HTMLElement</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</span></h4><p>解除该绑定</p>
|
|
150
|
-
<ul class="tsd-parameters"><li class="tsd-parameter-signature"><ul class="tsd-signatures"><li class="tsd-signature" id="addExtraElement.addExtraElement-1.__type-2.__type-3"><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><li class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li></ul><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
157
|
+
<ul class="tsd-parameters"><li class="tsd-parameter-signature"><ul class="tsd-signatures"><li class="tsd-signature" id="addExtraElement.addExtraElement-1.__type-2.__type-3"><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><li class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li></ul><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:816</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="appendTo" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>append<wbr/>To</span><a href="#appendTo" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="appendTo.appendTo-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">append<wbr/>To</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">element</span>, <span class="tsd-kind-parameter">size</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#appendTo.appendTo-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>将显示区域加载到页面 DOM 中</p>
|
|
151
158
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">element</span>: <span class="tsd-signature-type">HTMLElement</span></span><div class="tsd-comment tsd-typography"><p>加载到页面的 DOM 元素</p>
|
|
152
159
|
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">size</span>: <span class="tsd-signature-symbol">{ </span><br/><span> </span><span class="tsd-kind-property">height</span><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-kind-property">width</span><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol"> = {}</span></span><div class="tsd-comment tsd-typography"><p>显示区域尺寸 默认铺满这个 DOM 元素</p>
|
|
153
160
|
</div><div class="tsd-comment tsd-typography"></div><ul class="tsd-parameters"><li class="tsd-parameter"><h5><code class="tsd-tag">Optional</code><span class="tsd-kind-property">height</span><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span></h5></li><li class="tsd-parameter"><h5><code class="tsd-tag">Optional</code><span class="tsd-kind-property">width</span><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span></h5></li></ul></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"><h4 class="tsd-anchor-link"><a id="Description-10" class="tsd-anchor"></a>Description<a href="#Description-10" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>如果你是传入的 <code>renderer</code>. 则你需要自行来方式显示区域该方法并不生效</p>
|
|
154
|
-
</div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
161
|
+
</div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:757</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="changeMode" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>change<wbr/>Mode</span><a href="#changeMode" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="changeMode.changeMode-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">change<wbr/>Mode</span><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="five.Five.html#changeMode.changeMode-1.T">T</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">mode</span>, <span class="tsd-kind-parameter">state</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">options</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">userAction</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">force</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span><a href="#changeMode.changeMode-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>切换模态</p>
|
|
155
162
|
</div><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span><a id="changeMode.changeMode-1.T" class="tsd-anchor"></a><span class="tsd-kind-type-parameter">T</span><span class="tsd-signature-keyword"> extends </span><a href="../types/five.Mode.html" class="tsd-signature-type tsd-kind-type-alias">Mode</a></span></li></ul></section><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">mode</span>: <a class="tsd-signature-type tsd-kind-type-parameter" href="five.Five.html#changeMode.changeMode-1.T">T</a></span><div class="tsd-comment tsd-typography"><p>切换到的模态</p>
|
|
156
163
|
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">state</span>: <span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Omit</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/five.State.html" class="tsd-signature-type tsd-kind-interface">State</a><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">"mode"</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = {}</span></span><div class="tsd-comment tsd-typography"><p>切换完成时的姿态</p>
|
|
157
164
|
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">options</span>: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-symbol">{ </span><br/><span> </span><span class="tsd-kind-property">duration</span><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-kind-property">effect</span><span class="tsd-signature-symbol">?: </span><a href="../types/five.MovePanoEffect.html" class="tsd-signature-type tsd-kind-type-alias">MovePanoEffect</a><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span></span><div class="tsd-comment tsd-typography"><p>模态切换动画用时</p>
|
|
158
165
|
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">userAction</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></span><div class="tsd-comment tsd-typography"><p>是否时用户动作触发 默认 true</p>
|
|
159
166
|
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">force</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></span><div class="tsd-comment tsd-typography"><p>必须重新初始化 controller</p>
|
|
160
|
-
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
167
|
+
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:1317</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="dispose" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>dispose</span><a href="#dispose" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="dispose.dispose-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">dispose</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#dispose.dispose-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>析构 five 对象。</p>
|
|
161
168
|
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"><h4 class="tsd-anchor-link"><a id="Description-11" class="tsd-anchor"></a>Description<a href="#Description-11" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>一旦调用了析构方法,则不能再使用当前 five 对象了。
|
|
162
169
|
你可以新建一个新的。</p>
|
|
163
|
-
</div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
170
|
+
</div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:543</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="emit" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>emit</span><a href="#emit" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="emit.emit-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">emit</span><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="five.Five.html#emit.emit-1.K">K</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">name</span>, <span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">data</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#emit.emit-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>触发事件</p>
|
|
164
171
|
</div><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span><a id="emit.emit-1.K" class="tsd-anchor"></a><span class="tsd-kind-type-parameter">K</span><span class="tsd-signature-keyword"> extends </span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"dispose"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"error"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"render"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"gesture.pan"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"gesture.tap"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"gesture.dbltap"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"gesture.press"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"gesture.pinch"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"gesture.mousewheel"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"gesture.mousemove"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"gesture.momentum"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"initAnimation.start"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"initAnimation.end"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"camera.update"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"intersect.update"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"pano.select"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"pano.request"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"pano.moveTo"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"pano.moving"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"pano.arrived"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"pano.cancel"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"pano.error"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"pano.texture.load"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"pano.texture.progress"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"pano.texture.success"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"pano.texture.error"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"pano.texture.abort"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"xr.session.end"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"xr.session.start"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"xr.gesture.tap"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"xr.gesture.press"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"xr.gesture.buttonUp"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"xr.gesture.buttonDown"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"xr.controller.update"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-symbol">(</span>keyof LegacyEventType<span class="tsd-signature-symbol">)</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"works.request"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"works.load"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"works.ready"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"state.set"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"state.change"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"state.synced"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"currentState.change"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"model.request"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"model.load"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"model.error"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"model.changeShownFloor"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"models.load"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"models.refined"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"render.prepare"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"mode.change.request"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"mode.change"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"helpers.visible"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"network.resource"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"fps"</span></span><div class="tsd-comment tsd-typography"><p>预设的监听事件名称</p>
|
|
165
172
|
</div><div class="tsd-comment tsd-typography"></div></li></ul></section><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">name</span>: <a class="tsd-signature-type tsd-kind-type-parameter" href="five.NetworkSubscribe.html#emit.emit-1.K">K</a></span><div class="tsd-comment tsd-typography"><p>事件类型</p>
|
|
166
173
|
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Rest</code><span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">data</span>: <span class="tsd-signature-type">Parameters</span><span class="tsd-signature-symbol"><</span><a href="../types/five.EventTypes.html" class="tsd-signature-type tsd-kind-type-alias">EventTypes</a><span class="tsd-signature-symbol">[</span><a class="tsd-signature-type tsd-kind-type-parameter" href="five.NetworkSubscribe.html#emit.emit-1.K">K</a><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">></span></span><div class="tsd-comment tsd-typography"><p>触发事件的数据</p>
|
|
167
174
|
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p>canceled 是否被触发取消</p>
|
|
168
175
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="five.Subscribe.html">Subscribe</a>.<a href="five.Subscribe.html#emit">emit</a></p><ul><li>Defined in lib/five/utils/subscribe.ts:131</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="exitFullscreen" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>exit<wbr/>Fullscreen</span><a href="#exitFullscreen" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="exitFullscreen.exitFullscreen-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">exit<wbr/>Fullscreen</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#exitFullscreen.exitFullscreen-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>退出全屏</p>
|
|
169
|
-
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
176
|
+
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:2457</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="getCameraLocal" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span class="deprecated">get<wbr/>Camera<wbr/>Local</span><a href="#getCameraLocal" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="getCameraLocal.getCameraLocal-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Camera<wbr/>Local</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><br/><span> </span><span class="tsd-kind-property">lookAtVector</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Vector3</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-kind-property">phi</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-kind-property">theta</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><a href="#getCameraLocal.getCameraLocal-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>获取当前相机的姿态(用于内部的 python 脚本截图)</p>
|
|
170
177
|
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">{ </span><br/><span> </span><span class="tsd-kind-property">lookAtVector</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Vector3</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-kind-property">phi</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-kind-property">theta</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span></h4><ul class="tsd-parameters"><li class="tsd-parameter"><h5><span class="tsd-kind-property">look<wbr/>At<wbr/>Vector</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Vector3</span></h5></li><li class="tsd-parameter"><h5><span class="tsd-kind-property">phi</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></h5></li><li class="tsd-parameter"><h5><span class="tsd-kind-property">theta</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></h5></li></ul><div class="tsd-comment tsd-typography"><h4 class="tsd-anchor-link"><a id="Deprecated-5" class="tsd-anchor"></a>Deprecated<a href="#Deprecated-5" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>这是用于内部的 python 脚本截图</p>
|
|
171
|
-
</div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
172
|
-
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">HTMLCanvasElement</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
178
|
+
</div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:2811</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="getCurrentState" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Current<wbr/>State</span><a href="#getCurrentState" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="getCurrentState.getCurrentState-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Current<wbr/>State</span><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 tsd-kind-interface">State</a><a href="#getCurrentState.getCurrentState-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><h4 class="tsd-returns-title">Returns <a href="../interfaces/five.State.html" class="tsd-signature-type tsd-kind-interface">State</a></h4><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:2075</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="getDrawingBufferSize" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Drawing<wbr/>Buffer<wbr/>Size</span><a href="#getDrawingBufferSize" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="getDrawingBufferSize.getDrawingBufferSize-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Drawing<wbr/>Buffer<wbr/>Size</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">target</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Vector2</span><a href="#getDrawingBufferSize.getDrawingBufferSize-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">target</span>: <span class="tsd-signature-type">Vector2</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Vector2</span></h4><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:848</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="getElement" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Element</span><a href="#getElement" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="getElement.getElement-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Element</span><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><a href="#getElement.getElement-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>获取显示用的画布(Canvas DOM节点)</p>
|
|
179
|
+
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">HTMLCanvasElement</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:1666</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="getLongitudeAndLatitude" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span class="deprecated">get<wbr/>Longitude<wbr/>And<wbr/>Latitude</span><a href="#getLongitudeAndLatitude" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="getLongitudeAndLatitude.getLongitudeAndLatitude-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Longitude<wbr/>And<wbr/>Latitude</span><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 tsd-kind-interface">Pose</a><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">"longitude"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"latitude"</span><span class="tsd-signature-symbol">></span><a href="#getLongitudeAndLatitude.getLongitudeAndLatitude-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>获取当前相机经纬度</p>
|
|
173
180
|
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Pick</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/five.Pose.html" class="tsd-signature-type tsd-kind-interface">Pose</a><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">"longitude"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"latitude"</span><span class="tsd-signature-symbol">></span></h4><div class="tsd-comment tsd-typography"><h4 class="tsd-anchor-link"><a id="Deprecated-6" class="tsd-anchor"></a>Deprecated<a href="#Deprecated-6" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>请使用使用 getPose</p>
|
|
174
|
-
</div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
181
|
+
</div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:2794</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="getOffset" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span class="deprecated">get<wbr/>Offset</span><a href="#getOffset" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="getOffset.getOffset-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Offset</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Vector3</span><a href="#getOffset.getOffset-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>获取当前相机位置</p>
|
|
175
182
|
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Vector3</span></h4><div class="tsd-comment tsd-typography"><h4 class="tsd-anchor-link"><a id="Deprecated-7" class="tsd-anchor"></a>Deprecated<a href="#Deprecated-7" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>请使用使用 getPose</p>
|
|
176
|
-
</div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
183
|
+
</div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:2803</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="getPixels" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Pixels</span><a href="#getPixels" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="getPixels.getPixels-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Pixels</span><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="five.Five.html#getPixels.getPixels-1.T-1">T</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">x</span>, <span class="tsd-kind-parameter">y</span>, <span class="tsd-kind-parameter">width</span>, <span class="tsd-kind-parameter">height</span>, <span class="tsd-kind-parameter">pixelRatio</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">flipY</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">buffer</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a class="tsd-signature-type tsd-kind-type-parameter" href="five.Five.html#getPixels.getPixels-1.T-1">T</a><a href="#getPixels.getPixels-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>获取画面中的像素颜色</p>
|
|
177
184
|
</div><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span><a id="getPixels.getPixels-1.T-1" class="tsd-anchor"></a><span class="tsd-kind-type-parameter">T</span><span class="tsd-signature-keyword"> extends </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Uint8ClampedArray</span> = <span class="tsd-signature-type">Uint8Array</span></span></li></ul></section><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">x</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>获取像素区域的起始坐标 x</p>
|
|
178
185
|
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">y</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>获取像素区域的起始坐标 y</p>
|
|
179
186
|
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">width</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>获取像素区域的宽度</p>
|
|
@@ -182,7 +189,7 @@ XRPanorama VR硬件模式
|
|
|
182
189
|
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">flipY</span>: <span class="tsd-signature-type">boolean</span></span><div class="tsd-comment tsd-typography"><p>是否Y轴翻转</p>
|
|
183
190
|
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">buffer</span>: <a class="tsd-signature-type tsd-kind-type-parameter" href="five.Five.html#getPixels.getPixels-1.T-1">T</a></span><div class="tsd-comment tsd-typography"><p>存储数组</p>
|
|
184
191
|
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <a class="tsd-signature-type tsd-kind-type-parameter" href="five.Five.html#getPixels.getPixels-1.T-1">T</a></h4><p>rgba颜色平铺的 Uint8Array</p>
|
|
185
|
-
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
192
|
+
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:1494</li></ul></aside></li><li class="tsd-signature tsd-anchor-link"><a id="getPixels.getPixels-2" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Pixels</span><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="five.Five.html#getPixels.getPixels-2.T-2">T</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">options</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a class="tsd-signature-type tsd-kind-type-parameter" href="five.Five.html#getPixels.getPixels-2.T-2">T</a><a href="#getPixels.getPixels-2" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>获取画面中的像素颜色</p>
|
|
186
193
|
</div><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span><a id="getPixels.getPixels-2.T-2" class="tsd-anchor"></a><span class="tsd-kind-type-parameter">T</span><span class="tsd-signature-keyword"> extends </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Uint8ClampedArray</span> = <span class="tsd-signature-type">Uint8Array</span></span></li></ul></section><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">options</span>: <span class="tsd-signature-symbol">{ </span><br/><span> </span><span class="tsd-kind-property">buffer</span><span class="tsd-signature-symbol">?: </span><a class="tsd-signature-type tsd-kind-type-parameter" href="five.Five.html#getPixels.getPixels-2.T-2">T</a><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-kind-property">flipY</span><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-kind-property">height</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-kind-property">helperVisible</span><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-kind-property">pixelRatio</span><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-kind-property">skipPanorama</span><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-kind-property">width</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-kind-property">x</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-kind-property">y</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span></span><div class="tsd-comment tsd-typography"><p>参数</p>
|
|
187
194
|
</div><div class="tsd-comment tsd-typography"></div><ul class="tsd-parameters"><li class="tsd-parameter"><h5><code class="tsd-tag">Optional</code><span class="tsd-kind-property">buffer</span><span class="tsd-signature-symbol">?: </span><a class="tsd-signature-type tsd-kind-type-parameter" href="five.Five.html#getPixels.getPixels-2.T-2">T</a></h5><div class="tsd-comment tsd-typography"><p>存储数组</p>
|
|
188
195
|
</div><div class="tsd-comment tsd-typography"></div></li><li class="tsd-parameter"><h5><code class="tsd-tag">Optional</code><span class="tsd-kind-property">flipY</span><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span></h5><div class="tsd-comment tsd-typography"><p>是否Y轴翻转</p>
|
|
@@ -191,8 +198,8 @@ XRPanorama VR硬件模式
|
|
|
191
198
|
</div><div class="tsd-comment tsd-typography"></div></li><li class="tsd-parameter"><h5><code class="tsd-tag">Optional</code><span class="tsd-kind-property">skip<wbr/>Panorama</span><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span></h5></li><li class="tsd-parameter"><h5><span class="tsd-kind-property">width</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><p>获取像素区域的宽度</p>
|
|
192
199
|
</div><div class="tsd-comment tsd-typography"></div></li><li class="tsd-parameter"><h5><span class="tsd-kind-property">x</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><p>获取像素区域的起始坐标 x</p>
|
|
193
200
|
</div><div class="tsd-comment tsd-typography"></div></li><li class="tsd-parameter"><h5><span class="tsd-kind-property">y</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><p>获取像素区域的起始坐标 y</p>
|
|
194
|
-
</div><div class="tsd-comment tsd-typography"></div></li></ul></li></ul></div><h4 class="tsd-returns-title">Returns <a class="tsd-signature-type tsd-kind-type-parameter" href="five.Five.html#getPixels.getPixels-2.T-2">T</a></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
195
|
-
</div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
201
|
+
</div><div class="tsd-comment tsd-typography"></div></li></ul></li></ul></div><h4 class="tsd-returns-title">Returns <a class="tsd-signature-type tsd-kind-type-parameter" href="five.Five.html#getPixels.getPixels-2.T-2">T</a></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:1508</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="getPose" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span class="deprecated">get<wbr/>Pose</span><a href="#getPose" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="getPose.getPose-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Pose</span><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 tsd-kind-interface">Pose</a><a href="#getPose.getPose-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><h4 class="tsd-returns-title">Returns <a href="../interfaces/five.Pose.html" class="tsd-signature-type tsd-kind-interface">Pose</a></h4><div class="tsd-comment tsd-typography"><h4 class="tsd-anchor-link"><a id="Deprecated-8" class="tsd-anchor"></a>Deprecated<a href="#Deprecated-8" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>获取当前相机姿态, 可以使用 getCurrentState 代替</p>
|
|
202
|
+
</div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:2785</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="getSize" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Size</span><a href="#getSize" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="getSize.getSize-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Size</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">target</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Vector2</span><a href="#getSize.getSize-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">target</span>: <span class="tsd-signature-type">Vector2</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Vector2</span></h4><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:838</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="hasListener" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>has<wbr/>Listener</span><a href="#hasListener" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="hasListener.hasListener-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">has<wbr/>Listener</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">name</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#hasListener.hasListener-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>判断是否注册了事件</p>
|
|
196
203
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">name</span>: <br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"dispose"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"error"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"render"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"gesture.pan"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"gesture.tap"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"gesture.dbltap"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"gesture.press"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"gesture.pinch"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"gesture.mousewheel"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"gesture.mousemove"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"gesture.momentum"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"initAnimation.start"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"initAnimation.end"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"camera.update"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"intersect.update"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"pano.select"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"pano.request"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"pano.moveTo"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"pano.moving"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"pano.arrived"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"pano.cancel"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"pano.error"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"pano.texture.load"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"pano.texture.progress"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"pano.texture.success"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"pano.texture.error"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"pano.texture.abort"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"xr.session.end"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"xr.session.start"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"xr.gesture.tap"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"xr.gesture.press"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"xr.gesture.buttonUp"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"xr.gesture.buttonDown"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"xr.controller.update"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-symbol">(</span>keyof LegacyEventType<span class="tsd-signature-symbol">)</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"works.request"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"works.load"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"works.ready"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"state.set"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"state.change"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"state.synced"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"currentState.change"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"model.request"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"model.load"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"model.error"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"model.changeShownFloor"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"models.load"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"models.refined"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"render.prepare"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"mode.change.request"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"mode.change"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"helpers.visible"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"network.resource"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"fps"</span></span><div class="tsd-comment tsd-typography"><p>事件类型</p>
|
|
197
204
|
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="five.Subscribe.html">Subscribe</a>.<a href="five.Subscribe.html#hasListener">hasListener</a></p><ul><li>Defined in lib/five/utils/subscribe.ts:44</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="load" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>load</span><a href="#load" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="load.load-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">load</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">inputWork</span>, <span class="tsd-kind-parameter">state</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">options</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">userAction</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span><a href="#load.load-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>加载 Work 数据</p>
|
|
198
205
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">inputWork</span>: <br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">string</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><br/><span> </span><span class="tsd-signature-symbol">| </span><a href="../types/five.LooseWork.html" class="tsd-signature-type tsd-kind-type-alias">LooseWork</a><br/><span> </span><span class="tsd-signature-symbol">| </span><a href="five.Work.html" class="tsd-signature-type tsd-kind-class">Work</a><br/><span> </span><span class="tsd-signature-symbol">| </span><a href="five.Work.html" class="tsd-signature-type tsd-kind-class">Work</a><span class="tsd-signature-symbol">[]</span><br/><span> </span><span class="tsd-signature-symbol">| </span><a href="../types/five.LooseWork.html" class="tsd-signature-type tsd-kind-type-alias">LooseWork</a><span class="tsd-signature-symbol">[]</span><br/><span> </span><span class="tsd-signature-symbol">| </span><a href="../types/five.LooseWorkWithExtrinsics.html" class="tsd-signature-type tsd-kind-type-alias">LooseWorkWithExtrinsics</a><span class="tsd-signature-symbol">[]</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><br/><span> </span><span class="tsd-signature-symbol">| </span><a href="../types/five.LooseWork.html" class="tsd-signature-type tsd-kind-type-alias">LooseWork</a><br/><span> </span><span class="tsd-signature-symbol">| </span><a href="five.Work.html" class="tsd-signature-type tsd-kind-class">Work</a><br/><span> </span><span class="tsd-signature-symbol">| </span><a href="five.Work.html" class="tsd-signature-type tsd-kind-class">Work</a><span class="tsd-signature-symbol">[]</span><br/><span> </span><span class="tsd-signature-symbol">| </span><a href="../types/five.LooseWork.html" class="tsd-signature-type tsd-kind-type-alias">LooseWork</a><span class="tsd-signature-symbol">[]</span><br/><span> </span><span class="tsd-signature-symbol">| </span><a href="../types/five.LooseWorkWithExtrinsics.html" class="tsd-signature-type tsd-kind-type-alias">LooseWorkWithExtrinsics</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">></span></span><div class="tsd-comment tsd-typography"><p>Work 数据</p>
|
|
@@ -203,11 +210,11 @@ XRPanorama VR硬件模式
|
|
|
203
210
|
<li>State 自定义姿态</li>
|
|
204
211
|
</ul>
|
|
205
212
|
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">options</span>: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><a href="../interfaces/five.FiveLoadOptions.html" class="tsd-signature-type tsd-kind-interface">FiveLoadOptions</a></span><div class="tsd-comment tsd-typography"><p>切换时间, 切换效果</p>
|
|
206
|
-
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">userAction</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
213
|
+
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">userAction</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:927</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="moveToPano" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>move<wbr/>To<wbr/>Pano</span><a href="#moveToPano" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="moveToPano.moveToPano-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">move<wbr/>To<wbr/>Pano</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">pano</span>, <span class="tsd-kind-parameter">options</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">userAction</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span><a href="#moveToPano.moveToPano-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>转化到 Panorama 模态,并移动到对应序号的观察点。</p>
|
|
207
214
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">pano</span>: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><a href="../types/five.Pano.html" class="tsd-signature-type tsd-kind-type-alias">Pano</a><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-symbol">`</span><span class="tsd-signature-symbol">${</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">}</span><span class="tsd-signature-type">[</span><span class="tsd-signature-symbol">${</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">}</span><span class="tsd-signature-type">]</span><span class="tsd-signature-symbol">`</span></span><div class="tsd-comment tsd-typography"><p>观察点序号</p>
|
|
208
215
|
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">options</span>: <a href="../interfaces/five.MovePanoOptions.html" class="tsd-signature-type tsd-kind-interface">MovePanoOptions</a><span class="tsd-signature-symbol"> = {}</span></span><div class="tsd-comment tsd-typography"><p>移动点位参数</p>
|
|
209
216
|
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">userAction</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></span><div class="tsd-comment tsd-typography"><p>是否用户触犯</p>
|
|
210
|
-
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
217
|
+
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:1977</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="off" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>off</span><a href="#off" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="off.off-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">off</span><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="five.Five.html#off.off-1.K-1">K</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">name</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">callback</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#off.off-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>解除事件</p>
|
|
211
218
|
<p>如果 name 不传的话解除对应所有事件
|
|
212
219
|
如果 name, callback 不传的话解除所有name的所有事件</p>
|
|
213
220
|
</div><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span><a id="off.off-1.K-1" class="tsd-anchor"></a><span class="tsd-kind-type-parameter">K</span><span class="tsd-signature-keyword"> extends </span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"dispose"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"error"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"render"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"gesture.pan"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"gesture.tap"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"gesture.dbltap"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"gesture.press"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"gesture.pinch"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"gesture.mousewheel"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"gesture.mousemove"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"gesture.momentum"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"initAnimation.start"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"initAnimation.end"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"camera.update"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"intersect.update"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"pano.select"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"pano.request"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"pano.moveTo"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"pano.moving"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"pano.arrived"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"pano.cancel"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"pano.error"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"pano.texture.load"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"pano.texture.progress"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"pano.texture.success"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"pano.texture.error"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"pano.texture.abort"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"xr.session.end"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"xr.session.start"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"xr.gesture.tap"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"xr.gesture.press"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"xr.gesture.buttonUp"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"xr.gesture.buttonDown"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"xr.controller.update"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-symbol">(</span>keyof LegacyEventType<span class="tsd-signature-symbol">)</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"works.request"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"works.load"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"works.ready"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"state.set"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"state.change"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"state.synced"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"currentState.change"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"model.request"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"model.load"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"model.error"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"model.changeShownFloor"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"models.load"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"models.refined"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"render.prepare"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"mode.change.request"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"mode.change"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"helpers.visible"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"network.resource"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"fps"</span></span><div class="tsd-comment tsd-typography"><p>预设的监听事件名称</p>
|
|
@@ -225,22 +232,22 @@ XRPanorama VR硬件模式
|
|
|
225
232
|
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">callback</span>: <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">args</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Parameters</span><span class="tsd-signature-symbol"><</span><a href="../types/five.EventTypes.html" class="tsd-signature-type tsd-kind-type-alias">EventTypes</a><span class="tsd-signature-symbol">[</span><a class="tsd-signature-type tsd-kind-type-parameter" href="five.NetworkSubscribe.html#once.once-1.K-3">K</a><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">ReturnType</span><span class="tsd-signature-symbol"><</span><a href="../types/five.EventTypes.html" class="tsd-signature-type tsd-kind-type-alias">EventTypes</a><span class="tsd-signature-symbol">[</span><a class="tsd-signature-type tsd-kind-type-parameter" href="five.NetworkSubscribe.html#once.once-1.K-3">K</a><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">)</span></span><div class="tsd-comment tsd-typography"><p>事件回调函数</p>
|
|
226
233
|
</div><div class="tsd-comment tsd-typography"></div><ul class="tsd-parameters"><li class="tsd-parameter-signature"><ul class="tsd-signatures"><li class="tsd-signature"><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">args</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">ReturnType</span><span class="tsd-signature-symbol"><</span><a href="../types/five.EventTypes.html" class="tsd-signature-type tsd-kind-type-alias">EventTypes</a><span class="tsd-signature-symbol">[</span><a class="tsd-signature-type tsd-kind-type-parameter" href="five.NetworkSubscribe.html#once.once-1.K-3">K</a><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">></span></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag">Rest</code><span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">args</span>: <span class="tsd-signature-type">Parameters</span><span class="tsd-signature-symbol"><</span><a href="../types/five.EventTypes.html" class="tsd-signature-type tsd-kind-type-alias">EventTypes</a><span class="tsd-signature-symbol">[</span><a class="tsd-signature-type tsd-kind-type-parameter" href="five.NetworkSubscribe.html#once.once-1.K-3">K</a><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">></span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">ReturnType</span><span class="tsd-signature-symbol"><</span><a href="../types/five.EventTypes.html" class="tsd-signature-type tsd-kind-type-alias">EventTypes</a><span class="tsd-signature-symbol">[</span><a class="tsd-signature-type tsd-kind-type-parameter" href="five.NetworkSubscribe.html#once.once-1.K-3">K</a><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">></span></h4></li></ul></li></ul></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</span></h4><p>解除事件</p>
|
|
227
234
|
<ul class="tsd-parameters"><li class="tsd-parameter-signature"><ul class="tsd-signatures"><li class="tsd-signature" id="once.once-1.__type-7.__type-8"><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><li class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li></ul><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="five.Subscribe.html">Subscribe</a>.<a href="five.Subscribe.html#once">once</a></p><ul><li>Defined in lib/five/utils/subscribe.ts:81</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="pause" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>pause</span><a href="#pause" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="pause.pause-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">pause</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#pause.pause-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>暂停自动播放</p>
|
|
228
|
-
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
235
|
+
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:1958</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="play" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>play</span><a href="#play" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="play.play-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">play</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#play.play-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:1965</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="preloadPano" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>preload<wbr/>Pano</span><a href="#preloadPano" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="preloadPano.preloadPano-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">preload<wbr/>Pano</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">pano</span>, <span class="tsd-kind-parameter">callback</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">></span><a href="#preloadPano.preloadPano-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>预加载点位图片资源</p>
|
|
229
236
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">pano</span>: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><a href="../types/five.Pano.html" class="tsd-signature-type tsd-kind-type-alias">Pano</a><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-symbol">`</span><span class="tsd-signature-symbol">${</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">}</span><span class="tsd-signature-type">[</span><span class="tsd-signature-symbol">${</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">}</span><span class="tsd-signature-type">]</span><span class="tsd-signature-symbol">`</span></span><div class="tsd-comment tsd-typography"><p>观察点序号</p>
|
|
230
237
|
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">callback</span>: <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">costs</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> = noop</span></span><div class="tsd-comment tsd-typography"><p>加载完成回调, 并传递加载用时。</p>
|
|
231
238
|
</div><div class="tsd-comment tsd-typography"></div><ul class="tsd-parameters"><li class="tsd-parameter-signature"><ul class="tsd-signatures"><li class="tsd-signature"><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">costs</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">costs</span>: <span class="tsd-signature-type">number</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li></ul></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">></span></h4><p>加载完成的 Promise 参数同 callback</p>
|
|
232
|
-
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
239
|
+
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:2023</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="project2d" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>project2d</span><a href="#project2d" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="project2d.project2d-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">project2d</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">vector</span>, <span class="tsd-kind-parameter">testModel</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Vector2</span><a href="#project2d.project2d-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>计算三维坐标对应到屏幕的二维坐标</p>
|
|
233
240
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">vector</span>: <span class="tsd-signature-type">Vector3</span></span><div class="tsd-comment tsd-typography"><p>三维坐标</p>
|
|
234
241
|
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">testModel</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></span><div class="tsd-comment tsd-typography"><p>是否计算模型遮挡</p>
|
|
235
242
|
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Vector2</span></h4><p>二维坐标 或者 null</p>
|
|
236
243
|
<div class="tsd-comment tsd-typography"><h4 class="tsd-anchor-link"><a id="Description-12" class="tsd-anchor"></a>Description<a href="#Description-12" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>如果三维坐标不在屏幕中,则返回 null</p>
|
|
237
|
-
</div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
238
|
-
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">args</span>: <span class="tsd-signature-symbol">{ </span><br/><span> </span><span class="tsd-kind-property">tile</span><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol"> = {}</span></span><ul class="tsd-parameters"><li class="tsd-parameter"><h5><code class="tsd-tag">Optional</code><span class="tsd-kind-property">tile</span><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span></h5></li></ul></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
244
|
+
</div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:2054</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="ready" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>ready</span><a href="#ready" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="ready.ready-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">ready</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">args</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span><a href="#ready.ready-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>当前页面静态</p>
|
|
245
|
+
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">args</span>: <span class="tsd-signature-symbol">{ </span><br/><span> </span><span class="tsd-kind-property">tile</span><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol"> = {}</span></span><ul class="tsd-parameters"><li class="tsd-parameter"><h5><code class="tsd-tag">Optional</code><span class="tsd-kind-property">tile</span><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span></h5></li></ul></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:2432</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="refresh" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>refresh</span><a href="#refresh" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="refresh.refresh-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">refresh</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">size</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">pixelRatio</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#refresh.refresh-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>设置显示区域尺寸</p>
|
|
239
246
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">size</span>: <span class="tsd-signature-symbol">{ </span><br/><span> </span><span class="tsd-kind-property">height</span><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-kind-property">width</span><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol"> = {}</span></span><div class="tsd-comment tsd-typography"><p>显示区域尺寸 默认铺满这个 DOM 元素</p>
|
|
240
247
|
</div><div class="tsd-comment tsd-typography"></div><ul class="tsd-parameters"><li class="tsd-parameter"><h5><code class="tsd-tag">Optional</code><span class="tsd-kind-property">height</span><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span></h5></li><li class="tsd-parameter"><h5><code class="tsd-tag">Optional</code><span class="tsd-kind-property">width</span><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span></h5></li></ul></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">pixelRatio</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>像素比 默认继承之前的设置</p>
|
|
241
248
|
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"><h4 class="tsd-anchor-link"><a id="Description-13" class="tsd-anchor"></a>Description<a href="#Description-13" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>如果你是传入的 <code>renderer</code>. 则你需要自行来设置显示区域尺寸,该方法并不生效</p>
|
|
242
|
-
</div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
243
|
-
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">element</span>: <span class="tsd-signature-type">HTMLElement</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
249
|
+
</div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:786</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="removeExtraElement" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>remove<wbr/>Extra<wbr/>Element</span><a href="#removeExtraElement" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="removeExtraElement.removeExtraElement-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">remove<wbr/>Extra<wbr/>Element</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">element</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#removeExtraElement.removeExtraElement-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>解除绑定的一个额外 DOM 区域</p>
|
|
250
|
+
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">element</span>: <span class="tsd-signature-type">HTMLElement</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:829</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="render" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>render</span><a href="#render" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="render.render-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">render</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">callback</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#render.render-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>强制渲染</p>
|
|
244
251
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">callback</span>: <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</span></span><div class="tsd-comment tsd-typography"><p>渲染完成回调</p>
|
|
245
252
|
</div><div class="tsd-comment tsd-typography"></div><ul class="tsd-parameters"><li class="tsd-parameter-signature"><ul class="tsd-signatures"><li class="tsd-signature"><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><li class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li></ul></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"><h4 class="tsd-anchor-link"><a id="Description-14" class="tsd-anchor"></a>Description<a href="#Description-14" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>调用 <code>five.render()</code> 和设置 <code>five.needsRender = true</code> 均可在按需渲染时,使得画面渲染一次
|
|
246
253
|
区别在于:</p>
|
|
@@ -249,9 +256,9 @@ XRPanorama VR硬件模式
|
|
|
249
256
|
<li><code>five.render()</code> 在当前帧渲染画面
|
|
250
257
|
推荐使用 <code>five.needsRender = true</code>, 可以更加流畅。但是如果需要截图等同步操作,可以使用 <code>five.render()</code></li>
|
|
251
258
|
</ul>
|
|
252
|
-
</div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
253
|
-
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
254
|
-
</div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
259
|
+
</div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:1688</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="requestFullscreen" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>request<wbr/>Fullscreen</span><a href="#requestFullscreen" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="requestFullscreen.requestFullscreen-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">request<wbr/>Fullscreen</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#requestFullscreen.requestFullscreen-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>请求全屏</p>
|
|
260
|
+
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:2446</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="reset" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>reset</span><a href="#reset" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="reset.reset-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">reset</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span><a href="#reset.reset-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:1235</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="reset_" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>reset_</span><a href="#reset_" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="reset_.reset_-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">reset_</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span><a href="#reset_.reset_-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:1245</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="setScissor" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span class="deprecated">set<wbr/>Scissor</span><a href="#setScissor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="setScissor.setScissor-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">set<wbr/>Scissor</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">scissor</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#setScissor.setScissor-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">scissor</span>: <a href="../interfaces/five.Viewport.html" class="tsd-signature-type tsd-kind-interface">Viewport</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"><h4 class="tsd-anchor-link"><a id="Deprecated-9" class="tsd-anchor"></a>Deprecated<a href="#Deprecated-9" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>use setViewport instead.</p>
|
|
261
|
+
</div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:2777</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="setState" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>State</span><a href="#setState" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="setState.setState-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">set<wbr/>State</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">state</span>, <span class="tsd-kind-parameter">immediately</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">userAction</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#setState.setState-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>设置 State</p>
|
|
255
262
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">state</span>: <span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/five.State.html" class="tsd-signature-type tsd-kind-interface">State</a><span class="tsd-signature-symbol">></span></span><div class="tsd-comment tsd-typography"><p>目标状态</p>
|
|
256
263
|
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">immediately</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></span><div class="tsd-comment tsd-typography"><p>是否马上转换,马上转换会尽快达到目标状态,尽量减少中间状态,更少动画。</p>
|
|
257
264
|
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">userAction</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></span><div class="tsd-comment tsd-typography"><p>是否是用户触发的动作</p>
|
|
@@ -269,7 +276,7 @@ XRPanorama VR硬件模式
|
|
|
269
276
|
来迎合一些通过数据驱动的场景。
|
|
270
277
|
</code><button type="button">Copy</button></pre>
|
|
271
278
|
|
|
272
|
-
</div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
279
|
+
</div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:2105</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="setViewport" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>Viewport</span><a href="#setViewport" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="setViewport.setViewport-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">set<wbr/>Viewport</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">viewport</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#setViewport.setViewport-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>设置 <code>viewport</code></p>
|
|
273
280
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">viewport</span>: <a href="../interfaces/five.Viewport.html" class="tsd-signature-type tsd-kind-interface">Viewport</a></span><div class="tsd-comment tsd-typography"><p>指定区域
|
|
274
281
|
<code>scissor</code> 是将屏幕中的内容渲染到 <code>renderer</code> 的指定区域。
|
|
275
282
|
请确保在 five 初始化时传入 <code>renderer</code> 对象
|
|
@@ -277,23 +284,23 @@ XRPanorama VR硬件模式
|
|
|
277
284
|
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"><h4 class="tsd-anchor-link"><a id="Example-2" class="tsd-anchor"></a>Example<a href="#Example-2" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><pre><code><span class="hl-4">five</span><span class="hl-1">.</span><span class="hl-0">setViewport</span><span class="hl-1">({ </span><span class="hl-4">left:</span><span class="hl-1"> </span><span class="hl-13">0.75</span><span class="hl-1">, </span><span class="hl-4">bottom:</span><span class="hl-1"> </span><span class="hl-13">0</span><span class="hl-1">, </span><span class="hl-4">width:</span><span class="hl-1"> </span><span class="hl-13">0.25</span><span class="hl-1">, </span><span class="hl-4">height:</span><span class="hl-1"> </span><span class="hl-13">1</span><span class="hl-1"> })</span>
|
|
278
285
|
</code><button>Copy</button></pre>
|
|
279
286
|
|
|
280
|
-
</div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
287
|
+
</div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:612</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="updateCamera" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>update<wbr/>Camera</span><a href="#updateCamera" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="updateCamera.updateCamera-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">update<wbr/>Camera</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">pose</span>, <span class="tsd-kind-parameter">duration</span>, <span class="tsd-kind-parameter">userAction</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span><a href="#updateCamera.updateCamera-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>移动相机。(不触发点位移动)</p>
|
|
281
288
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">pose</span>: <span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/five.Pose.html" class="tsd-signature-type tsd-kind-interface">Pose</a><span class="tsd-signature-symbol">></span></span><div class="tsd-comment tsd-typography"><p>相机目标位置</p>
|
|
282
289
|
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">duration</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>动画触发的时常</p>
|
|
283
290
|
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">userAction</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></span><div class="tsd-comment tsd-typography"><p>是否用户触发</p>
|
|
284
291
|
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><p>Promise 是否移动成功</p>
|
|
285
292
|
<div class="tsd-comment tsd-typography"><h4 class="tsd-anchor-link"><a id="Description-16" class="tsd-anchor"></a>Description<a href="#Description-16" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>如果动画中途被打断(用户触发行为,或者调用 setState, load, changeMode)的等
|
|
286
293
|
会 Promise.reject。运动完成则 Promise.resolve</p>
|
|
287
|
-
</div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
294
|
+
</div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:868</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="updateCameraWithKeyframes" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>update<wbr/>Camera<wbr/>With<wbr/>Keyframes</span><a href="#updateCameraWithKeyframes" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="updateCameraWithKeyframes.updateCameraWithKeyframes-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">update<wbr/>Camera<wbr/>With<wbr/>Keyframes</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">keyframes</span>, <span class="tsd-kind-parameter">duration</span>, <span class="tsd-kind-parameter">userAction</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span><a href="#updateCameraWithKeyframes.updateCameraWithKeyframes-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>通过帧动画移动相机。(不触发点位移动)</p>
|
|
288
295
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">keyframes</span>: <span class="tsd-signature-symbol">{ </span><br/><span> </span><span class="tsd-kind-property">key</span><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-kind-property">progress</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-kind-property">value</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/five.Pose.html" class="tsd-signature-type tsd-kind-interface">Pose</a><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">[]</span></span><div class="tsd-comment tsd-typography"><p>动画帧</p>
|
|
289
296
|
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">duration</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>动画触发的时常</p>
|
|
290
297
|
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">userAction</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></span><div class="tsd-comment tsd-typography"><p>是否用户触发</p>
|
|
291
298
|
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><p>Promise 是否移动成功</p>
|
|
292
299
|
<div class="tsd-comment tsd-typography"><h4 class="tsd-anchor-link"><a id="Description-17" class="tsd-anchor"></a>Description<a href="#Description-17" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>如果动画中途被打断(用户触发行为,或者调用 setState, load, changeMode)的等
|
|
293
300
|
会 Promise.reject。运动完成则 Promise.resolve</p>
|
|
294
|
-
</div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:
|
|
301
|
+
</div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:885</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="updateConfiguration" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>update<wbr/>Configuration</span><a href="#updateConfiguration" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="updateConfiguration.updateConfiguration-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">update<wbr/>Configuration</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">args</span>, <span class="tsd-kind-parameter">refresh</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#updateConfiguration.updateConfiguration-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">args</span>: <span class="tsd-signature-type">Pick</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/five.FiveInitArgs.html" class="tsd-signature-type tsd-kind-interface">FiveInitArgs</a><span class="tsd-signature-symbol">, </span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"model"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"panorama"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"textureOptions"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"imageOptions"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"floorplan"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"topview"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"mapview"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"vrPanorama"</span><span class="tsd-signature-symbol">></span></span></li><li><span><span class="tsd-kind-parameter">refresh</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:694</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="updateTime" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>update<wbr/>Time</span><a href="#updateTime" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="updateTime.updateTime-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">update<wbr/>Time</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">time</span>, <span class="tsd-kind-parameter">deltaTime</span>, <span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">args</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#updateTime.updateTime-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">time</span>: <span class="tsd-signature-type">number</span></span></li><li><span><span class="tsd-kind-parameter">deltaTime</span>: <span class="tsd-signature-type">number</span></span></li><li><span><code class="tsd-tag">Rest</code><span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">args</span>: <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:1751</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="waitUntil" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>wait<wbr/>Until</span><a href="#waitUntil" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="waitUntil.waitUntil-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">wait<wbr/>Until</span><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="five.Five.html#waitUntil.waitUntil-1.K-4">K</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">name</span>, <span class="tsd-kind-parameter">filter</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Parameters</span><span class="tsd-signature-symbol"><</span><a href="../types/five.EventTypes.html" class="tsd-signature-type tsd-kind-type-alias">EventTypes</a><span class="tsd-signature-symbol">[</span><a class="tsd-signature-type tsd-kind-type-parameter" href="five.NetworkSubscribe.html#waitUntil.waitUntil-1.K-4">K</a><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">></span><a href="#waitUntil.waitUntil-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>等待事件</p>
|
|
295
302
|
</div><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span><a id="waitUntil.waitUntil-1.K-4" class="tsd-anchor"></a><span class="tsd-kind-type-parameter">K</span><span class="tsd-signature-keyword"> extends </span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"dispose"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"error"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"render"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"gesture.pan"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"gesture.tap"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"gesture.dbltap"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"gesture.press"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"gesture.pinch"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"gesture.mousewheel"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"gesture.mousemove"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"gesture.momentum"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"initAnimation.start"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"initAnimation.end"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"camera.update"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"intersect.update"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"pano.select"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"pano.request"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"pano.moveTo"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"pano.moving"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"pano.arrived"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"pano.cancel"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"pano.error"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"pano.texture.load"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"pano.texture.progress"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"pano.texture.success"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"pano.texture.error"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"pano.texture.abort"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"xr.session.end"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"xr.session.start"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"xr.gesture.tap"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"xr.gesture.press"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"xr.gesture.buttonUp"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"xr.gesture.buttonDown"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"xr.controller.update"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-symbol">(</span>keyof LegacyEventType<span class="tsd-signature-symbol">)</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"works.request"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"works.load"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"works.ready"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"state.set"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"state.change"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"state.synced"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"currentState.change"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"model.request"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"model.load"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"model.error"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"model.changeShownFloor"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"models.load"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"models.refined"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"render.prepare"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"mode.change.request"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"mode.change"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"helpers.visible"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"network.resource"</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">"fps"</span></span><div class="tsd-comment tsd-typography"><p>预设的监听事件名称</p>
|
|
296
303
|
</div><div class="tsd-comment tsd-typography"></div></li></ul></section><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">name</span>: <a class="tsd-signature-type tsd-kind-type-parameter" href="five.NetworkSubscribe.html#waitUntil.waitUntil-1.K-4">K</a></span><div class="tsd-comment tsd-typography"><p>事件类型</p>
|
|
297
304
|
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">filter</span>: <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">args</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Parameters</span><span class="tsd-signature-symbol"><</span><a href="../types/five.EventTypes.html" class="tsd-signature-type tsd-kind-type-alias">EventTypes</a><span class="tsd-signature-symbol">[</span><a class="tsd-signature-type tsd-kind-type-parameter" href="five.NetworkSubscribe.html#waitUntil.waitUntil-1.K-4">K</a><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</span></span><div class="tsd-comment tsd-typography"><p>事件类型</p>
|
|
298
305
|
</div><div class="tsd-comment tsd-typography"></div><ul class="tsd-parameters"><li class="tsd-parameter-signature"><ul class="tsd-signatures"><li class="tsd-signature"><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">args</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">void</span></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag">Rest</code><span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">args</span>: <span class="tsd-signature-type">Parameters</span><span class="tsd-signature-symbol"><</span><a href="../types/five.EventTypes.html" class="tsd-signature-type tsd-kind-type-alias">EventTypes</a><span class="tsd-signature-symbol">[</span><a class="tsd-signature-type tsd-kind-type-parameter" href="five.NetworkSubscribe.html#waitUntil.waitUntil-1.K-4">K</a><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">></span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">void</span></h4></li></ul></li></ul></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Parameters</span><span class="tsd-signature-symbol"><</span><a href="../types/five.EventTypes.html" class="tsd-signature-type tsd-kind-type-alias">EventTypes</a><span class="tsd-signature-symbol">[</span><a class="tsd-signature-type tsd-kind-type-parameter" href="five.NetworkSubscribe.html#waitUntil.waitUntil-1.K-4">K</a><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">></span></h4><p>触发事件的数据</p>
|
|
299
|
-
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="five.Subscribe.html">Subscribe</a>.<a href="five.Subscribe.html#waitUntil">waitUntil</a></p><ul><li>Defined in lib/five/utils/subscribe.ts:155</li></ul></aside></li></ul></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div><details open class="tsd-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>On This Page</h3></summary><div class="tsd-accordion-details"><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="tsd-otp-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Constructors</summary><div><a href="#constructor" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="tsd-otp-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Properties</summary><div><a href="#camera" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>camera</span></a><a href="#currentMode" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>current<wbr/>Mode</span></a><a href="#enableLayeringRendering" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>enable<wbr/>Layering<wbr/>Rendering</span></a><a href="#ident" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>ident</span></a><a href="#imageOptions" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>image<wbr/>Options</span></a><a href="#modelScene" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>model<wbr/>Scene</span></a><a href="#modelSceneNeedsRender" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>model<wbr/>Scene<wbr/>Needs<wbr/>Render</span></a><a href="#needsRender" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>needs<wbr/>Render</span></a><a href="#onlyRenderIfNeeds" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>only<wbr/>Render<wbr/>If<wbr/>Needs</span></a><a href="#pano" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>pano</span></a><a href="#paused" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>paused</span></a><a href="#plugins" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>plugins</span></a><a href="#renderer" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>renderer</span></a><a href="#scene" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>scene</span></a><a href="#state" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>state</span></a><a href="#textureOptions" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>texture<wbr/>Options</span></a><a href="#videoTexture" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>video<wbr/>Texture</span></a><a href="#viewport" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>viewport</span></a><a href="#xrCustomObjectsScene" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>xr<wbr/>Custom<wbr/>Objects<wbr/>Scene</span></a><a href="#Mode" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>Mode</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="tsd-otp-Accessors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Accessors</summary><div><a href="#enableEDL" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>enableEDL</span></a><a href="#enableHQ" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>enableHQ</span></a><a href="#enableIOSEDR" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>enableIOSEDR</span></a><a href="#enablePostProcessing" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>enable<wbr/>Post<wbr/>Processing</span></a><a href="#helperVisible" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>helper<wbr/>Visible</span></a><a href="#internalLightsEnabled" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>internal<wbr/>Lights<wbr/>Enabled</span></a><a href="#model-1" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>model</span></a><a href="#models" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>models</span></a><a href="#observers" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>observers</span></a><a href="#panoIndex" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>pano<wbr/>Index</span></a><a href="#renderEffect" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>render<wbr/>Effect</span></a><a href="#scissor" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>scissor</span></a><a href="#work" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>work</span></a><a href="#works" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>works</span></a><a href="#dracoPath" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>draco<wbr/>Path</span></a><a href="#ktx2Path" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>ktx2<wbr/>Path</span></a><a href="#version" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>version</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="tsd-otp-Methods"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Methods</summary><div><a href="#addExtraElement" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>add<wbr/>Extra<wbr/>Element</span></a><a href="#appendTo" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>append<wbr/>To</span></a><a href="#changeMode" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>change<wbr/>Mode</span></a><a href="#dispose" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>dispose</span></a><a href="#emit" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>emit</span></a><a href="#exitFullscreen" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>exit<wbr/>Fullscreen</span></a><a href="#getCameraLocal" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Camera<wbr/>Local</span></a><a href="#getCurrentState" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Current<wbr/>State</span></a><a href="#getDrawingBufferSize" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Drawing<wbr/>Buffer<wbr/>Size</span></a><a href="#getElement" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Element</span></a><a href="#getLongitudeAndLatitude" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Longitude<wbr/>And<wbr/>Latitude</span></a><a href="#getOffset" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Offset</span></a><a href="#getPixels" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Pixels</span></a><a href="#getPose" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Pose</span></a><a href="#getSize" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Size</span></a><a href="#hasListener" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>has<wbr/>Listener</span></a><a href="#load" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>load</span></a><a href="#moveToPano" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>move<wbr/>To<wbr/>Pano</span></a><a href="#off" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>off</span></a><a href="#on" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>on</span></a><a href="#once" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>once</span></a><a href="#pause" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>pause</span></a><a href="#play" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>play</span></a><a href="#preloadPano" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>preload<wbr/>Pano</span></a><a href="#project2d" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>project2d</span></a><a href="#ready" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>ready</span></a><a href="#refresh" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>refresh</span></a><a href="#removeExtraElement" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>remove<wbr/>Extra<wbr/>Element</span></a><a href="#render" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>render</span></a><a href="#requestFullscreen" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>request<wbr/>Fullscreen</span></a><a href="#reset" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>reset</span></a><a href="#reset_" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>reset_</span></a><a href="#setScissor" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Scissor</span></a><a href="#setState" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>State</span></a><a href="#setViewport" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Viewport</span></a><a href="#updateCamera" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>update<wbr/>Camera</span></a><a href="#updateCameraWithKeyframes" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>update<wbr/>Camera<wbr/>With<wbr/>Keyframes</span></a><a href="#updateConfiguration" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>update<wbr/>Configuration</span></a><a href="#updateTime" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>update<wbr/>Time</span></a><a href="#waitUntil" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>wait<wbr/>Until</span></a></div></details></div></details></div><div class="site-menu"><nav class="tsd-navigation"><a href="../index.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>如视 Five SDK</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>
|
|
306
|
+
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="five.Subscribe.html">Subscribe</a>.<a href="five.Subscribe.html#waitUntil">waitUntil</a></p><ul><li>Defined in lib/five/utils/subscribe.ts:155</li></ul></aside></li></ul></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div><details open class="tsd-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>On This Page</h3></summary><div class="tsd-accordion-details"><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="tsd-otp-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Constructors</summary><div><a href="#constructor" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="tsd-otp-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Properties</summary><div><a href="#backgroundAlpha" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>background<wbr/>Alpha</span></a><a href="#backgroundColor" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>background<wbr/>Color</span></a><a href="#camera" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>camera</span></a><a href="#currentMode" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>current<wbr/>Mode</span></a><a href="#enableLayeringRendering" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>enable<wbr/>Layering<wbr/>Rendering</span></a><a href="#ident" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>ident</span></a><a href="#imageOptions" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>image<wbr/>Options</span></a><a href="#modelScene" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>model<wbr/>Scene</span></a><a href="#modelSceneNeedsRender" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>model<wbr/>Scene<wbr/>Needs<wbr/>Render</span></a><a href="#needsRender" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>needs<wbr/>Render</span></a><a href="#onlyRenderIfNeeds" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>only<wbr/>Render<wbr/>If<wbr/>Needs</span></a><a href="#pano" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>pano</span></a><a href="#paused" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>paused</span></a><a href="#plugins" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>plugins</span></a><a href="#poweredByRealsee" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>powered<wbr/>By<wbr/>Realsee</span></a><a href="#renderer" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>renderer</span></a><a href="#scene" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>scene</span></a><a href="#state" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>state</span></a><a href="#textureOptions" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>texture<wbr/>Options</span></a><a href="#videoTexture" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>video<wbr/>Texture</span></a><a href="#viewport" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>viewport</span></a><a href="#xrCustomObjectsScene" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>xr<wbr/>Custom<wbr/>Objects<wbr/>Scene</span></a><a href="#Mode" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>Mode</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="tsd-otp-Accessors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Accessors</summary><div><a href="#enableEDL" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>enableEDL</span></a><a href="#enableHQ" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>enableHQ</span></a><a href="#enableIOSEDR" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>enableIOSEDR</span></a><a href="#enablePostProcessing" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>enable<wbr/>Post<wbr/>Processing</span></a><a href="#helperVisible" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>helper<wbr/>Visible</span></a><a href="#internalLightsEnabled" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>internal<wbr/>Lights<wbr/>Enabled</span></a><a href="#model-1" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>model</span></a><a href="#models" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>models</span></a><a href="#observers" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>observers</span></a><a href="#panoIndex" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>pano<wbr/>Index</span></a><a href="#renderEffect" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>render<wbr/>Effect</span></a><a href="#scissor" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>scissor</span></a><a href="#work" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>work</span></a><a href="#works" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>works</span></a><a href="#dracoPath" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>draco<wbr/>Path</span></a><a href="#ktx2Path" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>ktx2<wbr/>Path</span></a><a href="#version" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>version</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="tsd-otp-Methods"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Methods</summary><div><a href="#addExtraElement" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>add<wbr/>Extra<wbr/>Element</span></a><a href="#appendTo" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>append<wbr/>To</span></a><a href="#changeMode" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>change<wbr/>Mode</span></a><a href="#dispose" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>dispose</span></a><a href="#emit" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>emit</span></a><a href="#exitFullscreen" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>exit<wbr/>Fullscreen</span></a><a href="#getCameraLocal" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Camera<wbr/>Local</span></a><a href="#getCurrentState" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Current<wbr/>State</span></a><a href="#getDrawingBufferSize" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Drawing<wbr/>Buffer<wbr/>Size</span></a><a href="#getElement" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Element</span></a><a href="#getLongitudeAndLatitude" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Longitude<wbr/>And<wbr/>Latitude</span></a><a href="#getOffset" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Offset</span></a><a href="#getPixels" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Pixels</span></a><a href="#getPose" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Pose</span></a><a href="#getSize" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Size</span></a><a href="#hasListener" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>has<wbr/>Listener</span></a><a href="#load" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>load</span></a><a href="#moveToPano" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>move<wbr/>To<wbr/>Pano</span></a><a href="#off" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>off</span></a><a href="#on" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>on</span></a><a href="#once" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>once</span></a><a href="#pause" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>pause</span></a><a href="#play" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>play</span></a><a href="#preloadPano" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>preload<wbr/>Pano</span></a><a href="#project2d" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>project2d</span></a><a href="#ready" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>ready</span></a><a href="#refresh" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>refresh</span></a><a href="#removeExtraElement" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>remove<wbr/>Extra<wbr/>Element</span></a><a href="#render" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>render</span></a><a href="#requestFullscreen" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>request<wbr/>Fullscreen</span></a><a href="#reset" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>reset</span></a><a href="#reset_" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>reset_</span></a><a href="#setScissor" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Scissor</span></a><a href="#setState" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>State</span></a><a href="#setViewport" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Viewport</span></a><a href="#updateCamera" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>update<wbr/>Camera</span></a><a href="#updateCameraWithKeyframes" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>update<wbr/>Camera<wbr/>With<wbr/>Keyframes</span></a><a href="#updateConfiguration" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>update<wbr/>Configuration</span></a><a href="#updateTime" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>update<wbr/>Time</span></a><a href="#waitUntil" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>wait<wbr/>Until</span></a></div></details></div></details></div><div class="site-menu"><nav class="tsd-navigation"><a href="../index.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>如视 Five SDK</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>
|