@realsee/dnalogel 3.73.1-alpha.1 → 3.73.1-alpha.3

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.
@@ -9,7 +9,12 @@ export declare class PlaneTag<C extends TagContentType = TagContentType> extends
9
9
  rectanglePlane?: Rectangle;
10
10
  private _floorIndex?;
11
11
  private _floorIndexDirty;
12
+ private _opacity?;
12
13
  constructor(plugin: PanoTagPluginController, tagData: TagData);
14
+ /** 获取透明度 */
15
+ get opacity(): number;
16
+ /** 设置透明度 (0-1) */
17
+ set opacity(value: number);
13
18
  /** 获取楼层索引(惰性计算 + 缓存) */
14
19
  get floorIndex(): number | undefined;
15
20
  /** 标记 floorIndex 需要重新计算(在位置等相关数据变化时调用) */
@@ -28,6 +28,7 @@ declare class ImagePlane extends MediaPlane {
28
28
  constructor(imageSrc: string, cornerPoints: Vector3[], params?: {
29
29
  objectFit?: ObjectFit;
30
30
  resolveZFighting?: boolean;
31
+ opacity?: number;
31
32
  });
32
33
  changePointsOrParams(props: {
33
34
  cornerPoints: Vector3[];
@@ -52,6 +53,7 @@ declare class VideoPlane extends MediaPlane {
52
53
  private buttonMesh?;
53
54
  private videoTextureMap;
54
55
  private ImageTextureMap;
56
+ private initialOpacity;
55
57
  constructor(videoSrc: string, cornerPoints: Vector3[], params?: {
56
58
  paused?: boolean;
57
59
  playButton?: 'withText' | 'withoutText' | string;
@@ -63,6 +65,7 @@ declare class VideoPlane extends MediaPlane {
63
65
  transparent: boolean;
64
66
  }>;
65
67
  domEvents?: FiveDomEvents;
68
+ opacity?: number;
66
69
  });
67
70
  play(muted?: boolean): Promise<void>;
68
71
  pause(): void;