@galacean/engine-core 1.1.0-beta.47 → 1.1.0-beta.49

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.1.0-beta.47",
3
+ "version": "1.1.0-beta.49",
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": "1.1.0-beta.47"
18
+ "@galacean/engine-math": "1.1.0-beta.49"
19
19
  },
20
20
  "devDependencies": {
21
- "@galacean/engine-design": "1.1.0-beta.47"
21
+ "@galacean/engine-design": "1.1.0-beta.49"
22
22
  },
23
23
  "scripts": {
24
24
  "b:types": "tsc"
@@ -1,5 +1,6 @@
1
1
  import { Entity } from "../Entity";
2
2
  import { Vector3 } from "@galacean/engine-math";
3
+ import { ColliderShape } from "./shape";
3
4
  /**
4
5
  * Structure used to get information back from a raycast or a sweep.
5
6
  */
@@ -12,4 +13,6 @@ export declare class HitResult {
12
13
  point: Vector3;
13
14
  /** The normal of the surface the ray hit. */
14
15
  normal: Vector3;
16
+ /** The shape of the collider that was hit. */
17
+ shape: ColliderShape;
15
18
  }