@babylonjs/inspector 8.56.1 → 9.0.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.
Files changed (2) hide show
  1. package/lib/index.d.ts +5 -3
  2. package/package.json +8 -8
package/lib/index.d.ts CHANGED
@@ -34148,14 +34148,16 @@ declare class PhysicsBody {
34148
34148
  getGeometry(): object;
34149
34149
  /**
34150
34150
  * Returns an observable that will be notified for when a collision starts or continues for this PhysicsBody
34151
+ * @param instanceIndex - optionally, the index of the instance in the body
34151
34152
  * @returns Observable
34152
34153
  */
34153
- getCollisionObservable(): Observable<IPhysicsCollisionEvent>;
34154
+ getCollisionObservable(instanceIndex?: number): Observable<IPhysicsCollisionEvent>;
34154
34155
  /**
34155
34156
  * Returns an observable that will be notified when the body has finished colliding with another body
34156
- * @returns
34157
+ * @param instanceIndex - optionally, the index of the instance in the body
34158
+ * @returns Observable
34157
34159
  */
34158
- getCollisionEndedObservable(): Observable<IBasePhysicsCollisionEvent>;
34160
+ getCollisionEndedObservable(instanceIndex?: number): Observable<IBasePhysicsCollisionEvent>;
34159
34161
  /**
34160
34162
  * Enable or disable collision callback for this PhysicsBody.
34161
34163
  * @param enabled true if PhysicsBody's collision will rise a collision event and notifies the observable
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@babylonjs/inspector",
3
- "version": "8.56.1",
3
+ "version": "9.0.0",
4
4
  "main": "lib/index.js",
5
5
  "module": "lib/index.js",
6
6
  "esnext": "lib/index.js",
@@ -27,13 +27,13 @@
27
27
  "pack": "npm run build && npm pack"
28
28
  },
29
29
  "peerDependencies": {
30
- "@babylonjs/addons": "^8.0.0",
31
- "@babylonjs/core": "^8.0.0",
32
- "@babylonjs/gui": "^8.0.0",
33
- "@babylonjs/gui-editor": "^8.0.0",
34
- "@babylonjs/loaders": "^8.0.0",
35
- "@babylonjs/materials": "^8.0.0",
36
- "@babylonjs/serializers": "^8.0.0",
30
+ "@babylonjs/addons": "^9.0.0",
31
+ "@babylonjs/core": "^9.0.0",
32
+ "@babylonjs/gui": "^9.0.0",
33
+ "@babylonjs/gui-editor": "^9.0.0",
34
+ "@babylonjs/loaders": "^9.0.0",
35
+ "@babylonjs/materials": "^9.0.0",
36
+ "@babylonjs/serializers": "^9.0.0",
37
37
  "@fluentui-contrib/react-virtualizer": "^1.0.0",
38
38
  "@fluentui/react-components": "^9.70.0",
39
39
  "@fluentui/react-icons": "^2.0.310",