@reall3d/reall3dviewer 2.4.3 → 2.4.5

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/dist/pkg.d.ts CHANGED
@@ -57,10 +57,10 @@ export declare interface CameraInfo {
57
57
  declare class Events {
58
58
  private map;
59
59
  constructor();
60
- on(key: number, fn?: Function, multiFn?: boolean): Function | Function[];
61
- fire(key: number, ...args: any): any;
62
- tryFire(key: number, ...args: any): any;
63
- off(key: number): void;
60
+ on(key: number | string, fn?: Function, multiFn?: boolean): Function | Function[];
61
+ fire(key: number | string, ...args: any): any;
62
+ tryFire(key: number | string, ...args: any): any;
63
+ off(key: number | string): void;
64
64
  clear(): void;
65
65
  }
66
66
 
@@ -553,6 +553,14 @@ export declare class SplatMesh extends Mesh {
553
553
  */
554
554
  addModel(opts: ModelOptions, meta?: MetaData): void;
555
555
  fire(key: number, ...args: any): any;
556
+ /**
557
+ * 设定点云或正常显示模式
558
+ */
559
+ setPointMode(isPointMode: boolean): void;
560
+ /**
561
+ * 光圈过渡效果切换点云或正常显示模式
562
+ */
563
+ switchDisplayMode(): void;
556
564
  /**
557
565
  * 销毁
558
566
  */