@galacean/engine-core 1.4.0-beta.2 → 1.4.1

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": "1.4.0-beta.2",
3
+ "version": "1.4.1",
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-beta.2"
21
+ "@galacean/engine-math": "1.4.1"
22
22
  },
23
23
  "devDependencies": {
24
- "@galacean/engine-design": "1.4.0-beta.2"
24
+ "@galacean/engine-design": "1.4.1"
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 second shape to the first shape. */
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;
@@ -15,7 +15,7 @@ export declare class HingeJoint extends Joint {
15
15
  private _angle;
16
16
  private _velocity;
17
17
  /**
18
- * The anchor rotation.
18
+ * The Direction of the axis around which the hingeJoint.
19
19
  */
20
20
  get axis(): Vector3;
21
21
  set axis(value: Vector3);
@@ -57,4 +57,5 @@ export declare class HingeJoint extends Joint {
57
57
  protected _syncNative(): void;
58
58
  private _onMotorChanged;
59
59
  private _onLimitsChanged;
60
+ private _onAxisChanged;
60
61
  }
@@ -15,7 +15,6 @@ export declare abstract class Joint extends Component {
15
15
  private _force;
16
16
  private _torque;
17
17
  private _automaticConnectedAnchor;
18
- private _updateConnectedActualAnchor;
19
18
  /**
20
19
  * The connected collider.
21
20
  */
@@ -72,6 +71,7 @@ export declare abstract class Joint extends Component {
72
71
  protected abstract _createJoint(): void;
73
72
  protected _syncNative(): void;
74
73
  private _calculateConnectedAnchor;
74
+ private _handleConnectedAnchorChanged;
75
75
  private _onSelfTransformChanged;
76
76
  private _onConnectedTransformChanged;
77
77
  private _updateActualAnchor;
@@ -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 renderOverlay(engine: Engine, uiCanvases: DisorderedArray<IUICanvas>): void;
9
+ private static _overlayCamera;
10
+ static renderOverlay(engine: Engine, scene: Scene, uiCanvases: DisorderedArray<IUICanvas>): void;
9
11
  }