@babylonjs/node-editor 5.0.0-beta.7 → 5.0.0-rc.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.
|
@@ -1937,6 +1937,7 @@ declare module "@babylonjs/node-editor/sharedComponents/messageDialog" {
|
|
|
1937
1937
|
}
|
|
1938
1938
|
declare module "@babylonjs/node-editor/components/preview/previewManager" {
|
|
1939
1939
|
import { GlobalState } from "@babylonjs/node-editor/globalState";
|
|
1940
|
+
import "@babylonjs/core/Rendering/depthRendererSceneComponent";
|
|
1940
1941
|
export class PreviewManager {
|
|
1941
1942
|
private _nodeMaterial;
|
|
1942
1943
|
private _onBuildObserver;
|
|
@@ -2170,7 +2171,7 @@ declare module "@babylonjs/node-editor/sharedUiComponents/lines/targetsProxy" {
|
|
|
2170
2171
|
* @param setter an optional setter function to override the default setter behavior
|
|
2171
2172
|
* @returns a proxy object that can be passed as a target into the input
|
|
2172
2173
|
*/
|
|
2173
|
-
export function makeTargetsProxy(targets:
|
|
2174
|
+
export function makeTargetsProxy<Type>(targets: Type[], onPropertyChangedObservable?: Observable<PropertyChangedEvent>, getProperty?: (target: Type, property: keyof Type) => any): any;
|
|
2174
2175
|
}
|
|
2175
2176
|
declare module "@babylonjs/node-editor/sharedUiComponents/lines/checkBoxLineComponent" {
|
|
2176
2177
|
import * as React from "react";
|
|
@@ -2276,6 +2277,19 @@ declare module "@babylonjs/node-editor/sharedUiComponents/lines/colorPickerCompo
|
|
|
2276
2277
|
render(): JSX.Element;
|
|
2277
2278
|
}
|
|
2278
2279
|
}
|
|
2280
|
+
declare module "@babylonjs/node-editor/sharedUiComponents/lines/inputArrowsComponent" {
|
|
2281
|
+
import * as React from "react";
|
|
2282
|
+
interface IInputArrowsComponentProps {
|
|
2283
|
+
incrementValue: (amount: number) => void;
|
|
2284
|
+
setDragging: (dragging: boolean) => void;
|
|
2285
|
+
}
|
|
2286
|
+
export class InputArrowsComponent extends React.Component<IInputArrowsComponentProps> {
|
|
2287
|
+
private _arrowsRef;
|
|
2288
|
+
private _drag;
|
|
2289
|
+
private _releaseListener;
|
|
2290
|
+
render(): JSX.Element;
|
|
2291
|
+
}
|
|
2292
|
+
}
|
|
2279
2293
|
declare module "@babylonjs/node-editor/sharedUiComponents/lines/textInputLineComponent" {
|
|
2280
2294
|
import * as React from "react";
|
|
2281
2295
|
import { Observable } from "@babylonjs/core/Misc/observable";
|
|
@@ -2294,18 +2308,28 @@ declare module "@babylonjs/node-editor/sharedUiComponents/lines/textInputLineCom
|
|
|
2294
2308
|
noUnderline?: boolean;
|
|
2295
2309
|
numbersOnly?: boolean;
|
|
2296
2310
|
delayInput?: boolean;
|
|
2311
|
+
unit?: string;
|
|
2312
|
+
onUnitClicked?: (unit: string) => void;
|
|
2313
|
+
unitLocked?: boolean;
|
|
2314
|
+
arrows?: boolean;
|
|
2315
|
+
arrowsIncrement?: (amount: number) => void;
|
|
2316
|
+
step?: number;
|
|
2297
2317
|
}
|
|
2298
2318
|
export class TextInputLineComponent extends React.Component<ITextInputLineComponentProps, {
|
|
2299
2319
|
value: string;
|
|
2320
|
+
dragging: boolean;
|
|
2300
2321
|
}> {
|
|
2301
2322
|
private _localChange;
|
|
2302
2323
|
constructor(props: ITextInputLineComponentProps);
|
|
2303
2324
|
componentWillUnmount(): void;
|
|
2304
2325
|
shouldComponentUpdate(nextProps: ITextInputLineComponentProps, nextState: {
|
|
2305
2326
|
value: string;
|
|
2327
|
+
dragging: boolean;
|
|
2306
2328
|
}): boolean;
|
|
2307
2329
|
raiseOnPropertyChanged(newValue: string, previousValue: string): void;
|
|
2308
2330
|
updateValue(value: string): void;
|
|
2331
|
+
incrementValue(amount: number): void;
|
|
2332
|
+
onKeyDown(event: React.KeyboardEvent): void;
|
|
2309
2333
|
render(): JSX.Element;
|
|
2310
2334
|
}
|
|
2311
2335
|
}
|
|
@@ -2505,6 +2529,9 @@ declare module "@babylonjs/node-editor/sharedUiComponents/lines/floatLineCompone
|
|
|
2505
2529
|
icon?: string;
|
|
2506
2530
|
iconLabel?: string;
|
|
2507
2531
|
defaultValue?: number;
|
|
2532
|
+
unit?: string;
|
|
2533
|
+
onUnitClicked?: () => void;
|
|
2534
|
+
unitLocked?: boolean;
|
|
2508
2535
|
}
|
|
2509
2536
|
export class FloatLineComponent extends React.Component<IFloatLineComponentProps, {
|
|
2510
2537
|
value: string;
|
package/package.json
CHANGED
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
},
|
|
5
5
|
"name": "@babylonjs/node-editor",
|
|
6
6
|
"description": "The Babylon.js node material editor.",
|
|
7
|
-
"version": "5.0.0-
|
|
7
|
+
"version": "5.0.0-rc.0",
|
|
8
8
|
"repository": {
|
|
9
9
|
"type": "git",
|
|
10
10
|
"url": "https://github.com/BabylonJS/Babylon.js.git"
|
|
11
11
|
},
|
|
12
12
|
"license": "Apache-2.0",
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@babylonjs/core": "5.0.0-
|
|
14
|
+
"@babylonjs/core": "5.0.0-rc.0",
|
|
15
15
|
"tslib": "^2.3.1"
|
|
16
16
|
},
|
|
17
17
|
"files": [
|