@galacean/engine-core 1.0.0-beta.15 → 1.0.0-beta.16

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@galacean/engine-core",
3
- "version": "1.0.0-beta.15",
3
+ "version": "1.0.0-beta.16",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"
@@ -15,10 +15,10 @@
15
15
  "types/**/*"
16
16
  ],
17
17
  "dependencies": {
18
- "@galacean/engine-math": "1.0.0-beta.15"
18
+ "@galacean/engine-math": "1.0.0-beta.16"
19
19
  },
20
20
  "devDependencies": {
21
- "@galacean/engine-design": "1.0.0-beta.15"
21
+ "@galacean/engine-design": "1.0.0-beta.16"
22
22
  },
23
23
  "scripts": {
24
24
  "b:types": "tsc"
@@ -100,4 +100,7 @@ export declare class Sprite extends ReferResource {
100
100
  private _updatePositions;
101
101
  private _updateUVs;
102
102
  private _dispatchSpriteChange;
103
+ private _onRegionChange;
104
+ private _onPivotChange;
105
+ private _onBorderChange;
103
106
  }
@@ -7,11 +7,12 @@ export declare class DisorderedArray<T> {
7
7
  constructor(count?: number);
8
8
  add(element: T): void;
9
9
  delete(element: T): void;
10
+ set(index: number, element: T): void;
10
11
  get(index: number): T;
11
12
  /**
12
- *
13
- * @param index
14
- * @returns The replaced item is used to reset its index.
13
+ * Delete the element at the specified index.
14
+ * @param index - The index of the element to be deleted
15
+ * @returns The replaced item is used to reset its index
15
16
  */
16
17
  deleteByIndex(index: number): T;
17
18
  garbageCollection(): void;
@@ -1,10 +1,12 @@
1
1
  import { Color, SphericalHarmonics3 } from "@galacean/engine-math";
2
2
  import { TextureCube } from "../texture";
3
3
  import { DiffuseMode } from "./enums/DiffuseMode";
4
+ import { ReferResource } from "../asset/ReferResource";
5
+ import { Engine } from "../Engine";
4
6
  /**
5
7
  * Ambient light.
6
8
  */
7
- export declare class AmbientLight {
9
+ export declare class AmbientLight extends ReferResource {
8
10
  private static _shMacro;
9
11
  private static _specularMacro;
10
12
  private static _decodeRGBMMacro;
@@ -60,6 +62,7 @@ export declare class AmbientLight {
60
62
  */
61
63
  get specularIntensity(): number;
62
64
  set specularIntensity(value: number);
65
+ constructor(engine: Engine);
63
66
  private _setDiffuseMode;
64
67
  private _setSpecularTexture;
65
68
  private _setSpecularTextureDecodeRGBM;
@@ -2,4 +2,5 @@
2
2
  * Light manager.
3
3
  */
4
4
  export declare class LightManager {
5
+ private _getSunLightIndex;
5
6
  }