@babylonjs/inspector 8.8.0 → 8.8.2
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.
@@ -2282,6 +2282,77 @@ export class BoxEmitterGridComponent extends React.Component<IBoxEmitterGridComp
|
|
2282
2282
|
}
|
2283
2283
|
export {};
|
2284
2284
|
|
2285
|
+
}
|
2286
|
+
declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/particleSystems/attractorsGridComponent" {
|
2287
|
+
import * as React from "react";
|
2288
|
+
import { GlobalState } from "@babylonjs/inspector/components/globalState";
|
2289
|
+
import { LockObject } from "@babylonjs/inspector/tabs/propertyGrids/lockObject";
|
2290
|
+
import { ParticleSystem } from "@babylonjs/core/Particles/particleSystem";
|
2291
|
+
import { Attractor } from "@babylonjs/core/Particles/attractor";
|
2292
|
+
import { Color3 } from "@babylonjs/core/Maths/math.color";
|
2293
|
+
interface IAttractorsGridComponent {
|
2294
|
+
globalState: GlobalState;
|
2295
|
+
lockObject: LockObject;
|
2296
|
+
docLink?: string;
|
2297
|
+
host: ParticleSystem;
|
2298
|
+
}
|
2299
|
+
export class AttractorsGridComponent extends React.Component<IAttractorsGridComponent, {
|
2300
|
+
impostorScale: number;
|
2301
|
+
color: Color3;
|
2302
|
+
}> {
|
2303
|
+
private _impostorMaterial;
|
2304
|
+
private _gizmoManager;
|
2305
|
+
private _sceneOnBeforeRenderObserver;
|
2306
|
+
constructor(props: IAttractorsGridComponent);
|
2307
|
+
addNewAttractor(): void;
|
2308
|
+
updateImpostorScale(value: number): void;
|
2309
|
+
removeImpostor(attractor: Attractor): void;
|
2310
|
+
addImpostor(attractor: Attractor, index: number): void;
|
2311
|
+
controlImpostor(attractor: Attractor): void;
|
2312
|
+
shouldComponentUpdate(nextProps: Readonly<IAttractorsGridComponent>, nextState: Readonly<{
|
2313
|
+
impostorScale: number;
|
2314
|
+
color: Color3;
|
2315
|
+
}>, nextContext: any): boolean;
|
2316
|
+
componentWillUnmount(): void;
|
2317
|
+
cleanup(): void;
|
2318
|
+
|
2319
|
+
}
|
2320
|
+
export {};
|
2321
|
+
|
2322
|
+
}
|
2323
|
+
declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/particleSystems/attractorGridComponent" {
|
2324
|
+
import * as React from "react";
|
2325
|
+
import { GlobalState } from "@babylonjs/inspector/components/globalState";
|
2326
|
+
import { LockObject } from "@babylonjs/inspector/tabs/propertyGrids/lockObject";
|
2327
|
+
import { IParticleSystem } from "@babylonjs/core/Particles/IParticleSystem";
|
2328
|
+
import { Attractor } from "@babylonjs/core/Particles/attractor";
|
2329
|
+
interface IAttractorGridComponent {
|
2330
|
+
globalState: GlobalState;
|
2331
|
+
attractor: Attractor;
|
2332
|
+
lockObject: LockObject;
|
2333
|
+
lineIndex: number;
|
2334
|
+
host: IParticleSystem;
|
2335
|
+
codeRecorderPropertyName: string;
|
2336
|
+
onDelete: (attractor: Attractor) => void;
|
2337
|
+
removeImpostor: (attractor: Attractor) => void;
|
2338
|
+
addImpostor: (attractor: Attractor, index: number) => void;
|
2339
|
+
onControl: (attractor: Attractor) => void;
|
2340
|
+
isControlled: (attractor: Attractor) => void;
|
2341
|
+
}
|
2342
|
+
export class AttractorGridComponent extends React.Component<IAttractorGridComponent, {
|
2343
|
+
strength: number;
|
2344
|
+
viewing: boolean;
|
2345
|
+
}> {
|
2346
|
+
constructor(props: IAttractorGridComponent);
|
2347
|
+
lock(): void;
|
2348
|
+
unlock(): void;
|
2349
|
+
updateStrength(strength: number): void;
|
2350
|
+
onView(): void;
|
2351
|
+
onControl(): void;
|
2352
|
+
|
2353
|
+
}
|
2354
|
+
export {};
|
2355
|
+
|
2285
2356
|
}
|
2286
2357
|
declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/metadata/metadataPropertyGridComponent" {
|
2287
2358
|
import * as React from "react";
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@babylonjs/inspector",
|
3
|
-
"version": "8.8.
|
3
|
+
"version": "8.8.2",
|
4
4
|
"module": "dist/babylon.inspector.bundle.max.js",
|
5
5
|
"main": "dist/babylon.inspector.bundle.max.js",
|
6
6
|
"typings": "dist/babylon.inspector.module.d.ts",
|
@@ -32,12 +32,12 @@
|
|
32
32
|
"@types/react-dom": ">=16.0.9"
|
33
33
|
},
|
34
34
|
"devDependencies": {
|
35
|
-
"@babylonjs/core": "^8.8.
|
36
|
-
"@babylonjs/gui": "^8.8.
|
37
|
-
"@babylonjs/gui-editor": "^8.8.
|
38
|
-
"@babylonjs/loaders": "^8.8.
|
39
|
-
"@babylonjs/materials": "^8.8.
|
40
|
-
"@babylonjs/serializers": "^8.8.
|
35
|
+
"@babylonjs/core": "^8.8.2",
|
36
|
+
"@babylonjs/gui": "^8.8.2",
|
37
|
+
"@babylonjs/gui-editor": "^8.8.2",
|
38
|
+
"@babylonjs/loaders": "^8.8.2",
|
39
|
+
"@babylonjs/materials": "^8.8.2",
|
40
|
+
"@babylonjs/serializers": "^8.8.2",
|
41
41
|
"@lts/gui": "1.0.0",
|
42
42
|
"react": "^18.2.0",
|
43
43
|
"react-dom": "^18.2.0"
|