@babylonjs/inspector 5.0.0-beta.7 → 5.0.0-beta.8
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.
@@ -440,7 +440,7 @@ declare module "@babylonjs/inspector/sharedUiComponents/lines/targetsProxy" {
|
|
440
440
|
* @param setter an optional setter function to override the default setter behavior
|
441
441
|
* @returns a proxy object that can be passed as a target into the input
|
442
442
|
*/
|
443
|
-
export function makeTargetsProxy(targets:
|
443
|
+
export function makeTargetsProxy<Type>(targets: Type[], onPropertyChangedObservable?: Observable<PropertyChangedEvent>, getProperty?: (target: Type, property: keyof Type) => any): any;
|
444
444
|
}
|
445
445
|
declare module "@babylonjs/inspector/sharedUiComponents/lines/checkBoxLineComponent" {
|
446
446
|
import * as React from "react";
|
@@ -852,6 +852,9 @@ declare module "@babylonjs/inspector/sharedUiComponents/lines/floatLineComponent
|
|
852
852
|
icon?: string;
|
853
853
|
iconLabel?: string;
|
854
854
|
defaultValue?: number;
|
855
|
+
unit?: string;
|
856
|
+
onUnitClicked?: () => void;
|
857
|
+
unitLocked?: boolean;
|
855
858
|
}
|
856
859
|
export class FloatLineComponent extends React.Component<IFloatLineComponentProps, {
|
857
860
|
value: string;
|
@@ -987,6 +990,9 @@ declare module "@babylonjs/inspector/sharedUiComponents/lines/textInputLineCompo
|
|
987
990
|
noUnderline?: boolean;
|
988
991
|
numbersOnly?: boolean;
|
989
992
|
delayInput?: boolean;
|
993
|
+
unit?: string;
|
994
|
+
onUnitClicked?: (unit: string) => void;
|
995
|
+
unitLocked?: boolean;
|
990
996
|
}
|
991
997
|
export class TextInputLineComponent extends React.Component<ITextInputLineComponentProps, {
|
992
998
|
value: string;
|
@@ -1331,6 +1337,11 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/an
|
|
1331
1337
|
import { IAnimatable } from "@babylonjs/core/Animations/animatable.interface";
|
1332
1338
|
import { AnimationGroup, TargetedAnimation } from "@babylonjs/core/Animations/animationGroup";
|
1333
1339
|
import { AnimationKeyInterpolation } from "@babylonjs/core/Animations/animationKey";
|
1340
|
+
export interface IActiveAnimationChangedOptions {
|
1341
|
+
evaluateKeys?: boolean;
|
1342
|
+
frame?: boolean;
|
1343
|
+
range?: boolean;
|
1344
|
+
}
|
1334
1345
|
export class Context {
|
1335
1346
|
title: string;
|
1336
1347
|
animations: Nullable<Animation[] | TargetedAnimation[]>;
|
@@ -1355,7 +1366,7 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/an
|
|
1355
1366
|
referenceMinFrame: number;
|
1356
1367
|
referenceMaxFrame: number;
|
1357
1368
|
focusedInput: boolean;
|
1358
|
-
onActiveAnimationChanged: Observable<
|
1369
|
+
onActiveAnimationChanged: Observable<IActiveAnimationChangedOptions>;
|
1359
1370
|
onActiveKeyPointChanged: Observable<void>;
|
1360
1371
|
onHostWindowResized: Observable<void>;
|
1361
1372
|
onSelectAllKeys: Observable<void>;
|
@@ -1696,7 +1707,7 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/an
|
|
1696
1707
|
private _invertY;
|
1697
1708
|
private _buildFrameIntervalAxis;
|
1698
1709
|
private _buildYAxis;
|
1699
|
-
private
|
1710
|
+
private _frameFromActiveKeys;
|
1700
1711
|
private _dropKeyFrames;
|
1701
1712
|
private _onPointerDown;
|
1702
1713
|
private _onPointerMove;
|
@@ -3556,7 +3567,6 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/me
|
|
3556
3567
|
changeDisplayMode(): void;
|
3557
3568
|
changeDisplayOptions(option: string, value: number): void;
|
3558
3569
|
shouldComponentUpdate(nextProps: ISkeletonPropertyGridComponentProps): boolean;
|
3559
|
-
onOverrideMeshLink(): void;
|
3560
3570
|
render(): JSX.Element;
|
3561
3571
|
}
|
3562
3572
|
}
|
package/package.json
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
},
|
5
5
|
"name": "@babylonjs/inspector",
|
6
6
|
"description": "The Babylon.js inspector.",
|
7
|
-
"version": "5.0.0-beta.
|
7
|
+
"version": "5.0.0-beta.8",
|
8
8
|
"repository": {
|
9
9
|
"type": "git",
|
10
10
|
"url": "https://github.com/BabylonJS/Babylon.js.git"
|
@@ -27,12 +27,12 @@
|
|
27
27
|
],
|
28
28
|
"license": "Apache-2.0",
|
29
29
|
"dependencies": {
|
30
|
-
"@babylonjs/core": "5.0.0-beta.
|
31
|
-
"@babylonjs/gui": "5.0.0-beta.
|
32
|
-
"@babylonjs/loaders": "5.0.0-beta.
|
33
|
-
"@babylonjs/materials": "5.0.0-beta.
|
34
|
-
"@babylonjs/serializers": "5.0.0-beta.
|
35
|
-
"babylonjs-gltf2interface": "5.0.0-beta.
|
30
|
+
"@babylonjs/core": "5.0.0-beta.8",
|
31
|
+
"@babylonjs/gui": "5.0.0-beta.8",
|
32
|
+
"@babylonjs/loaders": "5.0.0-beta.8",
|
33
|
+
"@babylonjs/materials": "5.0.0-beta.8",
|
34
|
+
"@babylonjs/serializers": "5.0.0-beta.8",
|
35
|
+
"babylonjs-gltf2interface": "5.0.0-beta.8",
|
36
36
|
"tslib": "^2.3.1"
|
37
37
|
},
|
38
38
|
"peerDependencies": {
|