@realsee/dnalogel 2.30.0 → 2.30.1

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.
@@ -1,4 +1,3 @@
1
- import type { BaseOptions } from '../base/BasePlugin';
2
1
  import type { Five } from '@realsee/five';
3
2
  import * as BasePlugin from '../base/BasePlugin';
4
3
  import type * as PluginType from './typings';
@@ -18,7 +17,12 @@ export declare class CurrentPanoImagePluginController extends BasePlugin.Control
18
17
  get disposed(): boolean;
19
18
  /** 查询问题使用的调试对象 */
20
19
  checkMsg: {
21
- meshVisible: string;
20
+ /** mesh 隐藏的原因 */
21
+ meshHidden: string;
22
+ /** 插件 enabled 校验信息 */
23
+ pluginDisabled: string;
24
+ /** 插件 visible 校验信息 */
25
+ pluginHidden: string;
22
26
  };
23
27
  private group;
24
28
  private mesh;
@@ -37,7 +41,7 @@ export declare class CurrentPanoImagePluginController extends BasePlugin.Control
37
41
  * 启用插件,响应用户操作并展示UI
38
42
  * @param options
39
43
  */
40
- enable(options?: Required<BaseOptions>): void;
44
+ enable(options?: BasePlugin.BaseOptions): void;
41
45
  /** 禁用插件
42
46
  * @param `options` `<Option> | <undefined>`
43
47
  * @param `options.userAction` `<boolean> | <undefined>` 是否是用户操作。默认是 true。
@@ -69,7 +73,10 @@ export declare class CurrentPanoImagePluginController extends BasePlugin.Control
69
73
  * @todo 销毁贴图时,最好还是直接销毁贴图吧,this.mesh?.material.map 这种都是很深层的引用了。THREE 的建议我看也是自己去管理和销毁公共贴图。
70
74
  */
71
75
  dispose: () => void;
76
+ /** 问什么看不到模型 */
77
+ __whyCantSeeMesh(): string;
72
78
  private updateState;
79
+ /** 根据各种条件更新 Mesh 的可见性 */
73
80
  private updateMeshVisible;
74
81
  /** 根据点位更新 Mesh 坐标 */
75
82
  private updateMeshPosition;
@@ -84,10 +91,12 @@ export declare class CurrentPanoImagePluginController extends BasePlugin.Control
84
91
  private _hide;
85
92
  /** 贴图加载完成的回调 */
86
93
  private onTextureLoaded;
94
+ /** Five load Work 后 */
87
95
  private onFiveWillLoad;
88
96
  /** 走点前 */
89
97
  private onFivePanoWillArrive;
90
98
  /** 走点后 */
91
99
  private onFivePanoArrived;
100
+ private onMeshVisibleChange;
92
101
  private onFiveModeChange;
93
102
  }