@galacean/engine-core 1.4.0-beta.1 → 1.4.0
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 +41 -35
- package/dist/main.js.map +1 -1
- package/dist/module.js +41 -35
- package/dist/module.js.map +1 -1
- package/package.json +3 -3
- package/types/physics/ContactPoint.d.ts +1 -1
- package/types/ui/UIUtils.d.ts +3 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@galacean/engine-core",
|
|
3
|
-
"version": "1.4.0
|
|
3
|
+
"version": "1.4.0",
|
|
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": "1.4.0
|
|
21
|
+
"@galacean/engine-math": "1.4.0"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
|
-
"@galacean/engine-design": "1.4.0
|
|
24
|
+
"@galacean/engine-design": "1.4.0"
|
|
25
25
|
},
|
|
26
26
|
"scripts": {
|
|
27
27
|
"b:types": "tsc"
|
|
@@ -5,7 +5,7 @@ import { Vector3 } from "@galacean/engine-math";
|
|
|
5
5
|
export declare class ContactPoint {
|
|
6
6
|
/** The position of the contact point between the shapes, in world space. */
|
|
7
7
|
readonly position: Vector3;
|
|
8
|
-
/** The normal of the contacting surfaces at the contact point. The normal direction points from the
|
|
8
|
+
/** The normal of the contacting surfaces at the contact point. The normal direction points from the other shape to the self shape. */
|
|
9
9
|
readonly normal: Vector3;
|
|
10
10
|
/** The impulse applied at the contact point, in world space. Divide by the simulation time step to get a force value. */
|
|
11
11
|
readonly impulse: Vector3;
|
package/types/ui/UIUtils.d.ts
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { Engine } from "../Engine";
|
|
2
|
+
import { Scene } from "../Scene";
|
|
2
3
|
import { DisorderedArray } from "../utils/DisorderedArray";
|
|
3
4
|
import { IUICanvas } from "./IUICanvas";
|
|
4
5
|
export declare class UIUtils {
|
|
5
6
|
private static _renderQueue;
|
|
6
7
|
private static _virtualCamera;
|
|
7
8
|
private static _viewport;
|
|
8
|
-
static
|
|
9
|
+
private static _overlayCamera;
|
|
10
|
+
static renderOverlay(engine: Engine, scene: Scene, uiCanvases: DisorderedArray<IUICanvas>): void;
|
|
9
11
|
}
|