@galacean/engine-design 1.1.0-beta.1 → 1.1.0-beta.10
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-design",
|
|
3
|
-
"version": "1.1.0-beta.
|
|
3
|
+
"version": "1.1.0-beta.10",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"registry": "https://registry.npmjs.org"
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
],
|
|
15
15
|
"types": "types/index.d.ts",
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@galacean/engine-math": "1.1.0-beta.
|
|
17
|
+
"@galacean/engine-math": "1.1.0-beta.10"
|
|
18
18
|
},
|
|
19
19
|
"scripts": {
|
|
20
20
|
"b:types": "tsc"
|
|
@@ -19,7 +19,7 @@ export interface IHingeJoint extends IJoint {
|
|
|
19
19
|
/**
|
|
20
20
|
* The angular velocity of the joint in degrees per second.
|
|
21
21
|
*/
|
|
22
|
-
getVelocity(): Readonly<
|
|
22
|
+
getVelocity(): Readonly<number>;
|
|
23
23
|
/**
|
|
24
24
|
* Set a cone hard limit.
|
|
25
25
|
* @param lowerLimit The lower angle of the limit
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
interface IRenderStatePropertyItemInfo {
|
|
2
|
-
property: string;
|
|
3
|
-
value: any;
|
|
4
|
-
index?: number;
|
|
5
|
-
}
|
|
6
|
-
export interface IRenderStateInfo {
|
|
7
|
-
renderStateType: "BlendState" | "DepthState" | "StencilState" | "RasterState";
|
|
8
|
-
properties: Array<IRenderStatePropertyItemInfo>;
|
|
9
|
-
}
|
|
10
|
-
export {};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Shader lab interface.
|
|
3
|
-
*/
|
|
4
|
-
export interface IShaderLab {
|
|
5
|
-
parseShader(shaderSource: string): IShaderInfo;
|
|
6
|
-
}
|
|
7
|
-
export interface IShaderInfo {
|
|
8
|
-
name: string;
|
|
9
|
-
subShaders: ISubShaderInfo[];
|
|
10
|
-
}
|
|
11
|
-
export interface ISubShaderInfo {
|
|
12
|
-
passes: IShaderPassInfo[];
|
|
13
|
-
tags?: Record<string, number | string | boolean>;
|
|
14
|
-
}
|
|
15
|
-
export interface IShaderPassInfo {
|
|
16
|
-
name: string;
|
|
17
|
-
vert: string;
|
|
18
|
-
frag: string;
|
|
19
|
-
tags?: Record<string, number | string | boolean>;
|
|
20
|
-
renderStates: Record<string, any>;
|
|
21
|
-
}
|