@galacean/engine-core 2.0.0-alpha.6 → 2.0.0-alpha.7
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/main.js +5 -46
- package/dist/main.js.map +1 -1
- package/dist/module.js +5 -46
- package/dist/module.js.map +1 -1
- package/package.json +3 -3
- package/types/lighting/AmbientLight.d.ts +0 -8
- package/types/sky/SkyBoxMaterial.d.ts +0 -7
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@galacean/engine-core",
|
|
3
|
-
"version": "2.0.0-alpha.
|
|
3
|
+
"version": "2.0.0-alpha.7",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"registry": "https://registry.npmjs.org"
|
|
@@ -18,10 +18,10 @@
|
|
|
18
18
|
"types/**/*"
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@galacean/engine-math": "2.0.0-alpha.
|
|
21
|
+
"@galacean/engine-math": "2.0.0-alpha.7"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
|
-
"@galacean/engine-design": "2.0.0-alpha.
|
|
24
|
+
"@galacean/engine-design": "2.0.0-alpha.7"
|
|
25
25
|
},
|
|
26
26
|
"scripts": {
|
|
27
27
|
"b:types": "tsc"
|
|
@@ -9,7 +9,6 @@ import { DiffuseMode } from "./enums/DiffuseMode";
|
|
|
9
9
|
export declare class AmbientLight extends ReferResource {
|
|
10
10
|
private static _shMacro;
|
|
11
11
|
private static _specularMacro;
|
|
12
|
-
private static _decodeRGBMMacro;
|
|
13
12
|
private static _diffuseColorProperty;
|
|
14
13
|
private static _diffuseSHProperty;
|
|
15
14
|
private static _diffuseIntensityProperty;
|
|
@@ -24,12 +23,6 @@ export declare class AmbientLight extends ReferResource {
|
|
|
24
23
|
private _diffuseMode;
|
|
25
24
|
private _shArray;
|
|
26
25
|
private _scenes;
|
|
27
|
-
private _specularTextureDecodeRGBM;
|
|
28
|
-
/**
|
|
29
|
-
* Whether to decode from specularTexture with RGBM format.
|
|
30
|
-
*/
|
|
31
|
-
get specularTextureDecodeRGBM(): boolean;
|
|
32
|
-
set specularTextureDecodeRGBM(value: boolean);
|
|
33
26
|
/**
|
|
34
27
|
* Diffuse mode of ambient light.
|
|
35
28
|
*/
|
|
@@ -65,6 +58,5 @@ export declare class AmbientLight extends ReferResource {
|
|
|
65
58
|
constructor(engine: Engine);
|
|
66
59
|
private _setDiffuseMode;
|
|
67
60
|
private _setSpecularTexture;
|
|
68
|
-
private _setSpecularTextureDecodeRGBM;
|
|
69
61
|
private _preComputeSH;
|
|
70
62
|
}
|
|
@@ -10,14 +10,7 @@ export declare class SkyBoxMaterial extends Material {
|
|
|
10
10
|
private static _textureCubeProp;
|
|
11
11
|
private static _rotationProp;
|
|
12
12
|
private static _exposureProp;
|
|
13
|
-
private static _decodeSkyRGBMMacro;
|
|
14
|
-
private _textureDecodeRGBM;
|
|
15
13
|
private _tintColor;
|
|
16
|
-
/**
|
|
17
|
-
* Whether to decode texture with RGBM format.
|
|
18
|
-
*/
|
|
19
|
-
get textureDecodeRGBM(): boolean;
|
|
20
|
-
set textureDecodeRGBM(value: boolean);
|
|
21
14
|
/**
|
|
22
15
|
* Texture of the sky box material.
|
|
23
16
|
*/
|