@galacean/engine-core 0.9.3 → 0.9.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@galacean/engine-core",
3
- "version": "0.9.3",
3
+ "version": "0.9.5",
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": "0.9.3"
18
+ "@galacean/engine-math": "0.9.5"
19
19
  },
20
20
  "devDependencies": {
21
- "@galacean/engine-design": "0.9.3"
21
+ "@galacean/engine-design": "0.9.5"
22
22
  },
23
23
  "scripts": {
24
24
  "b:types": "tsc"
@@ -2,5 +2,4 @@ import { Engine } from "../Engine";
2
2
  import { ReferResource } from "./ReferResource";
3
3
  export declare abstract class GraphicsResource extends ReferResource {
4
4
  protected constructor(engine: Engine);
5
- protected _onDestroy(): void;
6
5
  }
@@ -19,5 +19,4 @@ export declare abstract class ReferResource extends EngineObject implements IRef
19
19
  * @returns Whether the release was successful.
20
20
  */
21
21
  destroy(force?: boolean): boolean;
22
- protected _onDestroy(): void;
23
22
  }
@@ -8,13 +8,22 @@ export declare class PBRMaterial extends PBRBaseMaterial {
8
8
  private static _metallicProp;
9
9
  private static _roughnessProp;
10
10
  private static _roughnessMetallicTextureProp;
11
+ private static _iorProp;
11
12
  /**
12
- * Metallic, default 1.0.
13
+ * Index Of Refraction.
14
+ * @defaultValue `1.5`
15
+ */
16
+ get ior(): number;
17
+ set ior(v: number);
18
+ /**
19
+ * Metallic.
20
+ * @defaultValue `1.0`
13
21
  */
14
22
  get metallic(): number;
15
23
  set metallic(value: number);
16
24
  /**
17
- * Roughness, default 1.0.
25
+ * Roughness. default 1.0.
26
+ * @defaultValue `1.0`
18
27
  */
19
28
  get roughness(): number;
20
29
  set roughness(value: number);