@realsee/dnalogel 3.50.12 → 3.50.13

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/CHANGELOG.md CHANGED
@@ -1,4 +1,7 @@
1
1
  # CHANGELOG
2
+ ## 3.50.13
3
+ - fix(PanoTagPlugin): 修复 load 完后立即 clearTags 时,虚拟屏幕没有被清除的问题。
4
+
2
5
  ## 3.50.12
3
6
  - chore(Sculpt): fix typo `createline`
4
7
 
@@ -153,8 +153,8 @@ export declare abstract class BaseTag<C extends TagContentType = TagContentType,
153
153
  }): TagConfig;
154
154
  getDistance(fiveState?: Partial<FiveState>, accurate?: number): number;
155
155
  getVisible(fiveState?: Partial<FiveState>): boolean;
156
- getUnfoldedByPanoIndex(panoIndex?: number): any;
157
- getUnfoldedByCamera(): any;
156
+ getUnfoldedByPanoIndex(panoIndex?: number): boolean;
157
+ getUnfoldedByCamera(): boolean;
158
158
  can(action: 'show' | 'hide' | 'fold' | 'unfold'): boolean;
159
159
  onClick(params: Pick<TagClickParams, 'target'>): void;
160
160
  abstract computeNormal(): THREE.Vector3 | undefined;
@@ -204,7 +204,7 @@ export declare abstract class BaseTag<C extends TagContentType = TagContentType,
204
204
  * @description 获取是否展开
205
205
  */
206
206
  protected computeUnfoldedByPanoIndex(panoIndex?: number): boolean;
207
- protected computeUnfoldedByCamera(): any;
207
+ protected computeUnfoldedByCamera(): boolean;
208
208
  protected computeTagProject(): {
209
209
  x: number;
210
210
  y: number;
@@ -29,7 +29,6 @@ export declare abstract class TagRender extends TagUtil {
29
29
  usePoint?: boolean;
30
30
  }): void;
31
31
  bindRenderer(contentType: string, builtInRenderer: TagContentType): void;
32
- clearTags(): void;
33
32
  /**
34
33
  * @description 渲染3D贴片
35
34
  */
@@ -39,8 +38,6 @@ export declare abstract class TagRender extends TagUtil {
39
38
  * @param model 模型
40
39
  */
41
40
  updateTagCss3DObjectMatrix<S extends 'Model' | 'Plane' = 'Model'>(tag: TagInstance<TagContentType, S>, model: Object3D): void;
42
- /** 添加模型标签 */
43
- protected addMediaModelTag(tags: TagInstance[]): Promise<void>;
44
41
  protected disposeAllCSS3DContainer(): void;
45
42
  /**
46
43
  * @description 检查并销毁不用的3D贴片
@@ -111,6 +111,10 @@ declare class PanoTagPluginController extends TagRender {
111
111
  * @deprecated
112
112
  */
113
113
  updateRenderAllTags(): void;
114
+ /**
115
+ * @description 清除所有标签
116
+ */
117
+ clearTags(): void;
114
118
  /**
115
119
  * @description 设置 unfolded
116
120
  */
@@ -58,7 +58,7 @@ declare abstract class Controller<PluginState extends State = State, PluginEvent
58
58
  * @realsee/dnalogel 版本号
59
59
  */
60
60
  readonly VERSION: string;
61
- readonly NAME?: string;
61
+ NAME?: string;
62
62
  five: Five;
63
63
  workUtil: WorkUtil;
64
64
  fiveUtil: FiveUtil;