@galacean/engine-core 0.0.0-experimental-animator-additive.3 → 0.0.0-experimental-animator-additive.4
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 +5071 -771
- package/dist/main.js.map +1 -1
- package/dist/miniprogram.js +55 -19
- package/dist/module.js +4590 -290
- package/dist/module.js.map +1 -1
- package/package.json +3 -3
- package/types/material/PBRMaterial.d.ts +11 -2
- package/types/mesh/MeshRenderer.d.ts +8 -2
- package/types/shadow/CascadedShadowCasterPass.d.ts +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@galacean/engine-core",
|
|
3
|
-
"version": "0.0.0-experimental-animator-additive.
|
|
3
|
+
"version": "0.0.0-experimental-animator-additive.4",
|
|
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.0.0-experimental-animator-additive.
|
|
18
|
+
"@galacean/engine-math": "0.0.0-experimental-animator-additive.4"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
|
-
"@galacean/engine-design": "0.0.0-experimental-animator-additive.
|
|
21
|
+
"@galacean/engine-design": "0.0.0-experimental-animator-additive.4"
|
|
22
22
|
},
|
|
23
23
|
"scripts": {
|
|
24
24
|
"b:types": "tsc"
|
|
@@ -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
|
-
*
|
|
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
|
|
25
|
+
* Roughness. default 1.0.
|
|
26
|
+
* @defaultValue `1.0`
|
|
18
27
|
*/
|
|
19
28
|
get roughness(): number;
|
|
20
29
|
set roughness(value: number);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { BoundingBox } from "@galacean/engine-math";
|
|
2
|
+
import { RenderContext } from "../RenderPipeline/RenderContext";
|
|
3
|
+
import { Renderer } from "../Renderer";
|
|
2
4
|
import { ICustomClone } from "../clone/ComponentCloner";
|
|
3
5
|
import { Mesh } from "../graphic/Mesh";
|
|
4
|
-
import { Renderer } from "../Renderer";
|
|
5
|
-
import { RenderContext } from "../RenderPipeline/RenderContext";
|
|
6
6
|
/**
|
|
7
7
|
* MeshRenderer Component.
|
|
8
8
|
*/
|
|
@@ -12,11 +12,17 @@ export declare class MeshRenderer extends Renderer implements ICustomClone {
|
|
|
12
12
|
private static _normalMacro;
|
|
13
13
|
private static _tangentMacro;
|
|
14
14
|
private static _vertexColorMacro;
|
|
15
|
+
private _enableVertexColor;
|
|
15
16
|
/**
|
|
16
17
|
* Mesh assigned to the renderer.
|
|
17
18
|
*/
|
|
18
19
|
get mesh(): Mesh;
|
|
19
20
|
set mesh(value: Mesh);
|
|
21
|
+
/**
|
|
22
|
+
* Whether enable vertex color.
|
|
23
|
+
*/
|
|
24
|
+
get enableVertexColor(): boolean;
|
|
25
|
+
set enableVertexColor(value: boolean);
|
|
20
26
|
/**
|
|
21
27
|
* @override
|
|
22
28
|
*/
|
|
@@ -12,6 +12,7 @@ export declare class CascadedShadowCasterPass {
|
|
|
12
12
|
private static _shadowSplitSpheresProperty;
|
|
13
13
|
private static _maxCascades;
|
|
14
14
|
private static _cascadesSplitDistance;
|
|
15
|
+
private static _viewport;
|
|
15
16
|
private static _clearColor;
|
|
16
17
|
private static _tempVector;
|
|
17
18
|
private static _tempMatrix0;
|