archgine 1.0.26 → 1.0.28

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.
@@ -47,7 +47,8 @@ export default class Camera2<Config extends ICamera2Config = ICamera2Config> ext
47
47
  get pixelWidth(): number;
48
48
  set(l?: number, r?: number, t?: number, b?: number): void;
49
49
  setByBox(box: Box2): void;
50
- resize(w: number, h: number): void;
50
+ resize(): void;
51
+ setSize(w: number, h: number): void;
51
52
  getWorldDirection(target: Vector2): Vector2;
52
53
  /** @override */
53
54
  updateMatrixWorld(force?: boolean): void;
@@ -3999,7 +3999,7 @@ Ss.__DOMHandler = mi;
3999
3999
  Ss.normalizeLineEndings = Hc;
4000
4000
  Ss.DOMParser = Vc;
4001
4001
  var Fy = Ss.DOMParser;
4002
- const Uy = "1.0.26";
4002
+ const Uy = "1.0.28";
4003
4003
  function qy() {
4004
4004
  return typeof window < "u" && ({}.toString.call(window) === "[object Window]" || {}.toString.call(window) === "[object global]");
4005
4005
  }
@@ -18,6 +18,7 @@ export declare class App<Config extends IAppConfig> extends Application<Config>
18
18
  private initializeCompleteHandler;
19
19
  constructor(config?: Config);
20
20
  destroy(): void;
21
+ resize(): void;
21
22
  load(url: string, layers?: string[], lv?: number): Promise<TLayer[]>;
22
23
  getLayers(): TLayer[] | undefined;
23
24
  updateLayersVisibility(ids: string[], visible?: boolean): void;
@@ -36,6 +37,7 @@ export declare class App<Config extends IAppConfig> extends Application<Config>
36
37
  multiSelectEnableChanged(v: boolean): void;
37
38
  selectEnableChanged(v: boolean): void;
38
39
  selectByIds(ids: string | string[]): void;
40
+ getSelectedIds(): string[] | undefined;
39
41
  targetByIds(id: string | string[]): void;
40
42
  setAssetLabels(id: string, labels?: string[]): void;
41
43
  clearFill(): void;
@@ -3,6 +3,7 @@ export interface IApp {
3
3
  addEventListener(type: string, listener: Function): void;
4
4
  removeEventListener(type: string, listener: Function): void;
5
5
  destroy(): void;
6
+ resize(): void;
6
7
  start(): void;
7
8
  load(url: string, layers?: string[], lv?: number, skeletons?: string[]): any;
8
9
  setSkeletons(skeletons: string[]): void;
@@ -11,6 +12,7 @@ export interface IApp {
11
12
  setAssetType(assetType: string, conflictLayers?: string[]): void;
12
13
  updateLayersVisibility(ids: string[], visible?: boolean): void;
13
14
  selectByIds(ids: string | string[]): void;
15
+ getSelectedIds(): string[] | undefined;
14
16
  targetByIds(id: string | string[]): void;
15
17
  setFillByIds(ids: string[], c: string): void;
16
18
  clearFill(): void;
@@ -37,6 +37,7 @@ export declare class SvgApp<Config extends ISvgAppConfig> extends EventDispatche
37
37
  constructor(config?: Config);
38
38
  get isLoadingScene(): boolean;
39
39
  destroy(): void;
40
+ resize(): void;
40
41
  isScene(scene: Scene): boolean;
41
42
  removeScene(scene: Scene): void;
42
43
  trans2MainScene(): void;
@@ -49,6 +50,7 @@ export declare class SvgApp<Config extends ISvgAppConfig> extends EventDispatche
49
50
  getLayers(lv?: number): TLayer[] | undefined;
50
51
  updateLayersVisibility(ids: string[], visible?: boolean): void;
51
52
  selectByIds(ids: string | string[]): void;
53
+ getSelectedIds(): string[] | undefined;
52
54
  targetByIds(ids: string | string[]): void;
53
55
  setViewAreaLimit(v: number): void;
54
56
  setAssetType(assetType: string, conflictLayers?: string[]): void;