babylonjs-node-editor 5.0.0 → 5.0.3
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/babylon.nodeEditor.d.ts +192 -190
- package/babylon.nodeEditor.js +1 -1
- package/babylon.nodeEditor.js.map +1 -1
- package/babylon.nodeEditor.max.js +3 -2
- package/babylon.nodeEditor.max.js.map +1 -1
- package/babylon.nodeEditor.module.d.ts +310 -306
- package/package.json +2 -2
|
@@ -2163,7 +2163,7 @@ export class Vector4LineComponent extends React.Component<IVector4LineComponentP
|
|
|
2163
2163
|
export {};
|
|
2164
2164
|
|
|
2165
2165
|
}
|
|
2166
|
-
declare module "
|
|
2166
|
+
declare module "babylonjs-node-editor/colorPicker/colorComponentEntry" {
|
|
2167
2167
|
import * as React from "react";
|
|
2168
2168
|
export interface IColorComponentEntryProps {
|
|
2169
2169
|
value: number;
|
|
@@ -2180,10 +2180,10 @@ export class ColorComponentEntry extends React.Component<IColorComponentEntryPro
|
|
|
2180
2180
|
}
|
|
2181
2181
|
|
|
2182
2182
|
}
|
|
2183
|
-
declare module "
|
|
2183
|
+
declare module "babylonjs-node-editor/colorPicker/colorPicker" {
|
|
2184
2184
|
import * as React from "react";
|
|
2185
2185
|
import { Color3, Color4 } from "babylonjs/Maths/math.color";
|
|
2186
|
-
import "
|
|
2186
|
+
import "babylonjs-node-editor/colorPicker/colorPicker.scss";
|
|
2187
2187
|
/**
|
|
2188
2188
|
* Interface used to specify creation options for color picker
|
|
2189
2189
|
*/
|
|
@@ -2224,7 +2224,7 @@ export class ColorPicker extends React.Component<IColorPickerProps, IColorPicker
|
|
|
2224
2224
|
}
|
|
2225
2225
|
|
|
2226
2226
|
}
|
|
2227
|
-
declare module "
|
|
2227
|
+
declare module "babylonjs-node-editor/colorPicker/hexColor" {
|
|
2228
2228
|
import * as React from "react";
|
|
2229
2229
|
export interface IHexColorProps {
|
|
2230
2230
|
value: string;
|
|
@@ -2243,7 +2243,7 @@ export class HexColor extends React.Component<IHexColorProps, {
|
|
|
2243
2243
|
}
|
|
2244
2244
|
|
|
2245
2245
|
}
|
|
2246
|
-
declare module "
|
|
2246
|
+
declare module "babylonjs-node-editor/lines/booleanLineComponent" {
|
|
2247
2247
|
import * as React from "react";
|
|
2248
2248
|
export interface IBooleanLineComponentProps {
|
|
2249
2249
|
label: string;
|
|
@@ -2257,7 +2257,7 @@ export class BooleanLineComponent extends React.Component<IBooleanLineComponentP
|
|
|
2257
2257
|
}
|
|
2258
2258
|
|
|
2259
2259
|
}
|
|
2260
|
-
declare module "
|
|
2260
|
+
declare module "babylonjs-node-editor/lines/buttonLineComponent" {
|
|
2261
2261
|
import * as React from "react";
|
|
2262
2262
|
export interface IButtonLineComponentProps {
|
|
2263
2263
|
label: string;
|
|
@@ -2271,11 +2271,11 @@ export class ButtonLineComponent extends React.Component<IButtonLineComponentPro
|
|
|
2271
2271
|
}
|
|
2272
2272
|
|
|
2273
2273
|
}
|
|
2274
|
-
declare module "
|
|
2274
|
+
declare module "babylonjs-node-editor/lines/checkBoxLineComponent" {
|
|
2275
2275
|
import * as React from "react";
|
|
2276
2276
|
import { Observable } from "babylonjs/Misc/observable";
|
|
2277
|
-
import { PropertyChangedEvent } from "
|
|
2278
|
-
|
|
2277
|
+
import { PropertyChangedEvent } from "babylonjs-node-editor/propertyChangedEvent";
|
|
2278
|
+
|
|
2279
2279
|
export interface ICheckBoxLineComponentProps {
|
|
2280
2280
|
label?: string;
|
|
2281
2281
|
target?: any;
|
|
@@ -2288,8 +2288,8 @@ export interface ICheckBoxLineComponentProps {
|
|
|
2288
2288
|
icon?: string;
|
|
2289
2289
|
iconLabel?: string;
|
|
2290
2290
|
faIcons?: {
|
|
2291
|
-
enabled:
|
|
2292
|
-
disabled:
|
|
2291
|
+
enabled: any;
|
|
2292
|
+
disabled: any;
|
|
2293
2293
|
};
|
|
2294
2294
|
large?: boolean;
|
|
2295
2295
|
}
|
|
@@ -2310,11 +2310,11 @@ export class CheckBoxLineComponent extends React.Component<ICheckBoxLineComponen
|
|
|
2310
2310
|
}
|
|
2311
2311
|
|
|
2312
2312
|
}
|
|
2313
|
-
declare module "
|
|
2313
|
+
declare module "babylonjs-node-editor/lines/color3LineComponent" {
|
|
2314
2314
|
import * as React from "react";
|
|
2315
2315
|
import { Observable } from "babylonjs/Misc/observable";
|
|
2316
|
-
import { PropertyChangedEvent } from "
|
|
2317
|
-
import { LockObject } from "
|
|
2316
|
+
import { PropertyChangedEvent } from "babylonjs-node-editor/propertyChangedEvent";
|
|
2317
|
+
import { LockObject } from "babylonjs-node-editor/tabs/propertyGrids/lockObject";
|
|
2318
2318
|
export interface IColor3LineComponentProps {
|
|
2319
2319
|
label: string;
|
|
2320
2320
|
target: any;
|
|
@@ -2331,11 +2331,11 @@ export class Color3LineComponent extends React.Component<IColor3LineComponentPro
|
|
|
2331
2331
|
}
|
|
2332
2332
|
|
|
2333
2333
|
}
|
|
2334
|
-
declare module "
|
|
2334
|
+
declare module "babylonjs-node-editor/lines/color4LineComponent" {
|
|
2335
2335
|
import * as React from "react";
|
|
2336
2336
|
import { Observable } from "babylonjs/Misc/observable";
|
|
2337
|
-
import { PropertyChangedEvent } from "
|
|
2338
|
-
import { LockObject } from "
|
|
2337
|
+
import { PropertyChangedEvent } from "babylonjs-node-editor/propertyChangedEvent";
|
|
2338
|
+
import { LockObject } from "babylonjs-node-editor/tabs/propertyGrids/lockObject";
|
|
2339
2339
|
export interface IColor4LineComponentProps {
|
|
2340
2340
|
label: string;
|
|
2341
2341
|
target?: any;
|
|
@@ -2352,12 +2352,12 @@ export class Color4LineComponent extends React.Component<IColor4LineComponentPro
|
|
|
2352
2352
|
}
|
|
2353
2353
|
|
|
2354
2354
|
}
|
|
2355
|
-
declare module "
|
|
2355
|
+
declare module "babylonjs-node-editor/lines/colorLineComponent" {
|
|
2356
2356
|
import * as React from "react";
|
|
2357
2357
|
import { Observable } from "babylonjs/Misc/observable";
|
|
2358
2358
|
import { Color4 } from "babylonjs/Maths/math.color";
|
|
2359
|
-
import { PropertyChangedEvent } from "
|
|
2360
|
-
import { LockObject } from "
|
|
2359
|
+
import { PropertyChangedEvent } from "babylonjs-node-editor/propertyChangedEvent";
|
|
2360
|
+
import { LockObject } from "babylonjs-node-editor/tabs/propertyGrids/lockObject";
|
|
2361
2361
|
export interface IColorLineComponentProps {
|
|
2362
2362
|
label: string;
|
|
2363
2363
|
target?: any;
|
|
@@ -2395,7 +2395,7 @@ export class ColorLineComponent extends React.Component<IColorLineComponentProps
|
|
|
2395
2395
|
export {};
|
|
2396
2396
|
|
|
2397
2397
|
}
|
|
2398
|
-
declare module "
|
|
2398
|
+
declare module "babylonjs-node-editor/lines/colorPickerComponent" {
|
|
2399
2399
|
import * as React from "react";
|
|
2400
2400
|
import { Color4, Color3 } from "babylonjs/Maths/math.color";
|
|
2401
2401
|
export interface IColorPickerComponentProps {
|
|
@@ -2427,7 +2427,7 @@ export class ColorPickerLineComponent extends React.Component<IColorPickerCompon
|
|
|
2427
2427
|
export {};
|
|
2428
2428
|
|
|
2429
2429
|
}
|
|
2430
|
-
declare module "
|
|
2430
|
+
declare module "babylonjs-node-editor/lines/draggableLineComponent" {
|
|
2431
2431
|
import * as React from "react";
|
|
2432
2432
|
export interface IButtonLineComponentProps {
|
|
2433
2433
|
data: string;
|
|
@@ -2439,7 +2439,7 @@ export class DraggableLineComponent extends React.Component<IButtonLineComponent
|
|
|
2439
2439
|
}
|
|
2440
2440
|
|
|
2441
2441
|
}
|
|
2442
|
-
declare module "
|
|
2442
|
+
declare module "babylonjs-node-editor/lines/fileButtonLineComponent" {
|
|
2443
2443
|
import * as React from "react";
|
|
2444
2444
|
interface IFileButtonLineComponentProps {
|
|
2445
2445
|
label: string;
|
|
@@ -2459,7 +2459,7 @@ export class FileButtonLineComponent extends React.Component<IFileButtonLineComp
|
|
|
2459
2459
|
export {};
|
|
2460
2460
|
|
|
2461
2461
|
}
|
|
2462
|
-
declare module "
|
|
2462
|
+
declare module "babylonjs-node-editor/lines/fileMultipleButtonLineComponent" {
|
|
2463
2463
|
import * as React from "react";
|
|
2464
2464
|
interface IFileMultipleButtonLineComponentProps {
|
|
2465
2465
|
label: string;
|
|
@@ -2479,11 +2479,11 @@ export class FileMultipleButtonLineComponent extends React.Component<IFileMultip
|
|
|
2479
2479
|
export {};
|
|
2480
2480
|
|
|
2481
2481
|
}
|
|
2482
|
-
declare module "
|
|
2482
|
+
declare module "babylonjs-node-editor/lines/floatLineComponent" {
|
|
2483
2483
|
import * as React from "react";
|
|
2484
2484
|
import { Observable } from "babylonjs/Misc/observable";
|
|
2485
|
-
import { PropertyChangedEvent } from "
|
|
2486
|
-
import { LockObject } from "
|
|
2485
|
+
import { PropertyChangedEvent } from "babylonjs-node-editor/propertyChangedEvent";
|
|
2486
|
+
import { LockObject } from "babylonjs-node-editor/tabs/propertyGrids/lockObject";
|
|
2487
2487
|
interface IFloatLineComponentProps {
|
|
2488
2488
|
label: string;
|
|
2489
2489
|
target: any;
|
|
@@ -2505,6 +2505,8 @@ interface IFloatLineComponentProps {
|
|
|
2505
2505
|
defaultValue?: number;
|
|
2506
2506
|
arrows?: boolean;
|
|
2507
2507
|
unit?: React.ReactNode;
|
|
2508
|
+
onDragStart?: (newValue: number) => void;
|
|
2509
|
+
onDragStop?: (newValue: number) => void;
|
|
2508
2510
|
}
|
|
2509
2511
|
export class FloatLineComponent extends React.Component<IFloatLineComponentProps, {
|
|
2510
2512
|
value: string;
|
|
@@ -2530,11 +2532,11 @@ export class FloatLineComponent extends React.Component<IFloatLineComponentProps
|
|
|
2530
2532
|
export {};
|
|
2531
2533
|
|
|
2532
2534
|
}
|
|
2533
|
-
declare module "
|
|
2535
|
+
declare module "babylonjs-node-editor/lines/hexLineComponent" {
|
|
2534
2536
|
import * as React from "react";
|
|
2535
2537
|
import { Observable } from "babylonjs/Misc/observable";
|
|
2536
|
-
import { PropertyChangedEvent } from "
|
|
2537
|
-
import { LockObject } from "
|
|
2538
|
+
import { PropertyChangedEvent } from "babylonjs-node-editor/propertyChangedEvent";
|
|
2539
|
+
import { LockObject } from "babylonjs-node-editor/tabs/propertyGrids/lockObject";
|
|
2538
2540
|
interface IHexLineComponentProps {
|
|
2539
2541
|
label: string;
|
|
2540
2542
|
target: any;
|
|
@@ -2573,7 +2575,7 @@ export class HexLineComponent extends React.Component<IHexLineComponentProps, {
|
|
|
2573
2575
|
export {};
|
|
2574
2576
|
|
|
2575
2577
|
}
|
|
2576
|
-
declare module "
|
|
2578
|
+
declare module "babylonjs-node-editor/lines/iconButtonLineComponent" {
|
|
2577
2579
|
import * as React from "react";
|
|
2578
2580
|
export interface IIconButtonLineComponentProps {
|
|
2579
2581
|
icon: string;
|
|
@@ -2587,7 +2589,7 @@ export class IconButtonLineComponent extends React.Component<IIconButtonLineComp
|
|
|
2587
2589
|
}
|
|
2588
2590
|
|
|
2589
2591
|
}
|
|
2590
|
-
declare module "
|
|
2592
|
+
declare module "babylonjs-node-editor/lines/iconComponent" {
|
|
2591
2593
|
import * as React from "react";
|
|
2592
2594
|
interface IIconComponentProps {
|
|
2593
2595
|
icon: string;
|
|
@@ -2599,7 +2601,7 @@ export class IconComponent extends React.Component<IIconComponentProps> {
|
|
|
2599
2601
|
export {};
|
|
2600
2602
|
|
|
2601
2603
|
}
|
|
2602
|
-
declare module "
|
|
2604
|
+
declare module "babylonjs-node-editor/lines/indentedTextLineComponent" {
|
|
2603
2605
|
import * as React from "react";
|
|
2604
2606
|
interface IIndentedTextLineComponentProps {
|
|
2605
2607
|
value?: string;
|
|
@@ -2618,7 +2620,7 @@ export class IndentedTextLineComponent extends React.Component<IIndentedTextLine
|
|
|
2618
2620
|
export {};
|
|
2619
2621
|
|
|
2620
2622
|
}
|
|
2621
|
-
declare module "
|
|
2623
|
+
declare module "babylonjs-node-editor/lines/inputArrowsComponent" {
|
|
2622
2624
|
import * as React from "react";
|
|
2623
2625
|
interface IInputArrowsComponentProps {
|
|
2624
2626
|
incrementValue: (amount: number) => void;
|
|
@@ -2634,16 +2636,16 @@ export class InputArrowsComponent extends React.Component<IInputArrowsComponentP
|
|
|
2634
2636
|
export {};
|
|
2635
2637
|
|
|
2636
2638
|
}
|
|
2637
|
-
declare module "
|
|
2639
|
+
declare module "babylonjs-node-editor/lines/iSelectedLineContainer" {
|
|
2638
2640
|
export interface ISelectedLineContainer {
|
|
2639
2641
|
selectedLineContainerTitles: Array<string>;
|
|
2640
2642
|
selectedLineContainerTitlesNoFocus: Array<string>;
|
|
2641
2643
|
}
|
|
2642
2644
|
|
|
2643
2645
|
}
|
|
2644
|
-
declare module "
|
|
2646
|
+
declare module "babylonjs-node-editor/lines/lineContainerComponent" {
|
|
2645
2647
|
import * as React from "react";
|
|
2646
|
-
import { ISelectedLineContainer } from "
|
|
2648
|
+
import { ISelectedLineContainer } from "babylonjs-node-editor/lines/iSelectedLineContainer";
|
|
2647
2649
|
interface ILineContainerComponentProps {
|
|
2648
2650
|
selection?: ISelectedLineContainer;
|
|
2649
2651
|
title: string;
|
|
@@ -2663,15 +2665,15 @@ export class LineContainerComponent extends React.Component<ILineContainerCompon
|
|
|
2663
2665
|
export {};
|
|
2664
2666
|
|
|
2665
2667
|
}
|
|
2666
|
-
declare module "
|
|
2668
|
+
declare module "babylonjs-node-editor/lines/linkButtonComponent" {
|
|
2667
2669
|
import * as React from "react";
|
|
2668
|
-
|
|
2670
|
+
|
|
2669
2671
|
interface ILinkButtonComponentProps {
|
|
2670
2672
|
label: string;
|
|
2671
2673
|
buttonLabel: string;
|
|
2672
2674
|
url?: string;
|
|
2673
2675
|
onClick: () => void;
|
|
2674
|
-
icon?:
|
|
2676
|
+
icon?: any;
|
|
2675
2677
|
onIconClick?: () => void;
|
|
2676
2678
|
}
|
|
2677
2679
|
export class LinkButtonComponent extends React.Component<ILinkButtonComponentProps> {
|
|
@@ -2682,13 +2684,13 @@ export class LinkButtonComponent extends React.Component<ILinkButtonComponentPro
|
|
|
2682
2684
|
export {};
|
|
2683
2685
|
|
|
2684
2686
|
}
|
|
2685
|
-
declare module "
|
|
2687
|
+
declare module "babylonjs-node-editor/lines/messageLineComponent" {
|
|
2686
2688
|
import * as React from "react";
|
|
2687
|
-
|
|
2689
|
+
|
|
2688
2690
|
interface IMessageLineComponentProps {
|
|
2689
2691
|
text: string;
|
|
2690
2692
|
color?: string;
|
|
2691
|
-
icon?:
|
|
2693
|
+
icon?: any;
|
|
2692
2694
|
}
|
|
2693
2695
|
export class MessageLineComponent extends React.Component<IMessageLineComponentProps> {
|
|
2694
2696
|
constructor(props: IMessageLineComponentProps);
|
|
@@ -2697,7 +2699,7 @@ export class MessageLineComponent extends React.Component<IMessageLineComponentP
|
|
|
2697
2699
|
export {};
|
|
2698
2700
|
|
|
2699
2701
|
}
|
|
2700
|
-
declare module "
|
|
2702
|
+
declare module "babylonjs-node-editor/lines/numericInputComponent" {
|
|
2701
2703
|
import * as React from "react";
|
|
2702
2704
|
interface INumericInputComponentProps {
|
|
2703
2705
|
label: string;
|
|
@@ -2726,10 +2728,10 @@ export class NumericInputComponent extends React.Component<INumericInputComponen
|
|
|
2726
2728
|
export {};
|
|
2727
2729
|
|
|
2728
2730
|
}
|
|
2729
|
-
declare module "
|
|
2731
|
+
declare module "babylonjs-node-editor/lines/optionsLineComponent" {
|
|
2730
2732
|
import * as React from "react";
|
|
2731
2733
|
import { Observable } from "babylonjs/Misc/observable";
|
|
2732
|
-
import { PropertyChangedEvent } from "
|
|
2734
|
+
import { PropertyChangedEvent } from "babylonjs-node-editor/propertyChangedEvent";
|
|
2733
2735
|
import { IInspectableOptions } from "babylonjs/Misc/iInspectable";
|
|
2734
2736
|
export const Null_Value: number;
|
|
2735
2737
|
export interface IOptionsLineComponentProps {
|
|
@@ -2761,14 +2763,14 @@ export class OptionsLineComponent extends React.Component<IOptionsLineComponentP
|
|
|
2761
2763
|
}
|
|
2762
2764
|
|
|
2763
2765
|
}
|
|
2764
|
-
declare module "
|
|
2766
|
+
declare module "babylonjs-node-editor/lines/popup" {
|
|
2765
2767
|
export class Popup {
|
|
2766
2768
|
static CreatePopup(title: string, windowVariableName: string, width?: number, height?: number): HTMLDivElement | null;
|
|
2767
2769
|
private static _CopyStyles;
|
|
2768
2770
|
}
|
|
2769
2771
|
|
|
2770
2772
|
}
|
|
2771
|
-
declare module "
|
|
2773
|
+
declare module "babylonjs-node-editor/lines/radioLineComponent" {
|
|
2772
2774
|
import * as React from "react";
|
|
2773
2775
|
import { Observable } from "babylonjs/Misc/observable";
|
|
2774
2776
|
interface IRadioButtonLineComponentProps {
|
|
@@ -2792,11 +2794,11 @@ export class RadioButtonLineComponent extends React.Component<IRadioButtonLineCo
|
|
|
2792
2794
|
export {};
|
|
2793
2795
|
|
|
2794
2796
|
}
|
|
2795
|
-
declare module "
|
|
2797
|
+
declare module "babylonjs-node-editor/lines/sliderLineComponent" {
|
|
2796
2798
|
import * as React from "react";
|
|
2797
2799
|
import { Observable } from "babylonjs/Misc/observable";
|
|
2798
|
-
import { PropertyChangedEvent } from "
|
|
2799
|
-
import { LockObject } from "
|
|
2800
|
+
import { PropertyChangedEvent } from "babylonjs-node-editor/propertyChangedEvent";
|
|
2801
|
+
import { LockObject } from "babylonjs-node-editor/tabs/propertyGrids/lockObject";
|
|
2800
2802
|
interface ISliderLineComponentProps {
|
|
2801
2803
|
label: string;
|
|
2802
2804
|
target?: any;
|
|
@@ -2832,8 +2834,8 @@ export class SliderLineComponent extends React.Component<ISliderLineComponentPro
|
|
|
2832
2834
|
export {};
|
|
2833
2835
|
|
|
2834
2836
|
}
|
|
2835
|
-
declare module "
|
|
2836
|
-
import { PropertyChangedEvent } from "
|
|
2837
|
+
declare module "babylonjs-node-editor/lines/targetsProxy" {
|
|
2838
|
+
import { PropertyChangedEvent } from "babylonjs-node-editor/propertyChangedEvent";
|
|
2837
2839
|
import { Observable } from "babylonjs/Misc/observable";
|
|
2838
2840
|
export const conflictingValuesPlaceholder = "\u2014";
|
|
2839
2841
|
/**
|
|
@@ -2846,11 +2848,11 @@ export const conflictingValuesPlaceholder = "\u2014";
|
|
|
2846
2848
|
export function makeTargetsProxy<Type>(targets: Type[], onPropertyChangedObservable?: Observable<PropertyChangedEvent>, getProperty?: (target: Type, property: keyof Type) => any): any;
|
|
2847
2849
|
|
|
2848
2850
|
}
|
|
2849
|
-
declare module "
|
|
2851
|
+
declare module "babylonjs-node-editor/lines/textInputLineComponent" {
|
|
2850
2852
|
import * as React from "react";
|
|
2851
2853
|
import { Observable } from "babylonjs/Misc/observable";
|
|
2852
|
-
import { PropertyChangedEvent } from "
|
|
2853
|
-
import { LockObject } from "
|
|
2854
|
+
import { PropertyChangedEvent } from "babylonjs-node-editor/propertyChangedEvent";
|
|
2855
|
+
import { LockObject } from "babylonjs-node-editor/tabs/propertyGrids/lockObject";
|
|
2854
2856
|
export interface ITextInputLineComponentProps {
|
|
2855
2857
|
label?: string;
|
|
2856
2858
|
lockObject?: LockObject;
|
|
@@ -2894,7 +2896,7 @@ export class TextInputLineComponent extends React.Component<ITextInputLineCompon
|
|
|
2894
2896
|
}
|
|
2895
2897
|
|
|
2896
2898
|
}
|
|
2897
|
-
declare module "
|
|
2899
|
+
declare module "babylonjs-node-editor/lines/textLineComponent" {
|
|
2898
2900
|
import * as React from "react";
|
|
2899
2901
|
interface ITextLineComponentProps {
|
|
2900
2902
|
label?: string;
|
|
@@ -2918,7 +2920,7 @@ export class TextLineComponent extends React.Component<ITextLineComponentProps>
|
|
|
2918
2920
|
export {};
|
|
2919
2921
|
|
|
2920
2922
|
}
|
|
2921
|
-
declare module "
|
|
2923
|
+
declare module "babylonjs-node-editor/lines/unitButton" {
|
|
2922
2924
|
/// <reference types="react" />
|
|
2923
2925
|
interface IUnitButtonProps {
|
|
2924
2926
|
unit: string;
|
|
@@ -2929,7 +2931,7 @@ export function UnitButton(props: IUnitButtonProps): JSX.Element;
|
|
|
2929
2931
|
export {};
|
|
2930
2932
|
|
|
2931
2933
|
}
|
|
2932
|
-
declare module "
|
|
2934
|
+
declare module "babylonjs-node-editor/lines/valueLineComponent" {
|
|
2933
2935
|
import * as React from "react";
|
|
2934
2936
|
interface IValueLineComponentProps {
|
|
2935
2937
|
label: string;
|
|
@@ -2947,11 +2949,11 @@ export class ValueLineComponent extends React.Component<IValueLineComponentProps
|
|
|
2947
2949
|
export {};
|
|
2948
2950
|
|
|
2949
2951
|
}
|
|
2950
|
-
declare module "
|
|
2952
|
+
declare module "babylonjs-node-editor/lines/vector2LineComponent" {
|
|
2951
2953
|
import * as React from "react";
|
|
2952
2954
|
import { Vector2 } from "babylonjs/Maths/math.vector";
|
|
2953
2955
|
import { Observable } from "babylonjs/Misc/observable";
|
|
2954
|
-
import { PropertyChangedEvent } from "
|
|
2956
|
+
import { PropertyChangedEvent } from "babylonjs-node-editor/propertyChangedEvent";
|
|
2955
2957
|
interface IVector2LineComponentProps {
|
|
2956
2958
|
label: string;
|
|
2957
2959
|
target: any;
|
|
@@ -2984,11 +2986,11 @@ export class Vector2LineComponent extends React.Component<IVector2LineComponentP
|
|
|
2984
2986
|
export {};
|
|
2985
2987
|
|
|
2986
2988
|
}
|
|
2987
|
-
declare module "
|
|
2989
|
+
declare module "babylonjs-node-editor/lines/vector3LineComponent" {
|
|
2988
2990
|
import * as React from "react";
|
|
2989
2991
|
import { Vector3 } from "babylonjs/Maths/math.vector";
|
|
2990
2992
|
import { Observable } from "babylonjs/Misc/observable";
|
|
2991
|
-
import { PropertyChangedEvent } from "
|
|
2993
|
+
import { PropertyChangedEvent } from "babylonjs-node-editor/propertyChangedEvent";
|
|
2992
2994
|
interface IVector3LineComponentProps {
|
|
2993
2995
|
label: string;
|
|
2994
2996
|
target: any;
|
|
@@ -3026,11 +3028,11 @@ export class Vector3LineComponent extends React.Component<IVector3LineComponentP
|
|
|
3026
3028
|
export {};
|
|
3027
3029
|
|
|
3028
3030
|
}
|
|
3029
|
-
declare module "
|
|
3031
|
+
declare module "babylonjs-node-editor/lines/vector4LineComponent" {
|
|
3030
3032
|
import * as React from "react";
|
|
3031
3033
|
import { Vector4 } from "babylonjs/Maths/math.vector";
|
|
3032
3034
|
import { Observable } from "babylonjs/Misc/observable";
|
|
3033
|
-
import { PropertyChangedEvent } from "
|
|
3035
|
+
import { PropertyChangedEvent } from "babylonjs-node-editor/propertyChangedEvent";
|
|
3034
3036
|
interface IVector4LineComponentProps {
|
|
3035
3037
|
label: string;
|
|
3036
3038
|
target: any;
|
|
@@ -3068,7 +3070,7 @@ export class Vector4LineComponent extends React.Component<IVector4LineComponentP
|
|
|
3068
3070
|
export {};
|
|
3069
3071
|
|
|
3070
3072
|
}
|
|
3071
|
-
declare module "
|
|
3073
|
+
declare module "babylonjs-node-editor/propertyChangedEvent" {
|
|
3072
3074
|
export class PropertyChangedEvent {
|
|
3073
3075
|
object: any;
|
|
3074
3076
|
property: string;
|
|
@@ -3078,7 +3080,7 @@ export class PropertyChangedEvent {
|
|
|
3078
3080
|
}
|
|
3079
3081
|
|
|
3080
3082
|
}
|
|
3081
|
-
declare module "
|
|
3083
|
+
declare module "babylonjs-node-editor/stringTools" {
|
|
3082
3084
|
export class StringTools {
|
|
3083
3085
|
private static _SaveAs;
|
|
3084
3086
|
private static _Click;
|
|
@@ -3092,11 +3094,11 @@ export class StringTools {
|
|
|
3092
3094
|
}
|
|
3093
3095
|
|
|
3094
3096
|
}
|
|
3095
|
-
declare module "
|
|
3097
|
+
declare module "babylonjs-node-editor/tabs/propertyGrids/gui/checkboxPropertyGridComponent" {
|
|
3096
3098
|
import * as React from "react";
|
|
3097
3099
|
import { Observable } from "babylonjs/Misc/observable";
|
|
3098
|
-
import { PropertyChangedEvent } from "
|
|
3099
|
-
import { LockObject } from "
|
|
3100
|
+
import { PropertyChangedEvent } from "babylonjs-node-editor/propertyChangedEvent";
|
|
3101
|
+
import { LockObject } from "babylonjs-node-editor/tabs/propertyGrids/lockObject";
|
|
3100
3102
|
import { Checkbox } from "babylonjs-gui/2D/controls/checkbox";
|
|
3101
3103
|
interface ICheckboxPropertyGridComponentProps {
|
|
3102
3104
|
checkbox: Checkbox;
|
|
@@ -3110,12 +3112,12 @@ export class CheckboxPropertyGridComponent extends React.Component<ICheckboxProp
|
|
|
3110
3112
|
export {};
|
|
3111
3113
|
|
|
3112
3114
|
}
|
|
3113
|
-
declare module "
|
|
3115
|
+
declare module "babylonjs-node-editor/tabs/propertyGrids/gui/colorPickerPropertyGridComponent" {
|
|
3114
3116
|
import * as React from "react";
|
|
3115
3117
|
import { Observable } from "babylonjs/Misc/observable";
|
|
3116
|
-
import { PropertyChangedEvent } from "
|
|
3118
|
+
import { PropertyChangedEvent } from "babylonjs-node-editor/propertyChangedEvent";
|
|
3117
3119
|
import { ColorPicker } from "babylonjs-gui/2D/controls/colorpicker";
|
|
3118
|
-
import { LockObject } from "
|
|
3120
|
+
import { LockObject } from "babylonjs-node-editor/tabs/propertyGrids/lockObject";
|
|
3119
3121
|
interface IColorPickerPropertyGridComponentProps {
|
|
3120
3122
|
colorPicker: ColorPicker;
|
|
3121
3123
|
lockObject: LockObject;
|
|
@@ -3128,12 +3130,12 @@ export class ColorPickerPropertyGridComponent extends React.Component<IColorPick
|
|
|
3128
3130
|
export {};
|
|
3129
3131
|
|
|
3130
3132
|
}
|
|
3131
|
-
declare module "
|
|
3133
|
+
declare module "babylonjs-node-editor/tabs/propertyGrids/gui/commonControlPropertyGridComponent" {
|
|
3132
3134
|
import * as React from "react";
|
|
3133
3135
|
import { Observable } from "babylonjs/Misc/observable";
|
|
3134
|
-
import { PropertyChangedEvent } from "
|
|
3136
|
+
import { PropertyChangedEvent } from "babylonjs-node-editor/propertyChangedEvent";
|
|
3135
3137
|
import { Control } from "babylonjs-gui/2D/controls/control";
|
|
3136
|
-
import { LockObject } from "
|
|
3138
|
+
import { LockObject } from "babylonjs-node-editor/tabs/propertyGrids/lockObject";
|
|
3137
3139
|
interface ICommonControlPropertyGridComponentProps {
|
|
3138
3140
|
controls?: Control[];
|
|
3139
3141
|
control?: Control;
|
|
@@ -3148,12 +3150,12 @@ export class CommonControlPropertyGridComponent extends React.Component<ICommonC
|
|
|
3148
3150
|
export {};
|
|
3149
3151
|
|
|
3150
3152
|
}
|
|
3151
|
-
declare module "
|
|
3153
|
+
declare module "babylonjs-node-editor/tabs/propertyGrids/gui/controlPropertyGridComponent" {
|
|
3152
3154
|
import * as React from "react";
|
|
3153
3155
|
import { Observable } from "babylonjs/Misc/observable";
|
|
3154
|
-
import { PropertyChangedEvent } from "
|
|
3156
|
+
import { PropertyChangedEvent } from "babylonjs-node-editor/propertyChangedEvent";
|
|
3155
3157
|
import { Control } from "babylonjs-gui/2D/controls/control";
|
|
3156
|
-
import { LockObject } from "
|
|
3158
|
+
import { LockObject } from "babylonjs-node-editor/tabs/propertyGrids/lockObject";
|
|
3157
3159
|
interface IControlPropertyGridComponentProps {
|
|
3158
3160
|
control: Control;
|
|
3159
3161
|
lockObject: LockObject;
|
|
@@ -3166,11 +3168,11 @@ export class ControlPropertyGridComponent extends React.Component<IControlProper
|
|
|
3166
3168
|
export {};
|
|
3167
3169
|
|
|
3168
3170
|
}
|
|
3169
|
-
declare module "
|
|
3171
|
+
declare module "babylonjs-node-editor/tabs/propertyGrids/gui/ellipsePropertyGridComponent" {
|
|
3170
3172
|
import * as React from "react";
|
|
3171
3173
|
import { Observable } from "babylonjs/Misc/observable";
|
|
3172
|
-
import { PropertyChangedEvent } from "
|
|
3173
|
-
import { LockObject } from "
|
|
3174
|
+
import { PropertyChangedEvent } from "babylonjs-node-editor/propertyChangedEvent";
|
|
3175
|
+
import { LockObject } from "babylonjs-node-editor/tabs/propertyGrids/lockObject";
|
|
3174
3176
|
import { Ellipse } from "babylonjs-gui/2D/controls/ellipse";
|
|
3175
3177
|
interface IEllipsePropertyGridComponentProps {
|
|
3176
3178
|
ellipse: Ellipse;
|
|
@@ -3184,11 +3186,11 @@ export class EllipsePropertyGridComponent extends React.Component<IEllipseProper
|
|
|
3184
3186
|
export {};
|
|
3185
3187
|
|
|
3186
3188
|
}
|
|
3187
|
-
declare module "
|
|
3189
|
+
declare module "babylonjs-node-editor/tabs/propertyGrids/gui/gridPropertyGridComponent" {
|
|
3188
3190
|
import * as React from "react";
|
|
3189
3191
|
import { Observable } from "babylonjs/Misc/observable";
|
|
3190
|
-
import { PropertyChangedEvent } from "
|
|
3191
|
-
import { LockObject } from "
|
|
3192
|
+
import { PropertyChangedEvent } from "babylonjs-node-editor/propertyChangedEvent";
|
|
3193
|
+
import { LockObject } from "babylonjs-node-editor/tabs/propertyGrids/lockObject";
|
|
3192
3194
|
import { Grid } from "babylonjs-gui/2D/controls/grid";
|
|
3193
3195
|
interface IGridPropertyGridComponentProps {
|
|
3194
3196
|
grid: Grid;
|
|
@@ -3204,11 +3206,11 @@ export class GridPropertyGridComponent extends React.Component<IGridPropertyGrid
|
|
|
3204
3206
|
export {};
|
|
3205
3207
|
|
|
3206
3208
|
}
|
|
3207
|
-
declare module "
|
|
3209
|
+
declare module "babylonjs-node-editor/tabs/propertyGrids/gui/imageBasedSliderPropertyGridComponent" {
|
|
3208
3210
|
import * as React from "react";
|
|
3209
3211
|
import { Observable } from "babylonjs/Misc/observable";
|
|
3210
|
-
import { PropertyChangedEvent } from "
|
|
3211
|
-
import { LockObject } from "
|
|
3212
|
+
import { PropertyChangedEvent } from "babylonjs-node-editor/propertyChangedEvent";
|
|
3213
|
+
import { LockObject } from "babylonjs-node-editor/tabs/propertyGrids/lockObject";
|
|
3212
3214
|
import { ImageBasedSlider } from "babylonjs-gui/2D/controls/sliders/imageBasedSlider";
|
|
3213
3215
|
interface IImageBasedSliderPropertyGridComponentProps {
|
|
3214
3216
|
imageBasedSlider: ImageBasedSlider;
|
|
@@ -3222,11 +3224,11 @@ export class ImageBasedSliderPropertyGridComponent extends React.Component<IImag
|
|
|
3222
3224
|
export {};
|
|
3223
3225
|
|
|
3224
3226
|
}
|
|
3225
|
-
declare module "
|
|
3227
|
+
declare module "babylonjs-node-editor/tabs/propertyGrids/gui/imagePropertyGridComponent" {
|
|
3226
3228
|
import * as React from "react";
|
|
3227
3229
|
import { Observable } from "babylonjs/Misc/observable";
|
|
3228
|
-
import { PropertyChangedEvent } from "
|
|
3229
|
-
import { LockObject } from "
|
|
3230
|
+
import { PropertyChangedEvent } from "babylonjs-node-editor/propertyChangedEvent";
|
|
3231
|
+
import { LockObject } from "babylonjs-node-editor/tabs/propertyGrids/lockObject";
|
|
3230
3232
|
import { Image } from "babylonjs-gui/2D/controls/image";
|
|
3231
3233
|
interface IImagePropertyGridComponentProps {
|
|
3232
3234
|
image: Image;
|
|
@@ -3240,12 +3242,12 @@ export class ImagePropertyGridComponent extends React.Component<IImagePropertyGr
|
|
|
3240
3242
|
export {};
|
|
3241
3243
|
|
|
3242
3244
|
}
|
|
3243
|
-
declare module "
|
|
3245
|
+
declare module "babylonjs-node-editor/tabs/propertyGrids/gui/inputTextPropertyGridComponent" {
|
|
3244
3246
|
import * as React from "react";
|
|
3245
3247
|
import { Observable } from "babylonjs/Misc/observable";
|
|
3246
|
-
import { PropertyChangedEvent } from "
|
|
3248
|
+
import { PropertyChangedEvent } from "babylonjs-node-editor/propertyChangedEvent";
|
|
3247
3249
|
import { InputText } from "babylonjs-gui/2D/controls/inputText";
|
|
3248
|
-
import { LockObject } from "
|
|
3250
|
+
import { LockObject } from "babylonjs-node-editor/tabs/propertyGrids/lockObject";
|
|
3249
3251
|
interface IInputTextPropertyGridComponentProps {
|
|
3250
3252
|
inputText: InputText;
|
|
3251
3253
|
lockObject: LockObject;
|
|
@@ -3258,11 +3260,11 @@ export class InputTextPropertyGridComponent extends React.Component<IInputTextPr
|
|
|
3258
3260
|
export {};
|
|
3259
3261
|
|
|
3260
3262
|
}
|
|
3261
|
-
declare module "
|
|
3263
|
+
declare module "babylonjs-node-editor/tabs/propertyGrids/gui/linePropertyGridComponent" {
|
|
3262
3264
|
import * as React from "react";
|
|
3263
3265
|
import { Observable } from "babylonjs/Misc/observable";
|
|
3264
|
-
import { PropertyChangedEvent } from "
|
|
3265
|
-
import { LockObject } from "
|
|
3266
|
+
import { PropertyChangedEvent } from "babylonjs-node-editor/propertyChangedEvent";
|
|
3267
|
+
import { LockObject } from "babylonjs-node-editor/tabs/propertyGrids/lockObject";
|
|
3266
3268
|
import { Line } from "babylonjs-gui/2D/controls/line";
|
|
3267
3269
|
interface ILinePropertyGridComponentProps {
|
|
3268
3270
|
line: Line;
|
|
@@ -3277,11 +3279,11 @@ export class LinePropertyGridComponent extends React.Component<ILinePropertyGrid
|
|
|
3277
3279
|
export {};
|
|
3278
3280
|
|
|
3279
3281
|
}
|
|
3280
|
-
declare module "
|
|
3282
|
+
declare module "babylonjs-node-editor/tabs/propertyGrids/gui/radioButtonPropertyGridComponent" {
|
|
3281
3283
|
import * as React from "react";
|
|
3282
3284
|
import { Observable } from "babylonjs/Misc/observable";
|
|
3283
|
-
import { PropertyChangedEvent } from "
|
|
3284
|
-
import { LockObject } from "
|
|
3285
|
+
import { PropertyChangedEvent } from "babylonjs-node-editor/propertyChangedEvent";
|
|
3286
|
+
import { LockObject } from "babylonjs-node-editor/tabs/propertyGrids/lockObject";
|
|
3285
3287
|
import { RadioButton } from "babylonjs-gui/2D/controls/radioButton";
|
|
3286
3288
|
interface IRadioButtonPropertyGridComponentProps {
|
|
3287
3289
|
radioButtons: RadioButton[];
|
|
@@ -3295,11 +3297,11 @@ export class RadioButtonPropertyGridComponent extends React.Component<IRadioButt
|
|
|
3295
3297
|
export {};
|
|
3296
3298
|
|
|
3297
3299
|
}
|
|
3298
|
-
declare module "
|
|
3300
|
+
declare module "babylonjs-node-editor/tabs/propertyGrids/gui/rectanglePropertyGridComponent" {
|
|
3299
3301
|
import * as React from "react";
|
|
3300
3302
|
import { Observable } from "babylonjs/Misc/observable";
|
|
3301
|
-
import { PropertyChangedEvent } from "
|
|
3302
|
-
import { LockObject } from "
|
|
3303
|
+
import { PropertyChangedEvent } from "babylonjs-node-editor/propertyChangedEvent";
|
|
3304
|
+
import { LockObject } from "babylonjs-node-editor/tabs/propertyGrids/lockObject";
|
|
3303
3305
|
import { Rectangle } from "babylonjs-gui/2D/controls/rectangle";
|
|
3304
3306
|
interface IRectanglePropertyGridComponentProps {
|
|
3305
3307
|
rectangle: Rectangle;
|
|
@@ -3313,11 +3315,11 @@ export class RectanglePropertyGridComponent extends React.Component<IRectanglePr
|
|
|
3313
3315
|
export {};
|
|
3314
3316
|
|
|
3315
3317
|
}
|
|
3316
|
-
declare module "
|
|
3318
|
+
declare module "babylonjs-node-editor/tabs/propertyGrids/gui/scrollViewerPropertyGridComponent" {
|
|
3317
3319
|
import * as React from "react";
|
|
3318
3320
|
import { Observable } from "babylonjs/Misc/observable";
|
|
3319
|
-
import { PropertyChangedEvent } from "
|
|
3320
|
-
import { LockObject } from "
|
|
3321
|
+
import { PropertyChangedEvent } from "babylonjs-node-editor/propertyChangedEvent";
|
|
3322
|
+
import { LockObject } from "babylonjs-node-editor/tabs/propertyGrids/lockObject";
|
|
3321
3323
|
import { ScrollViewer } from "babylonjs-gui/2D/controls/scrollViewers/scrollViewer";
|
|
3322
3324
|
interface IScrollViewerPropertyGridComponentProps {
|
|
3323
3325
|
scrollViewer: ScrollViewer;
|
|
@@ -3331,11 +3333,11 @@ export class ScrollViewerPropertyGridComponent extends React.Component<IScrollVi
|
|
|
3331
3333
|
export {};
|
|
3332
3334
|
|
|
3333
3335
|
}
|
|
3334
|
-
declare module "
|
|
3336
|
+
declare module "babylonjs-node-editor/tabs/propertyGrids/gui/sliderPropertyGridComponent" {
|
|
3335
3337
|
import * as React from "react";
|
|
3336
3338
|
import { Observable } from "babylonjs/Misc/observable";
|
|
3337
|
-
import { PropertyChangedEvent } from "
|
|
3338
|
-
import { LockObject } from "
|
|
3339
|
+
import { PropertyChangedEvent } from "babylonjs-node-editor/propertyChangedEvent";
|
|
3340
|
+
import { LockObject } from "babylonjs-node-editor/tabs/propertyGrids/lockObject";
|
|
3339
3341
|
import { Slider } from "babylonjs-gui/2D/controls/sliders/slider";
|
|
3340
3342
|
interface ISliderPropertyGridComponentProps {
|
|
3341
3343
|
slider: Slider;
|
|
@@ -3349,11 +3351,11 @@ export class SliderPropertyGridComponent extends React.Component<ISliderProperty
|
|
|
3349
3351
|
export {};
|
|
3350
3352
|
|
|
3351
3353
|
}
|
|
3352
|
-
declare module "
|
|
3354
|
+
declare module "babylonjs-node-editor/tabs/propertyGrids/gui/stackPanelPropertyGridComponent" {
|
|
3353
3355
|
import * as React from "react";
|
|
3354
3356
|
import { Observable } from "babylonjs/Misc/observable";
|
|
3355
|
-
import { PropertyChangedEvent } from "
|
|
3356
|
-
import { LockObject } from "
|
|
3357
|
+
import { PropertyChangedEvent } from "babylonjs-node-editor/propertyChangedEvent";
|
|
3358
|
+
import { LockObject } from "babylonjs-node-editor/tabs/propertyGrids/lockObject";
|
|
3357
3359
|
import { StackPanel } from "babylonjs-gui/2D/controls/stackPanel";
|
|
3358
3360
|
interface IStackPanelPropertyGridComponentProps {
|
|
3359
3361
|
stackPanel: StackPanel;
|
|
@@ -3367,12 +3369,12 @@ export class StackPanelPropertyGridComponent extends React.Component<IStackPanel
|
|
|
3367
3369
|
export {};
|
|
3368
3370
|
|
|
3369
3371
|
}
|
|
3370
|
-
declare module "
|
|
3372
|
+
declare module "babylonjs-node-editor/tabs/propertyGrids/gui/textBlockPropertyGridComponent" {
|
|
3371
3373
|
import * as React from "react";
|
|
3372
3374
|
import { Observable } from "babylonjs/Misc/observable";
|
|
3373
|
-
import { PropertyChangedEvent } from "
|
|
3375
|
+
import { PropertyChangedEvent } from "babylonjs-node-editor/propertyChangedEvent";
|
|
3374
3376
|
import { TextBlock } from "babylonjs-gui/2D/controls/textBlock";
|
|
3375
|
-
import { LockObject } from "
|
|
3377
|
+
import { LockObject } from "babylonjs-node-editor/tabs/propertyGrids/lockObject";
|
|
3376
3378
|
interface ITextBlockPropertyGridComponentProps {
|
|
3377
3379
|
textBlock: TextBlock;
|
|
3378
3380
|
lockObject: LockObject;
|
|
@@ -3385,7 +3387,7 @@ export class TextBlockPropertyGridComponent extends React.Component<ITextBlockPr
|
|
|
3385
3387
|
export {};
|
|
3386
3388
|
|
|
3387
3389
|
}
|
|
3388
|
-
declare module "
|
|
3390
|
+
declare module "babylonjs-node-editor/tabs/propertyGrids/lockObject" {
|
|
3389
3391
|
/**
|
|
3390
3392
|
* Class used to provide lock mechanism
|
|
3391
3393
|
*/
|
|
@@ -3405,7 +3407,7 @@ declare module "babylonjs-node-editor" {
|
|
|
3405
3407
|
|
|
3406
3408
|
declare module BABYLON.NodeEditor {
|
|
3407
3409
|
export class BlockTools {
|
|
3408
|
-
static GetBlockFromString(data: string, scene: Scene, nodeMaterial: NodeMaterial): BABYLON.ElbowBlock | BABYLON.TwirlBlock | BABYLON.VoronoiNoiseBlock | BABYLON.ScreenSpaceBlock | BABYLON.CloudBlock | BABYLON.MatrixBuilderBlock | BABYLON.DesaturateBlock | BABYLON.RefractBlock | BABYLON.ReflectBlock | BABYLON.DerivativeBlock | BABYLON.Rotate2dBlock | BABYLON.NormalBlendBlock | BABYLON.WorleyNoise3DBlock | BABYLON.SimplexPerlin3DBlock | BABYLON.BonesBlock | BABYLON.InstancesBlock | BABYLON.MorphTargetsBlock | BABYLON.DiscardBlock | BABYLON.ImageProcessingBlock | BABYLON.ColorMergerBlock | BABYLON.VectorMergerBlock | BABYLON.ColorSplitterBlock | BABYLON.VectorSplitterBlock | BABYLON.TextureBlock | BABYLON.ReflectionTextureBlock | BABYLON.LightBlock | BABYLON.FogBlock | BABYLON.VertexOutputBlock | BABYLON.FragmentOutputBlock | BABYLON.AddBlock | BABYLON.ClampBlock | BABYLON.ScaleBlock | BABYLON.CrossBlock | BABYLON.DotBlock | BABYLON.PowBlock | BABYLON.MultiplyBlock | BABYLON.TransformBlock | BABYLON.TrigonometryBlock | BABYLON.RemapBlock | BABYLON.NormalizeBlock | BABYLON.FresnelBlock | BABYLON.LerpBlock | BABYLON.NLerpBlock | BABYLON.DivideBlock | BABYLON.SubtractBlock | BABYLON.ModBlock | BABYLON.StepBlock | BABYLON.SmoothStepBlock | BABYLON.OneMinusBlock | BABYLON.ReciprocalBlock | BABYLON.ViewDirectionBlock | BABYLON.LightInformationBlock | BABYLON.MaxBlock | BABYLON.MinBlock | BABYLON.LengthBlock | BABYLON.DistanceBlock | BABYLON.NegateBlock | BABYLON.PerturbNormalBlock | BABYLON.RandomNumberBlock | BABYLON.ReplaceColorBlock | BABYLON.PosterizeBlock | BABYLON.ArcTan2Block | BABYLON.GradientBlock | BABYLON.FrontFacingBlock | BABYLON.WaveBlock | BABYLON.InputBlock | BABYLON.PBRMetallicRoughnessBlock | BABYLON.SheenBlock | BABYLON.AnisotropyBlock | BABYLON.ReflectionBlock | BABYLON.ClearCoatBlock | BABYLON.RefractionBlock | BABYLON.SubSurfaceBlock | BABYLON.CurrentScreenBlock | BABYLON.ParticleTextureBlock | BABYLON.ParticleRampGradientBlock | BABYLON.ParticleBlendMultiplyBlock | BABYLON.FragCoordBlock | BABYLON.ScreenSizeBlock | BABYLON.SceneDepthBlock | BABYLON.ConditionalBlock | BABYLON.ImageSourceBlock | BABYLON.ClipPlanesBlock | null;
|
|
3410
|
+
static GetBlockFromString(data: string, scene: BABYLON.Scene, nodeMaterial: BABYLON.NodeMaterial): BABYLON.ElbowBlock | BABYLON.TwirlBlock | BABYLON.VoronoiNoiseBlock | BABYLON.ScreenSpaceBlock | BABYLON.CloudBlock | BABYLON.MatrixBuilderBlock | BABYLON.DesaturateBlock | BABYLON.RefractBlock | BABYLON.ReflectBlock | BABYLON.DerivativeBlock | BABYLON.Rotate2dBlock | BABYLON.NormalBlendBlock | BABYLON.WorleyNoise3DBlock | BABYLON.SimplexPerlin3DBlock | BABYLON.BonesBlock | BABYLON.InstancesBlock | BABYLON.MorphTargetsBlock | BABYLON.DiscardBlock | BABYLON.ImageProcessingBlock | BABYLON.ColorMergerBlock | BABYLON.VectorMergerBlock | BABYLON.ColorSplitterBlock | BABYLON.VectorSplitterBlock | BABYLON.TextureBlock | BABYLON.ReflectionTextureBlock | BABYLON.LightBlock | BABYLON.FogBlock | BABYLON.VertexOutputBlock | BABYLON.FragmentOutputBlock | BABYLON.AddBlock | BABYLON.ClampBlock | BABYLON.ScaleBlock | BABYLON.CrossBlock | BABYLON.DotBlock | BABYLON.PowBlock | BABYLON.MultiplyBlock | BABYLON.TransformBlock | BABYLON.TrigonometryBlock | BABYLON.RemapBlock | BABYLON.NormalizeBlock | BABYLON.FresnelBlock | BABYLON.LerpBlock | BABYLON.NLerpBlock | BABYLON.DivideBlock | BABYLON.SubtractBlock | BABYLON.ModBlock | BABYLON.StepBlock | BABYLON.SmoothStepBlock | BABYLON.OneMinusBlock | BABYLON.ReciprocalBlock | BABYLON.ViewDirectionBlock | BABYLON.LightInformationBlock | BABYLON.MaxBlock | BABYLON.MinBlock | BABYLON.LengthBlock | BABYLON.DistanceBlock | BABYLON.NegateBlock | BABYLON.PerturbNormalBlock | BABYLON.RandomNumberBlock | BABYLON.ReplaceColorBlock | BABYLON.PosterizeBlock | BABYLON.ArcTan2Block | BABYLON.GradientBlock | BABYLON.FrontFacingBlock | BABYLON.WaveBlock | BABYLON.InputBlock | BABYLON.PBRMetallicRoughnessBlock | BABYLON.SheenBlock | BABYLON.AnisotropyBlock | BABYLON.ReflectionBlock | BABYLON.ClearCoatBlock | BABYLON.RefractionBlock | BABYLON.SubSurfaceBlock | BABYLON.CurrentScreenBlock | BABYLON.ParticleTextureBlock | BABYLON.ParticleRampGradientBlock | BABYLON.ParticleBlendMultiplyBlock | BABYLON.FragCoordBlock | BABYLON.ScreenSizeBlock | BABYLON.SceneDepthBlock | BABYLON.ConditionalBlock | BABYLON.ImageSourceBlock | BABYLON.ClipPlanesBlock | null;
|
|
3409
3411
|
static GetColorFromConnectionNodeType(type: BABYLON.NodeMaterialBlockConnectionPointTypes): string;
|
|
3410
3412
|
static GetConnectionNodeTypeFromString(type: string): BABYLON.NodeMaterialBlockConnectionPointTypes.Float | BABYLON.NodeMaterialBlockConnectionPointTypes.Vector2 | BABYLON.NodeMaterialBlockConnectionPointTypes.Vector3 | BABYLON.NodeMaterialBlockConnectionPointTypes.Vector4 | BABYLON.NodeMaterialBlockConnectionPointTypes.Color3 | BABYLON.NodeMaterialBlockConnectionPointTypes.Color4 | BABYLON.NodeMaterialBlockConnectionPointTypes.Matrix | BABYLON.NodeMaterialBlockConnectionPointTypes.AutoDetect;
|
|
3411
3413
|
static GetStringFromConnectionNodeType(type: BABYLON.NodeMaterialBlockConnectionPointTypes): "" | "Float" | "Vector2" | "Vector3" | "Vector4" | "Matrix" | "Color3" | "Color4";
|
|
@@ -3543,19 +3545,19 @@ declare module BABYLON.NodeEditor {
|
|
|
3543
3545
|
|
|
3544
3546
|
interface IInputsPropertyTabComponentProps {
|
|
3545
3547
|
globalState: GlobalState;
|
|
3546
|
-
inputs: InputBlock[];
|
|
3548
|
+
inputs: BABYLON.InputBlock[];
|
|
3547
3549
|
}
|
|
3548
3550
|
export class InputsPropertyTabComponent extends React.Component<IInputsPropertyTabComponentProps> {
|
|
3549
3551
|
constructor(props: IInputsPropertyTabComponentProps);
|
|
3550
|
-
processInputBlockUpdate(ib: InputBlock): void;
|
|
3551
|
-
renderInputBlock(block: InputBlock): JSX.Element | null;
|
|
3552
|
+
processInputBlockUpdate(ib: BABYLON.InputBlock): void;
|
|
3553
|
+
renderInputBlock(block: BABYLON.InputBlock): JSX.Element | null;
|
|
3552
3554
|
render(): JSX.Element;
|
|
3553
3555
|
}
|
|
3554
3556
|
|
|
3555
3557
|
|
|
3556
3558
|
interface IColor3PropertyTabComponentProps {
|
|
3557
3559
|
globalState: GlobalState;
|
|
3558
|
-
inputBlock: InputBlock;
|
|
3560
|
+
inputBlock: BABYLON.InputBlock;
|
|
3559
3561
|
}
|
|
3560
3562
|
export class Color3PropertyTabComponent extends React.Component<IColor3PropertyTabComponentProps> {
|
|
3561
3563
|
render(): JSX.Element;
|
|
@@ -3564,7 +3566,7 @@ declare module BABYLON.NodeEditor {
|
|
|
3564
3566
|
|
|
3565
3567
|
interface IColor4PropertyTabComponentProps {
|
|
3566
3568
|
globalState: GlobalState;
|
|
3567
|
-
inputBlock: InputBlock;
|
|
3569
|
+
inputBlock: BABYLON.InputBlock;
|
|
3568
3570
|
}
|
|
3569
3571
|
export class Color4PropertyTabComponent extends React.Component<IColor4PropertyTabComponentProps> {
|
|
3570
3572
|
render(): JSX.Element;
|
|
@@ -3573,7 +3575,7 @@ declare module BABYLON.NodeEditor {
|
|
|
3573
3575
|
|
|
3574
3576
|
interface IFloatPropertyTabComponentProps {
|
|
3575
3577
|
globalState: GlobalState;
|
|
3576
|
-
inputBlock: InputBlock;
|
|
3578
|
+
inputBlock: BABYLON.InputBlock;
|
|
3577
3579
|
}
|
|
3578
3580
|
export class FloatPropertyTabComponent extends React.Component<IFloatPropertyTabComponentProps> {
|
|
3579
3581
|
render(): JSX.Element;
|
|
@@ -3582,7 +3584,7 @@ declare module BABYLON.NodeEditor {
|
|
|
3582
3584
|
|
|
3583
3585
|
interface IMatrixPropertyTabComponentProps {
|
|
3584
3586
|
globalState: GlobalState;
|
|
3585
|
-
inputBlock: InputBlock;
|
|
3587
|
+
inputBlock: BABYLON.InputBlock;
|
|
3586
3588
|
}
|
|
3587
3589
|
export class MatrixPropertyTabComponent extends React.Component<IMatrixPropertyTabComponentProps> {
|
|
3588
3590
|
render(): JSX.Element;
|
|
@@ -3591,7 +3593,7 @@ declare module BABYLON.NodeEditor {
|
|
|
3591
3593
|
|
|
3592
3594
|
interface IVector2PropertyTabComponentProps {
|
|
3593
3595
|
globalState: GlobalState;
|
|
3594
|
-
inputBlock: InputBlock;
|
|
3596
|
+
inputBlock: BABYLON.InputBlock;
|
|
3595
3597
|
}
|
|
3596
3598
|
export class Vector2PropertyTabComponent extends React.Component<IVector2PropertyTabComponentProps> {
|
|
3597
3599
|
render(): JSX.Element;
|
|
@@ -3600,7 +3602,7 @@ declare module BABYLON.NodeEditor {
|
|
|
3600
3602
|
|
|
3601
3603
|
interface IVector3PropertyTabComponentProps {
|
|
3602
3604
|
globalState: GlobalState;
|
|
3603
|
-
inputBlock: InputBlock;
|
|
3605
|
+
inputBlock: BABYLON.InputBlock;
|
|
3604
3606
|
}
|
|
3605
3607
|
export class Vector3PropertyTabComponent extends React.Component<IVector3PropertyTabComponentProps> {
|
|
3606
3608
|
render(): JSX.Element;
|
|
@@ -3609,7 +3611,7 @@ declare module BABYLON.NodeEditor {
|
|
|
3609
3611
|
|
|
3610
3612
|
interface IVector4PropertyTabComponentProps {
|
|
3611
3613
|
globalState: GlobalState;
|
|
3612
|
-
inputBlock: InputBlock;
|
|
3614
|
+
inputBlock: BABYLON.InputBlock;
|
|
3613
3615
|
}
|
|
3614
3616
|
export class Vector4PropertyTabComponent extends React.Component<IVector4PropertyTabComponentProps> {
|
|
3615
3617
|
render(): JSX.Element;
|
|
@@ -3620,10 +3622,10 @@ declare module BABYLON.NodeEditor {
|
|
|
3620
3622
|
globalState: GlobalState;
|
|
3621
3623
|
}
|
|
3622
3624
|
interface IPropertyTabComponentState {
|
|
3623
|
-
currentNode: Nullable<GraphNode>;
|
|
3624
|
-
currentFrame: Nullable<GraphFrame>;
|
|
3625
|
-
currentFrameNodePort: Nullable<FrameNodePort>;
|
|
3626
|
-
currentNodePort: Nullable<NodePort>;
|
|
3625
|
+
currentNode: BABYLON.Nullable<GraphNode>;
|
|
3626
|
+
currentFrame: BABYLON.Nullable<GraphFrame>;
|
|
3627
|
+
currentFrameNodePort: BABYLON.Nullable<FrameNodePort>;
|
|
3628
|
+
currentNodePort: BABYLON.Nullable<NodePort>;
|
|
3627
3629
|
uploadInProgress: boolean;
|
|
3628
3630
|
}
|
|
3629
3631
|
export class PropertyTabComponent extends React.Component<IPropertyTabComponentProps, IPropertyTabComponentState> {
|
|
@@ -3632,8 +3634,8 @@ declare module BABYLON.NodeEditor {
|
|
|
3632
3634
|
constructor(props: IPropertyTabComponentProps);
|
|
3633
3635
|
componentDidMount(): void;
|
|
3634
3636
|
componentWillUnmount(): void;
|
|
3635
|
-
processInputBlockUpdate(ib: InputBlock): void;
|
|
3636
|
-
renderInputBlock(block: InputBlock): JSX.Element | null;
|
|
3637
|
+
processInputBlockUpdate(ib: BABYLON.InputBlock): void;
|
|
3638
|
+
renderInputBlock(block: BABYLON.InputBlock): JSX.Element | null;
|
|
3637
3639
|
load(file: File): void;
|
|
3638
3640
|
loadFrame(file: File): void;
|
|
3639
3641
|
save(): void;
|
|
@@ -3648,16 +3650,16 @@ declare module BABYLON.NodeEditor {
|
|
|
3648
3650
|
export class ClampDisplayManager implements IDisplayManager {
|
|
3649
3651
|
getHeaderClass(): string;
|
|
3650
3652
|
shouldDisplayPortLabels(): boolean;
|
|
3651
|
-
getHeaderText(block: NodeMaterialBlock): string;
|
|
3653
|
+
getHeaderText(block: BABYLON.NodeMaterialBlock): string;
|
|
3652
3654
|
getBackgroundColor(): string;
|
|
3653
|
-
updatePreviewContent(block: NodeMaterialBlock, contentArea: HTMLDivElement): void;
|
|
3655
|
+
updatePreviewContent(block: BABYLON.NodeMaterialBlock, contentArea: HTMLDivElement): void;
|
|
3654
3656
|
}
|
|
3655
3657
|
|
|
3656
3658
|
|
|
3657
3659
|
export class ConditionalDisplayManager implements IDisplayManager {
|
|
3658
3660
|
getHeaderClass(): string;
|
|
3659
3661
|
shouldDisplayPortLabels(): boolean;
|
|
3660
|
-
getHeaderText(block: NodeMaterialBlock): string;
|
|
3662
|
+
getHeaderText(block: BABYLON.NodeMaterialBlock): string;
|
|
3661
3663
|
getBackgroundColor(): string;
|
|
3662
3664
|
updatePreviewContent(): void;
|
|
3663
3665
|
}
|
|
@@ -3666,36 +3668,36 @@ declare module BABYLON.NodeEditor {
|
|
|
3666
3668
|
export class DiscardDisplayManager implements IDisplayManager {
|
|
3667
3669
|
getHeaderClass(): string;
|
|
3668
3670
|
shouldDisplayPortLabels(): boolean;
|
|
3669
|
-
getHeaderText(block: NodeMaterialBlock): string;
|
|
3671
|
+
getHeaderText(block: BABYLON.NodeMaterialBlock): string;
|
|
3670
3672
|
getBackgroundColor(): string;
|
|
3671
|
-
updatePreviewContent(block: NodeMaterialBlock, contentArea: HTMLDivElement): void;
|
|
3673
|
+
updatePreviewContent(block: BABYLON.NodeMaterialBlock, contentArea: HTMLDivElement): void;
|
|
3672
3674
|
}
|
|
3673
3675
|
|
|
3674
3676
|
|
|
3675
3677
|
export interface IDisplayManager {
|
|
3676
|
-
getHeaderClass(block: NodeMaterialBlock): string;
|
|
3677
|
-
shouldDisplayPortLabels(block: NodeMaterialBlock): boolean;
|
|
3678
|
-
updatePreviewContent(block: NodeMaterialBlock, contentArea: HTMLDivElement): void;
|
|
3679
|
-
getBackgroundColor(block: NodeMaterialBlock): string;
|
|
3680
|
-
getHeaderText(block: NodeMaterialBlock): string;
|
|
3678
|
+
getHeaderClass(block: BABYLON.NodeMaterialBlock): string;
|
|
3679
|
+
shouldDisplayPortLabels(block: BABYLON.NodeMaterialBlock): boolean;
|
|
3680
|
+
updatePreviewContent(block: BABYLON.NodeMaterialBlock, contentArea: HTMLDivElement): void;
|
|
3681
|
+
getBackgroundColor(block: BABYLON.NodeMaterialBlock): string;
|
|
3682
|
+
getHeaderText(block: BABYLON.NodeMaterialBlock): string;
|
|
3681
3683
|
}
|
|
3682
3684
|
|
|
3683
3685
|
|
|
3684
3686
|
export class ElbowDisplayManager implements IDisplayManager {
|
|
3685
3687
|
getHeaderClass(): string;
|
|
3686
3688
|
shouldDisplayPortLabels(): boolean;
|
|
3687
|
-
getHeaderText(block: NodeMaterialBlock): string;
|
|
3688
|
-
getBackgroundColor(block: NodeMaterialBlock): string;
|
|
3689
|
-
updatePreviewContent(block: NodeMaterialBlock, contentArea: HTMLDivElement): void;
|
|
3689
|
+
getHeaderText(block: BABYLON.NodeMaterialBlock): string;
|
|
3690
|
+
getBackgroundColor(block: BABYLON.NodeMaterialBlock): string;
|
|
3691
|
+
updatePreviewContent(block: BABYLON.NodeMaterialBlock, contentArea: HTMLDivElement): void;
|
|
3690
3692
|
}
|
|
3691
3693
|
|
|
3692
3694
|
|
|
3693
3695
|
export class GradientDisplayManager implements IDisplayManager {
|
|
3694
3696
|
getHeaderClass(): string;
|
|
3695
3697
|
shouldDisplayPortLabels(): boolean;
|
|
3696
|
-
getHeaderText(block: NodeMaterialBlock): string;
|
|
3697
|
-
getBackgroundColor(block: NodeMaterialBlock): string;
|
|
3698
|
-
updatePreviewContent(block: NodeMaterialBlock, contentArea: HTMLDivElement): void;
|
|
3698
|
+
getHeaderText(block: BABYLON.NodeMaterialBlock): string;
|
|
3699
|
+
getBackgroundColor(block: BABYLON.NodeMaterialBlock): string;
|
|
3700
|
+
updatePreviewContent(block: BABYLON.NodeMaterialBlock, contentArea: HTMLDivElement): void;
|
|
3699
3701
|
}
|
|
3700
3702
|
|
|
3701
3703
|
|
|
@@ -3704,47 +3706,47 @@ declare module BABYLON.NodeEditor {
|
|
|
3704
3706
|
private _previewImage;
|
|
3705
3707
|
getHeaderClass(): string;
|
|
3706
3708
|
shouldDisplayPortLabels(): boolean;
|
|
3707
|
-
getHeaderText(block: NodeMaterialBlock): string;
|
|
3709
|
+
getHeaderText(block: BABYLON.NodeMaterialBlock): string;
|
|
3708
3710
|
getBackgroundColor(): string;
|
|
3709
|
-
updatePreviewContent(block: NodeMaterialBlock, contentArea: HTMLDivElement): void;
|
|
3711
|
+
updatePreviewContent(block: BABYLON.NodeMaterialBlock, contentArea: HTMLDivElement): void;
|
|
3710
3712
|
}
|
|
3711
3713
|
|
|
3712
3714
|
|
|
3713
3715
|
export class InputDisplayManager implements IDisplayManager {
|
|
3714
|
-
getHeaderClass(block: NodeMaterialBlock): "" | "constant" | "inspector";
|
|
3716
|
+
getHeaderClass(block: BABYLON.NodeMaterialBlock): "" | "constant" | "inspector";
|
|
3715
3717
|
shouldDisplayPortLabels(): boolean;
|
|
3716
|
-
getHeaderText(block: NodeMaterialBlock): string;
|
|
3718
|
+
getHeaderText(block: BABYLON.NodeMaterialBlock): string;
|
|
3717
3719
|
static GetBaseType(type: BABYLON.NodeMaterialBlockConnectionPointTypes): string;
|
|
3718
|
-
getBackgroundColor(block: NodeMaterialBlock): string;
|
|
3719
|
-
updatePreviewContent(block: NodeMaterialBlock, contentArea: HTMLDivElement): void;
|
|
3720
|
+
getBackgroundColor(block: BABYLON.NodeMaterialBlock): string;
|
|
3721
|
+
updatePreviewContent(block: BABYLON.NodeMaterialBlock, contentArea: HTMLDivElement): void;
|
|
3720
3722
|
}
|
|
3721
3723
|
|
|
3722
3724
|
|
|
3723
3725
|
export class OutputDisplayManager implements IDisplayManager {
|
|
3724
3726
|
getHeaderClass(): string;
|
|
3725
3727
|
shouldDisplayPortLabels(): boolean;
|
|
3726
|
-
getHeaderText(block: NodeMaterialBlock): string;
|
|
3728
|
+
getHeaderText(block: BABYLON.NodeMaterialBlock): string;
|
|
3727
3729
|
getBackgroundColor(): string;
|
|
3728
|
-
updatePreviewContent(block: NodeMaterialBlock, contentArea: HTMLDivElement): void;
|
|
3730
|
+
updatePreviewContent(block: BABYLON.NodeMaterialBlock, contentArea: HTMLDivElement): void;
|
|
3729
3731
|
}
|
|
3730
3732
|
|
|
3731
3733
|
|
|
3732
3734
|
export class PBRDisplayManager implements IDisplayManager {
|
|
3733
3735
|
getHeaderClass(): string;
|
|
3734
3736
|
shouldDisplayPortLabels(): boolean;
|
|
3735
|
-
getHeaderText(block: NodeMaterialBlock): string;
|
|
3737
|
+
getHeaderText(block: BABYLON.NodeMaterialBlock): string;
|
|
3736
3738
|
getBackgroundColor(): string;
|
|
3737
|
-
updatePreviewContent(block: NodeMaterialBlock, contentArea: HTMLDivElement): void;
|
|
3739
|
+
updatePreviewContent(block: BABYLON.NodeMaterialBlock, contentArea: HTMLDivElement): void;
|
|
3738
3740
|
}
|
|
3739
3741
|
|
|
3740
3742
|
|
|
3741
3743
|
export class RemapDisplayManager implements IDisplayManager {
|
|
3742
3744
|
getHeaderClass(): string;
|
|
3743
3745
|
shouldDisplayPortLabels(): boolean;
|
|
3744
|
-
getHeaderText(block: NodeMaterialBlock): string;
|
|
3746
|
+
getHeaderText(block: BABYLON.NodeMaterialBlock): string;
|
|
3745
3747
|
getBackgroundColor(): string;
|
|
3746
3748
|
private _extractInputValue;
|
|
3747
|
-
updatePreviewContent(block: NodeMaterialBlock, contentArea: HTMLDivElement): void;
|
|
3749
|
+
updatePreviewContent(block: BABYLON.NodeMaterialBlock, contentArea: HTMLDivElement): void;
|
|
3748
3750
|
}
|
|
3749
3751
|
|
|
3750
3752
|
|
|
@@ -3753,18 +3755,18 @@ declare module BABYLON.NodeEditor {
|
|
|
3753
3755
|
private _previewImage;
|
|
3754
3756
|
getHeaderClass(): string;
|
|
3755
3757
|
shouldDisplayPortLabels(): boolean;
|
|
3756
|
-
getHeaderText(block: NodeMaterialBlock): string;
|
|
3757
|
-
getBackgroundColor(block: NodeMaterialBlock): string;
|
|
3758
|
-
updatePreviewContent(block: NodeMaterialBlock, contentArea: HTMLDivElement): void;
|
|
3758
|
+
getHeaderText(block: BABYLON.NodeMaterialBlock): string;
|
|
3759
|
+
getBackgroundColor(block: BABYLON.NodeMaterialBlock): string;
|
|
3760
|
+
updatePreviewContent(block: BABYLON.NodeMaterialBlock, contentArea: HTMLDivElement): void;
|
|
3759
3761
|
}
|
|
3760
3762
|
|
|
3761
3763
|
|
|
3762
3764
|
export class TrigonometryDisplayManager implements IDisplayManager {
|
|
3763
3765
|
getHeaderClass(): string;
|
|
3764
3766
|
shouldDisplayPortLabels(): boolean;
|
|
3765
|
-
getHeaderText(block: NodeMaterialBlock): string;
|
|
3767
|
+
getHeaderText(block: BABYLON.NodeMaterialBlock): string;
|
|
3766
3768
|
getBackgroundColor(): string;
|
|
3767
|
-
updatePreviewContent(block: NodeMaterialBlock, contentArea: HTMLDivElement): void;
|
|
3769
|
+
updatePreviewContent(block: BABYLON.NodeMaterialBlock, contentArea: HTMLDivElement): void;
|
|
3768
3770
|
}
|
|
3769
3771
|
|
|
3770
3772
|
|
|
@@ -3776,7 +3778,7 @@ declare module BABYLON.NodeEditor {
|
|
|
3776
3778
|
|
|
3777
3779
|
|
|
3778
3780
|
export class FrameNodePort extends NodePort {
|
|
3779
|
-
connectionPoint: NodeMaterialConnectionPoint;
|
|
3781
|
+
connectionPoint: BABYLON.NodeMaterialConnectionPoint;
|
|
3780
3782
|
node: GraphNode;
|
|
3781
3783
|
private _parentFrameId;
|
|
3782
3784
|
private _isInput;
|
|
@@ -3789,14 +3791,14 @@ declare module BABYLON.NodeEditor {
|
|
|
3789
3791
|
get framePortId(): number;
|
|
3790
3792
|
get framePortPosition(): FramePortPosition;
|
|
3791
3793
|
set framePortPosition(position: FramePortPosition);
|
|
3792
|
-
constructor(portContainer: HTMLElement, connectionPoint: NodeMaterialConnectionPoint, node: GraphNode, globalState: GlobalState, isInput: boolean, framePortId: number, parentFrameId: number);
|
|
3793
|
-
static CreateFrameNodePortElement(connectionPoint: NodeMaterialConnectionPoint, node: GraphNode, root: HTMLElement, displayManager: Nullable<IDisplayManager>, globalState: GlobalState, isInput: boolean, framePortId: number, parentFrameId: number): FrameNodePort;
|
|
3794
|
+
constructor(portContainer: HTMLElement, connectionPoint: BABYLON.NodeMaterialConnectionPoint, node: GraphNode, globalState: GlobalState, isInput: boolean, framePortId: number, parentFrameId: number);
|
|
3795
|
+
static CreateFrameNodePortElement(connectionPoint: BABYLON.NodeMaterialConnectionPoint, node: GraphNode, root: HTMLElement, displayManager: BABYLON.Nullable<IDisplayManager>, globalState: GlobalState, isInput: boolean, framePortId: number, parentFrameId: number): FrameNodePort;
|
|
3794
3796
|
}
|
|
3795
3797
|
|
|
3796
3798
|
|
|
3797
3799
|
export interface IGraphCanvasComponentProps {
|
|
3798
3800
|
globalState: GlobalState;
|
|
3799
|
-
onEmitNewBlock: (block: NodeMaterialBlock) => GraphNode;
|
|
3801
|
+
onEmitNewBlock: (block: BABYLON.NodeMaterialBlock) => GraphNode;
|
|
3800
3802
|
}
|
|
3801
3803
|
export type FramePortData = {
|
|
3802
3804
|
frame: GraphFrame;
|
|
@@ -3852,9 +3854,9 @@ declare module BABYLON.NodeEditor {
|
|
|
3852
3854
|
get y(): number;
|
|
3853
3855
|
set y(value: number);
|
|
3854
3856
|
get selectedNodes(): GraphNode[];
|
|
3855
|
-
get selectedLink(): Nullable<NodeLink>;
|
|
3857
|
+
get selectedLink(): BABYLON.Nullable<NodeLink>;
|
|
3856
3858
|
get selectedFrames(): GraphFrame[];
|
|
3857
|
-
get selectedPort(): Nullable<NodePort>;
|
|
3859
|
+
get selectedPort(): BABYLON.Nullable<NodePort>;
|
|
3858
3860
|
get canvasContainer(): HTMLDivElement;
|
|
3859
3861
|
get hostCanvas(): HTMLDivElement;
|
|
3860
3862
|
get svgCanvas(): HTMLElement;
|
|
@@ -3866,11 +3868,11 @@ declare module BABYLON.NodeEditor {
|
|
|
3866
3868
|
getGridPositionCeil(position: number): number;
|
|
3867
3869
|
updateTransform(): void;
|
|
3868
3870
|
onKeyUp(): void;
|
|
3869
|
-
findNodeFromBlock(block: NodeMaterialBlock): GraphNode;
|
|
3871
|
+
findNodeFromBlock(block: BABYLON.NodeMaterialBlock): GraphNode;
|
|
3870
3872
|
reset(): void;
|
|
3871
|
-
connectPorts(pointA: NodeMaterialConnectionPoint, pointB: NodeMaterialConnectionPoint): void;
|
|
3873
|
+
connectPorts(pointA: BABYLON.NodeMaterialConnectionPoint, pointB: BABYLON.NodeMaterialConnectionPoint): void;
|
|
3872
3874
|
removeLink(link: NodeLink): void;
|
|
3873
|
-
appendBlock(block: NodeMaterialBlock): GraphNode;
|
|
3875
|
+
appendBlock(block: BABYLON.NodeMaterialBlock): GraphNode;
|
|
3874
3876
|
distributeGraph(): void;
|
|
3875
3877
|
componentDidMount(): void;
|
|
3876
3878
|
onMove(evt: React.PointerEvent): void;
|
|
@@ -3879,7 +3881,7 @@ declare module BABYLON.NodeEditor {
|
|
|
3879
3881
|
onWheel(evt: React.WheelEvent): void;
|
|
3880
3882
|
zoomToFit(): void;
|
|
3881
3883
|
processCandidatePort(): void;
|
|
3882
|
-
connectNodes(nodeA: GraphNode, pointA: NodeMaterialConnectionPoint, nodeB: GraphNode, pointB: NodeMaterialConnectionPoint): void;
|
|
3884
|
+
connectNodes(nodeA: GraphNode, pointA: BABYLON.NodeMaterialConnectionPoint, nodeB: GraphNode, pointB: BABYLON.NodeMaterialConnectionPoint): void;
|
|
3883
3885
|
processEditorData(editorData: IEditorData): void;
|
|
3884
3886
|
addFrame(frameData: IFrameData): void;
|
|
3885
3887
|
render(): JSX.Element;
|
|
@@ -3965,7 +3967,7 @@ declare module BABYLON.NodeEditor {
|
|
|
3965
3967
|
set height(value: number);
|
|
3966
3968
|
get comments(): string;
|
|
3967
3969
|
set comments(comments: string);
|
|
3968
|
-
constructor(candidate: Nullable<HTMLDivElement>, canvas: GraphCanvasComponent, doNotCaptureNodes?: boolean);
|
|
3970
|
+
constructor(candidate: BABYLON.Nullable<HTMLDivElement>, canvas: GraphCanvasComponent, doNotCaptureNodes?: boolean);
|
|
3969
3971
|
refresh(): void;
|
|
3970
3972
|
addNode(node: GraphNode): void;
|
|
3971
3973
|
removeNode(node: GraphNode): void;
|
|
@@ -4036,7 +4038,7 @@ declare module BABYLON.NodeEditor {
|
|
|
4036
4038
|
|
|
4037
4039
|
/// <reference types="react" />
|
|
4038
4040
|
export class GraphNode {
|
|
4039
|
-
block: NodeMaterialBlock;
|
|
4041
|
+
block: BABYLON.NodeMaterialBlock;
|
|
4040
4042
|
private _visual;
|
|
4041
4043
|
private _headerContainer;
|
|
4042
4044
|
private _promotionWarning;
|
|
@@ -4085,10 +4087,10 @@ declare module BABYLON.NodeEditor {
|
|
|
4085
4087
|
get enclosingFrameId(): number;
|
|
4086
4088
|
set enclosingFrameId(value: number);
|
|
4087
4089
|
set isSelected(value: boolean);
|
|
4088
|
-
constructor(block: NodeMaterialBlock, globalState: GlobalState);
|
|
4090
|
+
constructor(block: BABYLON.NodeMaterialBlock, globalState: GlobalState);
|
|
4089
4091
|
isOverlappingFrame(frame: GraphFrame): boolean;
|
|
4090
|
-
getPortForConnectionPoint(point: NodeMaterialConnectionPoint): NodePort | null;
|
|
4091
|
-
getLinksForConnectionPoint(point: NodeMaterialConnectionPoint): NodeLink[];
|
|
4092
|
+
getPortForConnectionPoint(point: BABYLON.NodeMaterialConnectionPoint): NodePort | null;
|
|
4093
|
+
getLinksForConnectionPoint(point: BABYLON.NodeMaterialConnectionPoint): NodeLink[];
|
|
4092
4094
|
private _refreshFrames;
|
|
4093
4095
|
_refreshLinks(): void;
|
|
4094
4096
|
refresh(): void;
|
|
@@ -4096,7 +4098,7 @@ declare module BABYLON.NodeEditor {
|
|
|
4096
4098
|
cleanAccumulation(useCeil?: boolean): void;
|
|
4097
4099
|
private _onUp;
|
|
4098
4100
|
private _onMove;
|
|
4099
|
-
renderProperties(): Nullable<JSX.Element>;
|
|
4101
|
+
renderProperties(): BABYLON.Nullable<JSX.Element>;
|
|
4100
4102
|
appendVisual(root: HTMLDivElement, owner: GraphCanvasComponent): void;
|
|
4101
4103
|
dispose(): void;
|
|
4102
4104
|
}
|
|
@@ -4127,16 +4129,16 @@ declare module BABYLON.NodeEditor {
|
|
|
4127
4129
|
|
|
4128
4130
|
|
|
4129
4131
|
export class NodePort {
|
|
4130
|
-
connectionPoint: NodeMaterialConnectionPoint;
|
|
4132
|
+
connectionPoint: BABYLON.NodeMaterialConnectionPoint;
|
|
4131
4133
|
node: GraphNode;
|
|
4132
4134
|
protected _element: HTMLDivElement;
|
|
4133
4135
|
protected _img: HTMLImageElement;
|
|
4134
4136
|
protected _globalState: GlobalState;
|
|
4135
4137
|
protected _portLabelElement: Element;
|
|
4136
|
-
protected _onCandidateLinkMovedObserver: Nullable<Observer<Nullable<Vector2>>>;
|
|
4137
|
-
protected _onSelectionChangedObserver: Nullable<Observer<Nullable<ISelectionChangedOptions>>>;
|
|
4138
|
+
protected _onCandidateLinkMovedObserver: BABYLON.Nullable<BABYLON.Observer<BABYLON.Nullable<BABYLON.Vector2>>>;
|
|
4139
|
+
protected _onSelectionChangedObserver: BABYLON.Nullable<BABYLON.Observer<BABYLON.Nullable<ISelectionChangedOptions>>>;
|
|
4138
4140
|
protected _exposedOnFrame: boolean;
|
|
4139
|
-
delegatedPort: Nullable<FrameNodePort>;
|
|
4141
|
+
delegatedPort: BABYLON.Nullable<FrameNodePort>;
|
|
4140
4142
|
get element(): HTMLDivElement;
|
|
4141
4143
|
get portName(): string;
|
|
4142
4144
|
set portName(newName: string);
|
|
@@ -4148,9 +4150,9 @@ declare module BABYLON.NodeEditor {
|
|
|
4148
4150
|
set exposedPortPosition(value: number);
|
|
4149
4151
|
private _isConnectedToNodeOutsideOfFrame;
|
|
4150
4152
|
refresh(): void;
|
|
4151
|
-
constructor(portContainer: HTMLElement, connectionPoint: NodeMaterialConnectionPoint, node: GraphNode, globalState: GlobalState);
|
|
4153
|
+
constructor(portContainer: HTMLElement, connectionPoint: BABYLON.NodeMaterialConnectionPoint, node: GraphNode, globalState: GlobalState);
|
|
4152
4154
|
dispose(): void;
|
|
4153
|
-
static CreatePortElement(connectionPoint: NodeMaterialConnectionPoint, node: GraphNode, root: HTMLElement, displayManager: Nullable<IDisplayManager>, globalState: GlobalState): NodePort;
|
|
4155
|
+
static CreatePortElement(connectionPoint: BABYLON.NodeMaterialConnectionPoint, node: GraphNode, root: HTMLElement, displayManager: BABYLON.Nullable<IDisplayManager>, globalState: GlobalState): NodePort;
|
|
4154
4156
|
}
|
|
4155
4157
|
|
|
4156
4158
|
|
|
@@ -4209,7 +4211,7 @@ declare module BABYLON.NodeEditor {
|
|
|
4209
4211
|
rebuild?: boolean;
|
|
4210
4212
|
update?: boolean;
|
|
4211
4213
|
activatePreviewCommand?: boolean;
|
|
4212
|
-
callback?: (scene: Scene) => void;
|
|
4214
|
+
callback?: (scene: BABYLON.Scene) => void;
|
|
4213
4215
|
}): void;
|
|
4214
4216
|
render(): JSX.Element;
|
|
4215
4217
|
}
|
|
@@ -4231,7 +4233,7 @@ declare module BABYLON.NodeEditor {
|
|
|
4231
4233
|
|
|
4232
4234
|
interface IGradientStepComponentProps {
|
|
4233
4235
|
globalState: GlobalState;
|
|
4234
|
-
step: GradientBlockColorStep;
|
|
4236
|
+
step: BABYLON.GradientBlockColorStep;
|
|
4235
4237
|
lineIndex: number;
|
|
4236
4238
|
onDelete: () => void;
|
|
4237
4239
|
onUpdateStep: () => void;
|
|
@@ -4252,7 +4254,7 @@ declare module BABYLON.NodeEditor {
|
|
|
4252
4254
|
export class ImageSourcePropertyTabComponent extends React.Component<IPropertyComponentProps, {
|
|
4253
4255
|
isEmbedded: boolean;
|
|
4254
4256
|
}> {
|
|
4255
|
-
get imageSourceBlock(): ImageSourceBlock;
|
|
4257
|
+
get imageSourceBlock(): BABYLON.ImageSourceBlock;
|
|
4256
4258
|
constructor(props: IPropertyComponentProps);
|
|
4257
4259
|
UNSAFE_componentWillUpdate(nextProps: IPropertyComponentProps, nextState: {
|
|
4258
4260
|
isEmbedded: boolean;
|
|
@@ -4308,12 +4310,12 @@ declare module BABYLON.NodeEditor {
|
|
|
4308
4310
|
|
|
4309
4311
|
export interface IPropertyComponentProps {
|
|
4310
4312
|
globalState: GlobalState;
|
|
4311
|
-
block: NodeMaterialBlock;
|
|
4313
|
+
block: BABYLON.NodeMaterialBlock;
|
|
4312
4314
|
}
|
|
4313
4315
|
|
|
4314
4316
|
|
|
4315
4317
|
type ReflectionTexture = BABYLON.ReflectionTextureBlock | BABYLON.ReflectionBlock | BABYLON.RefractionBlock;
|
|
4316
|
-
type AnyTexture = TextureBlock | ReflectionTexture | BABYLON.CurrentScreenBlock | BABYLON.ParticleTextureBlock;
|
|
4318
|
+
type AnyTexture = BABYLON.TextureBlock | ReflectionTexture | BABYLON.CurrentScreenBlock | BABYLON.ParticleTextureBlock;
|
|
4317
4319
|
export class TexturePropertyTabComponent extends React.Component<IPropertyComponentProps, {
|
|
4318
4320
|
isEmbedded: boolean;
|
|
4319
4321
|
loadAsCubeTexture: boolean;
|
|
@@ -4359,26 +4361,26 @@ declare module BABYLON.NodeEditor {
|
|
|
4359
4361
|
|
|
4360
4362
|
export class PropertyLedger {
|
|
4361
4363
|
static RegisteredControls: {
|
|
4362
|
-
[key: string]: ComponentClass<IPropertyComponentProps>;
|
|
4364
|
+
[key: string]: React.ComponentClass<IPropertyComponentProps>;
|
|
4363
4365
|
};
|
|
4364
4366
|
}
|
|
4365
4367
|
|
|
4366
4368
|
|
|
4367
4369
|
export class ISelectionChangedOptions {
|
|
4368
|
-
selection: Nullable<GraphNode | NodeLink | GraphFrame | NodePort | FramePortData>;
|
|
4370
|
+
selection: BABYLON.Nullable<GraphNode | NodeLink | GraphFrame | NodePort | FramePortData>;
|
|
4369
4371
|
forceKeepSelection?: boolean;
|
|
4370
4372
|
}
|
|
4371
4373
|
export class GlobalState {
|
|
4372
|
-
nodeMaterial: NodeMaterial;
|
|
4374
|
+
nodeMaterial: BABYLON.NodeMaterial;
|
|
4373
4375
|
hostElement: HTMLElement;
|
|
4374
4376
|
hostDocument: HTMLDocument;
|
|
4375
4377
|
hostWindow: Window;
|
|
4376
4378
|
onNewNodeCreatedObservable: BABYLON.Observable<GraphNode>;
|
|
4377
|
-
onSelectionChangedObservable: BABYLON.Observable<Nullable<ISelectionChangedOptions>>;
|
|
4379
|
+
onSelectionChangedObservable: BABYLON.Observable<BABYLON.Nullable<ISelectionChangedOptions>>;
|
|
4378
4380
|
onRebuildRequiredObservable: BABYLON.Observable<boolean>;
|
|
4379
4381
|
onBuiltObservable: BABYLON.Observable<void>;
|
|
4380
4382
|
onResetRequiredObservable: BABYLON.Observable<void>;
|
|
4381
|
-
onUpdateRequiredObservable: BABYLON.Observable<Nullable<NodeMaterialBlock>>;
|
|
4383
|
+
onUpdateRequiredObservable: BABYLON.Observable<BABYLON.Nullable<BABYLON.NodeMaterialBlock>>;
|
|
4382
4384
|
onZoomToFitRequiredObservable: BABYLON.Observable<void>;
|
|
4383
4385
|
onReOrganizedRequiredObservable: BABYLON.Observable<void>;
|
|
4384
4386
|
onLogRequiredObservable: BABYLON.Observable<LogEntry>;
|
|
@@ -4390,10 +4392,10 @@ declare module BABYLON.NodeEditor {
|
|
|
4390
4392
|
onBackFaceCullingChanged: BABYLON.Observable<void>;
|
|
4391
4393
|
onDepthPrePassChanged: BABYLON.Observable<void>;
|
|
4392
4394
|
onAnimationCommandActivated: BABYLON.Observable<void>;
|
|
4393
|
-
onCandidateLinkMoved: BABYLON.Observable<Nullable<Vector2>>;
|
|
4395
|
+
onCandidateLinkMoved: BABYLON.Observable<BABYLON.Nullable<BABYLON.Vector2>>;
|
|
4394
4396
|
onSelectionBoxMoved: BABYLON.Observable<ClientRect | DOMRect>;
|
|
4395
4397
|
onFrameCreatedObservable: BABYLON.Observable<GraphFrame>;
|
|
4396
|
-
onCandidatePortSelectedObservable: BABYLON.Observable<Nullable<NodePort | FrameNodePort>>;
|
|
4398
|
+
onCandidatePortSelectedObservable: BABYLON.Observable<BABYLON.Nullable<NodePort | FrameNodePort>>;
|
|
4397
4399
|
onImportFrameObservable: BABYLON.Observable<any>;
|
|
4398
4400
|
onGraphNodeRemovalObservable: BABYLON.Observable<GraphNode>;
|
|
4399
4401
|
onPopupClosedObservable: BABYLON.Observable<void>;
|
|
@@ -4403,7 +4405,7 @@ declare module BABYLON.NodeEditor {
|
|
|
4403
4405
|
targetY: number;
|
|
4404
4406
|
needRepositioning?: boolean | undefined;
|
|
4405
4407
|
}>;
|
|
4406
|
-
onGetNodeFromBlock: (block: NodeMaterialBlock) => GraphNode;
|
|
4408
|
+
onGetNodeFromBlock: (block: BABYLON.NodeMaterialBlock) => GraphNode;
|
|
4407
4409
|
onGridSizeChanged: BABYLON.Observable<void>;
|
|
4408
4410
|
onExposePortOnFrameObservable: BABYLON.Observable<GraphNode>;
|
|
4409
4411
|
previewType: PreviewType;
|
|
@@ -4419,7 +4421,7 @@ declare module BABYLON.NodeEditor {
|
|
|
4419
4421
|
directionalLight0: boolean;
|
|
4420
4422
|
directionalLight1: boolean;
|
|
4421
4423
|
controlCamera: boolean;
|
|
4422
|
-
storeEditorData: (serializationObject: any, frame?: Nullable<GraphFrame>) => void;
|
|
4424
|
+
storeEditorData: (serializationObject: any, frame?: BABYLON.Nullable<GraphFrame>) => void;
|
|
4423
4425
|
_mode: BABYLON.NodeMaterialModes;
|
|
4424
4426
|
/** Gets the mode */
|
|
4425
4427
|
get mode(): BABYLON.NodeMaterialModes;
|
|
@@ -4439,7 +4441,7 @@ declare module BABYLON.NodeEditor {
|
|
|
4439
4441
|
interface IGraphEditorState {
|
|
4440
4442
|
showPreviewPopUp: boolean;
|
|
4441
4443
|
}
|
|
4442
|
-
interface IInternalPreviewAreaOptions extends IInspectorOptions {
|
|
4444
|
+
interface IInternalPreviewAreaOptions extends BABYLON.IInspectorOptions {
|
|
4443
4445
|
popup: boolean;
|
|
4444
4446
|
original: boolean;
|
|
4445
4447
|
explorerWidth?: string;
|
|
@@ -4470,7 +4472,7 @@ declare module BABYLON.NodeEditor {
|
|
|
4470
4472
|
* @param block
|
|
4471
4473
|
* @param recursion
|
|
4472
4474
|
*/
|
|
4473
|
-
createNodeFromObject(block: NodeMaterialBlock, recursion?: boolean): GraphNode;
|
|
4475
|
+
createNodeFromObject(block: BABYLON.NodeMaterialBlock, recursion?: boolean): GraphNode;
|
|
4474
4476
|
addValueNode(type: string): GraphNode;
|
|
4475
4477
|
componentDidMount(): void;
|
|
4476
4478
|
componentWillUnmount(): void;
|
|
@@ -4483,7 +4485,7 @@ declare module BABYLON.NodeEditor {
|
|
|
4483
4485
|
loadGraph(): void;
|
|
4484
4486
|
showWaitScreen(): void;
|
|
4485
4487
|
hideWaitScreen(): void;
|
|
4486
|
-
reOrganize(editorData?: Nullable<IEditorData>, isImportingAFrame?: boolean): void;
|
|
4488
|
+
reOrganize(editorData?: BABYLON.Nullable<IEditorData>, isImportingAFrame?: boolean): void;
|
|
4487
4489
|
onPointerDown(evt: React.PointerEvent<HTMLDivElement>): void;
|
|
4488
4490
|
onPointerUp(evt: React.PointerEvent<HTMLDivElement>): void;
|
|
4489
4491
|
resizeColumns(evt: React.PointerEvent<HTMLDivElement>, forLeft?: boolean): void;
|
|
@@ -4495,8 +4497,8 @@ declare module BABYLON.NodeEditor {
|
|
|
4495
4497
|
initiatePreviewArea: (canvas?: HTMLCanvasElement) => void;
|
|
4496
4498
|
createPopUp: () => void;
|
|
4497
4499
|
createPopupWindow: (title: string, windowVariableName: string, width?: number, height?: number) => Window | null;
|
|
4498
|
-
createPreviewMeshControlHost: (options: IInternalPreviewAreaOptions, parentControl: Nullable<HTMLElement>) => void;
|
|
4499
|
-
createPreviewHost: (options: IInternalPreviewAreaOptions, parentControl: Nullable<HTMLElement>) => void;
|
|
4500
|
+
createPreviewMeshControlHost: (options: IInternalPreviewAreaOptions, parentControl: BABYLON.Nullable<HTMLElement>) => void;
|
|
4501
|
+
createPreviewHost: (options: IInternalPreviewAreaOptions, parentControl: BABYLON.Nullable<HTMLElement>) => void;
|
|
4500
4502
|
fixPopUpStyles: (document: Document) => void;
|
|
4501
4503
|
render(): JSX.Element;
|
|
4502
4504
|
}
|
|
@@ -4508,13 +4510,13 @@ declare module BABYLON.NodeEditor {
|
|
|
4508
4510
|
* Interface used to specify creation options for the node editor
|
|
4509
4511
|
*/
|
|
4510
4512
|
export interface INodeEditorOptions {
|
|
4511
|
-
nodeMaterial: NodeMaterial;
|
|
4513
|
+
nodeMaterial: BABYLON.NodeMaterial;
|
|
4512
4514
|
hostElement?: HTMLElement;
|
|
4513
4515
|
customSave?: {
|
|
4514
4516
|
label: string;
|
|
4515
4517
|
action: (data: string) => Promise<void>;
|
|
4516
4518
|
};
|
|
4517
|
-
customLoadObservable?: Observable<any>;
|
|
4519
|
+
customLoadObservable?: BABYLON.Observable<any>;
|
|
4518
4520
|
}
|
|
4519
4521
|
/**
|
|
4520
4522
|
* Class used to create a node editor
|
|
@@ -4566,10 +4568,10 @@ declare module BABYLON.NodeEditor {
|
|
|
4566
4568
|
|
|
4567
4569
|
|
|
4568
4570
|
export class SerializationTools {
|
|
4569
|
-
static UpdateLocations(material: NodeMaterial, globalState: GlobalState, frame?: Nullable<GraphFrame>): void;
|
|
4570
|
-
static Serialize(material: NodeMaterial, globalState: GlobalState, frame?: Nullable<GraphFrame>): string;
|
|
4571
|
+
static UpdateLocations(material: BABYLON.NodeMaterial, globalState: GlobalState, frame?: BABYLON.Nullable<GraphFrame>): void;
|
|
4572
|
+
static Serialize(material: BABYLON.NodeMaterial, globalState: GlobalState, frame?: BABYLON.Nullable<GraphFrame>): string;
|
|
4571
4573
|
static Deserialize(serializationObject: any, globalState: GlobalState): void;
|
|
4572
|
-
static AddFrameToMaterial(serializationObject: any, globalState: GlobalState, currentMaterial: NodeMaterial): void;
|
|
4574
|
+
static AddFrameToMaterial(serializationObject: any, globalState: GlobalState, currentMaterial: BABYLON.NodeMaterial): void;
|
|
4573
4575
|
}
|
|
4574
4576
|
|
|
4575
4577
|
|
|
@@ -4591,7 +4593,7 @@ declare module BABYLON.NodeEditor {
|
|
|
4591
4593
|
isSelected?: () => boolean;
|
|
4592
4594
|
onSelect?: (value: boolean) => void;
|
|
4593
4595
|
onValueChanged?: () => void;
|
|
4594
|
-
onPropertyChangedObservable?: Observable<PropertyChangedEvent>;
|
|
4596
|
+
onPropertyChangedObservable?: BABYLON.Observable<PropertyChangedEvent>;
|
|
4595
4597
|
disabled?: boolean;
|
|
4596
4598
|
}
|
|
4597
4599
|
export class CheckBoxLineComponent extends React.Component<ICheckBoxLineComponentProps, {
|
|
@@ -4615,7 +4617,7 @@ declare module BABYLON.NodeEditor {
|
|
|
4615
4617
|
label: string;
|
|
4616
4618
|
target: any;
|
|
4617
4619
|
propertyName: string;
|
|
4618
|
-
onPropertyChangedObservable?: Observable<PropertyChangedEvent>;
|
|
4620
|
+
onPropertyChangedObservable?: BABYLON.Observable<PropertyChangedEvent>;
|
|
4619
4621
|
onChange?: () => void;
|
|
4620
4622
|
globalState: GlobalState;
|
|
4621
4623
|
}
|
|
@@ -4638,7 +4640,7 @@ declare module BABYLON.NodeEditor {
|
|
|
4638
4640
|
label: string;
|
|
4639
4641
|
target: any;
|
|
4640
4642
|
propertyName: string;
|
|
4641
|
-
onPropertyChangedObservable?: Observable<PropertyChangedEvent>;
|
|
4643
|
+
onPropertyChangedObservable?: BABYLON.Observable<PropertyChangedEvent>;
|
|
4642
4644
|
onChange?: () => void;
|
|
4643
4645
|
globalState: GlobalState;
|
|
4644
4646
|
}
|
|
@@ -4657,13 +4659,13 @@ declare module BABYLON.NodeEditor {
|
|
|
4657
4659
|
|
|
4658
4660
|
|
|
4659
4661
|
export interface IColorPickerComponentProps {
|
|
4660
|
-
value: Color4 | Color3;
|
|
4662
|
+
value: BABYLON.Color4 | BABYLON.Color3;
|
|
4661
4663
|
onColorChanged: (newOne: string) => void;
|
|
4662
4664
|
globalState: GlobalState;
|
|
4663
4665
|
}
|
|
4664
4666
|
interface IColorPickerComponentState {
|
|
4665
4667
|
pickerEnabled: boolean;
|
|
4666
|
-
color: Color3 | Color4;
|
|
4668
|
+
color: BABYLON.Color3 | BABYLON.Color4;
|
|
4667
4669
|
hex: string;
|
|
4668
4670
|
}
|
|
4669
4671
|
export class ColorPickerLineComponent extends React.Component<IColorPickerComponentProps, IColorPickerComponentState> {
|
|
@@ -4723,7 +4725,7 @@ declare module BABYLON.NodeEditor {
|
|
|
4723
4725
|
propertyName: string;
|
|
4724
4726
|
onChange?: (newValue: number) => void;
|
|
4725
4727
|
isInteger?: boolean;
|
|
4726
|
-
onPropertyChangedObservable?: Observable<PropertyChangedEvent>;
|
|
4728
|
+
onPropertyChangedObservable?: BABYLON.Observable<PropertyChangedEvent>;
|
|
4727
4729
|
additionalClass?: string;
|
|
4728
4730
|
step?: string;
|
|
4729
4731
|
digits?: number;
|
|
@@ -4793,7 +4795,7 @@ declare module BABYLON.NodeEditor {
|
|
|
4793
4795
|
step?: number;
|
|
4794
4796
|
onChange?: (newValue: BABYLON.Matrix) => void;
|
|
4795
4797
|
onModeChange?: (mode: number) => void;
|
|
4796
|
-
onPropertyChangedObservable?: Observable<PropertyChangedEvent>;
|
|
4798
|
+
onPropertyChangedObservable?: BABYLON.Observable<PropertyChangedEvent>;
|
|
4797
4799
|
mode?: number;
|
|
4798
4800
|
globalState: GlobalState;
|
|
4799
4801
|
}
|
|
@@ -4809,9 +4811,9 @@ declare module BABYLON.NodeEditor {
|
|
|
4809
4811
|
mode: number;
|
|
4810
4812
|
angle: number;
|
|
4811
4813
|
}): boolean;
|
|
4812
|
-
raiseOnPropertyChanged(previousValue: Vector3): void;
|
|
4814
|
+
raiseOnPropertyChanged(previousValue: BABYLON.Vector3): void;
|
|
4813
4815
|
updateMatrix(): void;
|
|
4814
|
-
updateRow(value: Vector4, row: number): void;
|
|
4816
|
+
updateRow(value: BABYLON.Vector4, row: number): void;
|
|
4815
4817
|
updateBasedOnMode(value: number): void;
|
|
4816
4818
|
render(): JSX.Element;
|
|
4817
4819
|
}
|
|
@@ -4857,10 +4859,10 @@ declare module BABYLON.NodeEditor {
|
|
|
4857
4859
|
target: any;
|
|
4858
4860
|
className?: string;
|
|
4859
4861
|
propertyName?: string;
|
|
4860
|
-
options: IInspectableOptions[];
|
|
4862
|
+
options: BABYLON.IInspectableOptions[];
|
|
4861
4863
|
noDirectUpdate?: boolean;
|
|
4862
4864
|
onSelect?: (value: number | string) => void;
|
|
4863
|
-
onPropertyChangedObservable?: Observable<PropertyChangedEvent>;
|
|
4865
|
+
onPropertyChangedObservable?: BABYLON.Observable<PropertyChangedEvent>;
|
|
4864
4866
|
valuesAreStrings?: boolean;
|
|
4865
4867
|
defaultIfNull?: number;
|
|
4866
4868
|
getSelection?: (target: any) => number;
|
|
@@ -4906,7 +4908,7 @@ declare module BABYLON.NodeEditor {
|
|
|
4906
4908
|
useEuler?: boolean;
|
|
4907
4909
|
onChange?: (value: number) => void;
|
|
4908
4910
|
onInput?: (value: number) => void;
|
|
4909
|
-
onPropertyChangedObservable?: Observable<PropertyChangedEvent>;
|
|
4911
|
+
onPropertyChangedObservable?: BABYLON.Observable<PropertyChangedEvent>;
|
|
4910
4912
|
decimalCount?: number;
|
|
4911
4913
|
globalState: GlobalState;
|
|
4912
4914
|
}
|
|
@@ -4934,7 +4936,7 @@ declare module BABYLON.NodeEditor {
|
|
|
4934
4936
|
multilines?: boolean;
|
|
4935
4937
|
onChange?: (value: string) => void;
|
|
4936
4938
|
validator?: (value: string) => boolean;
|
|
4937
|
-
onPropertyChangedObservable?: Observable<PropertyChangedEvent>;
|
|
4939
|
+
onPropertyChangedObservable?: BABYLON.Observable<PropertyChangedEvent>;
|
|
4938
4940
|
}
|
|
4939
4941
|
export class TextInputLineComponent extends React.Component<ITextInputLineComponentProps, {
|
|
4940
4942
|
value: string;
|
|
@@ -4968,7 +4970,7 @@ declare module BABYLON.NodeEditor {
|
|
|
4968
4970
|
|
|
4969
4971
|
|
|
4970
4972
|
interface ITextureLineComponentProps {
|
|
4971
|
-
texture: BaseTexture;
|
|
4973
|
+
texture: BABYLON.BaseTexture;
|
|
4972
4974
|
width: number;
|
|
4973
4975
|
height: number;
|
|
4974
4976
|
globalState?: any;
|
|
@@ -4988,7 +4990,7 @@ declare module BABYLON.NodeEditor {
|
|
|
4988
4990
|
componentDidMount(): void;
|
|
4989
4991
|
componentDidUpdate(): void;
|
|
4990
4992
|
updatePreview(): void;
|
|
4991
|
-
static UpdatePreview(previewCanvas: HTMLCanvasElement, texture: BaseTexture, width: number, options: ITextureLineComponentState, onReady?: () => void, globalState?: any): Promise<void>;
|
|
4993
|
+
static UpdatePreview(previewCanvas: HTMLCanvasElement, texture: BABYLON.BaseTexture, width: number, options: ITextureLineComponentState, onReady?: () => void, globalState?: any): Promise<void>;
|
|
4992
4994
|
render(): JSX.Element;
|
|
4993
4995
|
}
|
|
4994
4996
|
|
|
@@ -4998,13 +5000,13 @@ declare module BABYLON.NodeEditor {
|
|
|
4998
5000
|
target: any;
|
|
4999
5001
|
propertyName: string;
|
|
5000
5002
|
step?: number;
|
|
5001
|
-
onChange?: (newvalue: Vector2) => void;
|
|
5002
|
-
onPropertyChangedObservable?: Observable<PropertyChangedEvent>;
|
|
5003
|
+
onChange?: (newvalue: BABYLON.Vector2) => void;
|
|
5004
|
+
onPropertyChangedObservable?: BABYLON.Observable<PropertyChangedEvent>;
|
|
5003
5005
|
globalState: GlobalState;
|
|
5004
5006
|
}
|
|
5005
5007
|
export class Vector2LineComponent extends React.Component<IVector2LineComponentProps, {
|
|
5006
5008
|
isExpanded: boolean;
|
|
5007
|
-
value: Vector2;
|
|
5009
|
+
value: BABYLON.Vector2;
|
|
5008
5010
|
}> {
|
|
5009
5011
|
static defaultProps: {
|
|
5010
5012
|
step: number;
|
|
@@ -5013,10 +5015,10 @@ declare module BABYLON.NodeEditor {
|
|
|
5013
5015
|
constructor(props: IVector2LineComponentProps);
|
|
5014
5016
|
shouldComponentUpdate(nextProps: IVector2LineComponentProps, nextState: {
|
|
5015
5017
|
isExpanded: boolean;
|
|
5016
|
-
value: Vector2;
|
|
5018
|
+
value: BABYLON.Vector2;
|
|
5017
5019
|
}): boolean;
|
|
5018
5020
|
switchExpandState(): void;
|
|
5019
|
-
raiseOnPropertyChanged(previousValue: Vector2): void;
|
|
5021
|
+
raiseOnPropertyChanged(previousValue: BABYLON.Vector2): void;
|
|
5020
5022
|
updateStateX(value: number): void;
|
|
5021
5023
|
updateStateY(value: number): void;
|
|
5022
5024
|
render(): JSX.Element;
|
|
@@ -5028,13 +5030,13 @@ declare module BABYLON.NodeEditor {
|
|
|
5028
5030
|
target: any;
|
|
5029
5031
|
propertyName: string;
|
|
5030
5032
|
step?: number;
|
|
5031
|
-
onChange?: (newvalue: Vector3) => void;
|
|
5032
|
-
onPropertyChangedObservable?: Observable<PropertyChangedEvent>;
|
|
5033
|
+
onChange?: (newvalue: BABYLON.Vector3) => void;
|
|
5034
|
+
onPropertyChangedObservable?: BABYLON.Observable<PropertyChangedEvent>;
|
|
5033
5035
|
globalState: GlobalState;
|
|
5034
5036
|
}
|
|
5035
5037
|
export class Vector3LineComponent extends React.Component<IVector3LineComponentProps, {
|
|
5036
5038
|
isExpanded: boolean;
|
|
5037
|
-
value: Vector3;
|
|
5039
|
+
value: BABYLON.Vector3;
|
|
5038
5040
|
}> {
|
|
5039
5041
|
static defaultProps: {
|
|
5040
5042
|
step: number;
|
|
@@ -5043,10 +5045,10 @@ declare module BABYLON.NodeEditor {
|
|
|
5043
5045
|
constructor(props: IVector3LineComponentProps);
|
|
5044
5046
|
shouldComponentUpdate(nextProps: IVector3LineComponentProps, nextState: {
|
|
5045
5047
|
isExpanded: boolean;
|
|
5046
|
-
value: Vector3;
|
|
5048
|
+
value: BABYLON.Vector3;
|
|
5047
5049
|
}): boolean;
|
|
5048
5050
|
switchExpandState(): void;
|
|
5049
|
-
raiseOnPropertyChanged(previousValue: Vector3): void;
|
|
5051
|
+
raiseOnPropertyChanged(previousValue: BABYLON.Vector3): void;
|
|
5050
5052
|
updateVector3(): void;
|
|
5051
5053
|
updateStateX(value: number): void;
|
|
5052
5054
|
updateStateY(value: number): void;
|
|
@@ -5059,15 +5061,15 @@ declare module BABYLON.NodeEditor {
|
|
|
5059
5061
|
label: string;
|
|
5060
5062
|
target?: any;
|
|
5061
5063
|
propertyName?: string;
|
|
5062
|
-
value?: Vector4;
|
|
5064
|
+
value?: BABYLON.Vector4;
|
|
5063
5065
|
step?: number;
|
|
5064
|
-
onChange?: (newvalue: Vector4) => void;
|
|
5065
|
-
onPropertyChangedObservable?: Observable<PropertyChangedEvent>;
|
|
5066
|
+
onChange?: (newvalue: BABYLON.Vector4) => void;
|
|
5067
|
+
onPropertyChangedObservable?: BABYLON.Observable<PropertyChangedEvent>;
|
|
5066
5068
|
globalState: GlobalState;
|
|
5067
5069
|
}
|
|
5068
5070
|
export class Vector4LineComponent extends React.Component<IVector4LineComponentProps, {
|
|
5069
5071
|
isExpanded: boolean;
|
|
5070
|
-
value: Vector4;
|
|
5072
|
+
value: BABYLON.Vector4;
|
|
5071
5073
|
}> {
|
|
5072
5074
|
static defaultProps: {
|
|
5073
5075
|
step: number;
|
|
@@ -5076,10 +5078,10 @@ declare module BABYLON.NodeEditor {
|
|
|
5076
5078
|
constructor(props: IVector4LineComponentProps);
|
|
5077
5079
|
shouldComponentUpdate(nextProps: IVector4LineComponentProps, nextState: {
|
|
5078
5080
|
isExpanded: boolean;
|
|
5079
|
-
value: Vector4;
|
|
5081
|
+
value: BABYLON.Vector4;
|
|
5080
5082
|
}): boolean;
|
|
5081
5083
|
switchExpandState(): void;
|
|
5082
|
-
raiseOnPropertyChanged(previousValue: Vector4): void;
|
|
5084
|
+
raiseOnPropertyChanged(previousValue: BABYLON.Vector4): void;
|
|
5083
5085
|
updateVector4(): void;
|
|
5084
5086
|
updateStateX(value: number): void;
|
|
5085
5087
|
updateStateY(value: number): void;
|
|
@@ -5192,13 +5194,13 @@ declare module BABYLON.NodeEditor {
|
|
|
5192
5194
|
isSelected?: () => boolean;
|
|
5193
5195
|
onSelect?: (value: boolean) => void;
|
|
5194
5196
|
onValueChanged?: () => void;
|
|
5195
|
-
onPropertyChangedObservable?: Observable<PropertyChangedEvent>;
|
|
5197
|
+
onPropertyChangedObservable?: BABYLON.Observable<PropertyChangedEvent>;
|
|
5196
5198
|
disabled?: boolean;
|
|
5197
5199
|
icon?: string;
|
|
5198
5200
|
iconLabel?: string;
|
|
5199
5201
|
faIcons?: {
|
|
5200
|
-
enabled:
|
|
5201
|
-
disabled:
|
|
5202
|
+
enabled: any;
|
|
5203
|
+
disabled: any;
|
|
5202
5204
|
};
|
|
5203
5205
|
large?: boolean;
|
|
5204
5206
|
}
|
|
@@ -5223,7 +5225,7 @@ declare module BABYLON.NodeEditor {
|
|
|
5223
5225
|
label: string;
|
|
5224
5226
|
target: any;
|
|
5225
5227
|
propertyName: string;
|
|
5226
|
-
onPropertyChangedObservable?: Observable<PropertyChangedEvent>;
|
|
5228
|
+
onPropertyChangedObservable?: BABYLON.Observable<PropertyChangedEvent>;
|
|
5227
5229
|
isLinear?: boolean;
|
|
5228
5230
|
icon?: string;
|
|
5229
5231
|
lockObject?: LockObject;
|
|
@@ -5239,7 +5241,7 @@ declare module BABYLON.NodeEditor {
|
|
|
5239
5241
|
label: string;
|
|
5240
5242
|
target?: any;
|
|
5241
5243
|
propertyName: string;
|
|
5242
|
-
onPropertyChangedObservable?: Observable<PropertyChangedEvent>;
|
|
5244
|
+
onPropertyChangedObservable?: BABYLON.Observable<PropertyChangedEvent>;
|
|
5243
5245
|
onChange?: () => void;
|
|
5244
5246
|
isLinear?: boolean;
|
|
5245
5247
|
icon?: string;
|
|
@@ -5255,7 +5257,7 @@ declare module BABYLON.NodeEditor {
|
|
|
5255
5257
|
label: string;
|
|
5256
5258
|
target?: any;
|
|
5257
5259
|
propertyName: string;
|
|
5258
|
-
onPropertyChangedObservable?: Observable<PropertyChangedEvent>;
|
|
5260
|
+
onPropertyChangedObservable?: BABYLON.Observable<PropertyChangedEvent>;
|
|
5259
5261
|
onChange?: () => void;
|
|
5260
5262
|
isLinear?: boolean;
|
|
5261
5263
|
icon?: string;
|
|
@@ -5288,7 +5290,7 @@ declare module BABYLON.NodeEditor {
|
|
|
5288
5290
|
|
|
5289
5291
|
|
|
5290
5292
|
export interface IColorPickerComponentProps {
|
|
5291
|
-
value: Color4 | Color3;
|
|
5293
|
+
value: BABYLON.Color4 | BABYLON.Color3;
|
|
5292
5294
|
linearHint?: boolean;
|
|
5293
5295
|
onColorChanged: (newOne: string) => void;
|
|
5294
5296
|
icon?: string;
|
|
@@ -5297,7 +5299,7 @@ declare module BABYLON.NodeEditor {
|
|
|
5297
5299
|
}
|
|
5298
5300
|
interface IColorPickerComponentState {
|
|
5299
5301
|
pickerEnabled: boolean;
|
|
5300
|
-
color: Color3 | Color4;
|
|
5302
|
+
color: BABYLON.Color3 | BABYLON.Color4;
|
|
5301
5303
|
hex: string;
|
|
5302
5304
|
}
|
|
5303
5305
|
export class ColorPickerLineComponent extends React.Component<IColorPickerComponentProps, IColorPickerComponentState> {
|
|
@@ -5366,7 +5368,7 @@ declare module BABYLON.NodeEditor {
|
|
|
5366
5368
|
lockObject?: LockObject;
|
|
5367
5369
|
onChange?: (newValue: number) => void;
|
|
5368
5370
|
isInteger?: boolean;
|
|
5369
|
-
onPropertyChangedObservable?: Observable<PropertyChangedEvent>;
|
|
5371
|
+
onPropertyChangedObservable?: BABYLON.Observable<PropertyChangedEvent>;
|
|
5370
5372
|
additionalClass?: string;
|
|
5371
5373
|
step?: string;
|
|
5372
5374
|
digits?: number;
|
|
@@ -5380,6 +5382,8 @@ declare module BABYLON.NodeEditor {
|
|
|
5380
5382
|
defaultValue?: number;
|
|
5381
5383
|
arrows?: boolean;
|
|
5382
5384
|
unit?: React.ReactNode;
|
|
5385
|
+
onDragStart?: (newValue: number) => void;
|
|
5386
|
+
onDragStop?: (newValue: number) => void;
|
|
5383
5387
|
}
|
|
5384
5388
|
export class FloatLineComponent extends React.Component<IFloatLineComponentProps, {
|
|
5385
5389
|
value: string;
|
|
@@ -5412,7 +5416,7 @@ declare module BABYLON.NodeEditor {
|
|
|
5412
5416
|
onChange?: (newValue: number) => void;
|
|
5413
5417
|
isInteger?: boolean;
|
|
5414
5418
|
replaySourceReplacement?: string;
|
|
5415
|
-
onPropertyChangedObservable?: Observable<PropertyChangedEvent>;
|
|
5419
|
+
onPropertyChangedObservable?: BABYLON.Observable<PropertyChangedEvent>;
|
|
5416
5420
|
additionalClass?: string;
|
|
5417
5421
|
step?: string;
|
|
5418
5422
|
digits?: number;
|
|
@@ -5520,7 +5524,7 @@ declare module BABYLON.NodeEditor {
|
|
|
5520
5524
|
buttonLabel: string;
|
|
5521
5525
|
url?: string;
|
|
5522
5526
|
onClick: () => void;
|
|
5523
|
-
icon?:
|
|
5527
|
+
icon?: any;
|
|
5524
5528
|
onIconClick?: () => void;
|
|
5525
5529
|
}
|
|
5526
5530
|
export class LinkButtonComponent extends React.Component<ILinkButtonComponentProps> {
|
|
@@ -5533,7 +5537,7 @@ declare module BABYLON.NodeEditor {
|
|
|
5533
5537
|
interface IMessageLineComponentProps {
|
|
5534
5538
|
text: string;
|
|
5535
5539
|
color?: string;
|
|
5536
|
-
icon?:
|
|
5540
|
+
icon?: any;
|
|
5537
5541
|
}
|
|
5538
5542
|
export class MessageLineComponent extends React.Component<IMessageLineComponentProps> {
|
|
5539
5543
|
constructor(props: IMessageLineComponentProps);
|
|
@@ -5572,11 +5576,11 @@ declare module BABYLON.NodeEditor {
|
|
|
5572
5576
|
label: string;
|
|
5573
5577
|
target: any;
|
|
5574
5578
|
propertyName: string;
|
|
5575
|
-
options: IInspectableOptions[];
|
|
5579
|
+
options: BABYLON.IInspectableOptions[];
|
|
5576
5580
|
noDirectUpdate?: boolean;
|
|
5577
5581
|
onSelect?: (value: number) => void;
|
|
5578
5582
|
extractValue?: () => number;
|
|
5579
|
-
onPropertyChangedObservable?: Observable<PropertyChangedEvent>;
|
|
5583
|
+
onPropertyChangedObservable?: BABYLON.Observable<PropertyChangedEvent>;
|
|
5580
5584
|
allowNullValue?: boolean;
|
|
5581
5585
|
icon?: string;
|
|
5582
5586
|
iconLabel?: string;
|
|
@@ -5604,7 +5608,7 @@ declare module BABYLON.NodeEditor {
|
|
|
5604
5608
|
|
|
5605
5609
|
|
|
5606
5610
|
interface IRadioButtonLineComponentProps {
|
|
5607
|
-
onSelectionChangedObservable: Observable<RadioButtonLineComponent>;
|
|
5611
|
+
onSelectionChangedObservable: BABYLON.Observable<RadioButtonLineComponent>;
|
|
5608
5612
|
label: string;
|
|
5609
5613
|
isSelected: () => boolean;
|
|
5610
5614
|
onSelect: () => void;
|
|
@@ -5634,7 +5638,7 @@ declare module BABYLON.NodeEditor {
|
|
|
5634
5638
|
useEuler?: boolean;
|
|
5635
5639
|
onChange?: (value: number) => void;
|
|
5636
5640
|
onInput?: (value: number) => void;
|
|
5637
|
-
onPropertyChangedObservable?: Observable<PropertyChangedEvent>;
|
|
5641
|
+
onPropertyChangedObservable?: BABYLON.Observable<PropertyChangedEvent>;
|
|
5638
5642
|
decimalCount?: number;
|
|
5639
5643
|
margin?: boolean;
|
|
5640
5644
|
icon?: string;
|
|
@@ -5665,7 +5669,7 @@ declare module BABYLON.NodeEditor {
|
|
|
5665
5669
|
* @param getProperty
|
|
5666
5670
|
* @returns a proxy object that can be passed as a target into the input
|
|
5667
5671
|
*/
|
|
5668
|
-
export function makeTargetsProxy<Type>(targets: Type[], onPropertyChangedObservable?: Observable<PropertyChangedEvent>, getProperty?: (target: Type, property: keyof Type) => any): any;
|
|
5672
|
+
export function makeTargetsProxy<Type>(targets: Type[], onPropertyChangedObservable?: BABYLON.Observable<PropertyChangedEvent>, getProperty?: (target: Type, property: keyof Type) => any): any;
|
|
5669
5673
|
|
|
5670
5674
|
|
|
5671
5675
|
export interface ITextInputLineComponentProps {
|
|
@@ -5675,7 +5679,7 @@ declare module BABYLON.NodeEditor {
|
|
|
5675
5679
|
propertyName?: string;
|
|
5676
5680
|
value?: string;
|
|
5677
5681
|
onChange?: (value: string) => void;
|
|
5678
|
-
onPropertyChangedObservable?: Observable<PropertyChangedEvent>;
|
|
5682
|
+
onPropertyChangedObservable?: BABYLON.Observable<PropertyChangedEvent>;
|
|
5679
5683
|
icon?: string;
|
|
5680
5684
|
iconLabel?: string;
|
|
5681
5685
|
noUnderline?: boolean;
|
|
@@ -5761,14 +5765,14 @@ declare module BABYLON.NodeEditor {
|
|
|
5761
5765
|
target: any;
|
|
5762
5766
|
propertyName: string;
|
|
5763
5767
|
step?: number;
|
|
5764
|
-
onChange?: (newvalue: Vector2) => void;
|
|
5765
|
-
onPropertyChangedObservable?: Observable<PropertyChangedEvent>;
|
|
5768
|
+
onChange?: (newvalue: BABYLON.Vector2) => void;
|
|
5769
|
+
onPropertyChangedObservable?: BABYLON.Observable<PropertyChangedEvent>;
|
|
5766
5770
|
icon?: string;
|
|
5767
5771
|
iconLabel?: string;
|
|
5768
5772
|
}
|
|
5769
5773
|
export class Vector2LineComponent extends React.Component<IVector2LineComponentProps, {
|
|
5770
5774
|
isExpanded: boolean;
|
|
5771
|
-
value: Vector2;
|
|
5775
|
+
value: BABYLON.Vector2;
|
|
5772
5776
|
}> {
|
|
5773
5777
|
static defaultProps: {
|
|
5774
5778
|
step: number;
|
|
@@ -5777,10 +5781,10 @@ declare module BABYLON.NodeEditor {
|
|
|
5777
5781
|
constructor(props: IVector2LineComponentProps);
|
|
5778
5782
|
shouldComponentUpdate(nextProps: IVector2LineComponentProps, nextState: {
|
|
5779
5783
|
isExpanded: boolean;
|
|
5780
|
-
value: Vector2;
|
|
5784
|
+
value: BABYLON.Vector2;
|
|
5781
5785
|
}): boolean;
|
|
5782
5786
|
switchExpandState(): void;
|
|
5783
|
-
raiseOnPropertyChanged(previousValue: Vector2): void;
|
|
5787
|
+
raiseOnPropertyChanged(previousValue: BABYLON.Vector2): void;
|
|
5784
5788
|
updateStateX(value: number): void;
|
|
5785
5789
|
updateStateY(value: number): void;
|
|
5786
5790
|
render(): JSX.Element;
|
|
@@ -5792,16 +5796,16 @@ declare module BABYLON.NodeEditor {
|
|
|
5792
5796
|
target: any;
|
|
5793
5797
|
propertyName: string;
|
|
5794
5798
|
step?: number;
|
|
5795
|
-
onChange?: (newvalue: Vector3) => void;
|
|
5799
|
+
onChange?: (newvalue: BABYLON.Vector3) => void;
|
|
5796
5800
|
useEuler?: boolean;
|
|
5797
|
-
onPropertyChangedObservable?: Observable<PropertyChangedEvent>;
|
|
5801
|
+
onPropertyChangedObservable?: BABYLON.Observable<PropertyChangedEvent>;
|
|
5798
5802
|
noSlider?: boolean;
|
|
5799
5803
|
icon?: string;
|
|
5800
5804
|
iconLabel?: string;
|
|
5801
5805
|
}
|
|
5802
5806
|
export class Vector3LineComponent extends React.Component<IVector3LineComponentProps, {
|
|
5803
5807
|
isExpanded: boolean;
|
|
5804
|
-
value: Vector3;
|
|
5808
|
+
value: BABYLON.Vector3;
|
|
5805
5809
|
}> {
|
|
5806
5810
|
static defaultProps: {
|
|
5807
5811
|
step: number;
|
|
@@ -5811,10 +5815,10 @@ declare module BABYLON.NodeEditor {
|
|
|
5811
5815
|
getCurrentValue(): any;
|
|
5812
5816
|
shouldComponentUpdate(nextProps: IVector3LineComponentProps, nextState: {
|
|
5813
5817
|
isExpanded: boolean;
|
|
5814
|
-
value: Vector3;
|
|
5818
|
+
value: BABYLON.Vector3;
|
|
5815
5819
|
}): boolean;
|
|
5816
5820
|
switchExpandState(): void;
|
|
5817
|
-
raiseOnPropertyChanged(previousValue: Vector3): void;
|
|
5821
|
+
raiseOnPropertyChanged(previousValue: BABYLON.Vector3): void;
|
|
5818
5822
|
updateVector3(): void;
|
|
5819
5823
|
updateStateX(value: number): void;
|
|
5820
5824
|
updateStateY(value: number): void;
|
|
@@ -5828,15 +5832,15 @@ declare module BABYLON.NodeEditor {
|
|
|
5828
5832
|
target: any;
|
|
5829
5833
|
propertyName: string;
|
|
5830
5834
|
step?: number;
|
|
5831
|
-
onChange?: (newvalue: Vector4) => void;
|
|
5835
|
+
onChange?: (newvalue: BABYLON.Vector4) => void;
|
|
5832
5836
|
useEuler?: boolean;
|
|
5833
|
-
onPropertyChangedObservable?: Observable<PropertyChangedEvent>;
|
|
5837
|
+
onPropertyChangedObservable?: BABYLON.Observable<PropertyChangedEvent>;
|
|
5834
5838
|
icon?: string;
|
|
5835
5839
|
iconLabel?: string;
|
|
5836
5840
|
}
|
|
5837
5841
|
export class Vector4LineComponent extends React.Component<IVector4LineComponentProps, {
|
|
5838
5842
|
isExpanded: boolean;
|
|
5839
|
-
value: Vector4;
|
|
5843
|
+
value: BABYLON.Vector4;
|
|
5840
5844
|
}> {
|
|
5841
5845
|
static defaultProps: {
|
|
5842
5846
|
step: number;
|
|
@@ -5846,10 +5850,10 @@ declare module BABYLON.NodeEditor {
|
|
|
5846
5850
|
getCurrentValue(): any;
|
|
5847
5851
|
shouldComponentUpdate(nextProps: IVector4LineComponentProps, nextState: {
|
|
5848
5852
|
isExpanded: boolean;
|
|
5849
|
-
value: Vector4;
|
|
5853
|
+
value: BABYLON.Vector4;
|
|
5850
5854
|
}): boolean;
|
|
5851
5855
|
switchExpandState(): void;
|
|
5852
|
-
raiseOnPropertyChanged(previousValue: Vector4): void;
|
|
5856
|
+
raiseOnPropertyChanged(previousValue: BABYLON.Vector4): void;
|
|
5853
5857
|
updateVector4(): void;
|
|
5854
5858
|
updateStateX(value: number): void;
|
|
5855
5859
|
updateStateY(value: number): void;
|
|
@@ -5882,9 +5886,9 @@ declare module BABYLON.NodeEditor {
|
|
|
5882
5886
|
|
|
5883
5887
|
|
|
5884
5888
|
interface ICheckboxPropertyGridComponentProps {
|
|
5885
|
-
checkbox: Checkbox;
|
|
5889
|
+
checkbox: BABYLON.GUI.Checkbox;
|
|
5886
5890
|
lockObject: LockObject;
|
|
5887
|
-
onPropertyChangedObservable?: Observable<PropertyChangedEvent>;
|
|
5891
|
+
onPropertyChangedObservable?: BABYLON.Observable<PropertyChangedEvent>;
|
|
5888
5892
|
}
|
|
5889
5893
|
export class CheckboxPropertyGridComponent extends React.Component<ICheckboxPropertyGridComponentProps> {
|
|
5890
5894
|
constructor(props: ICheckboxPropertyGridComponentProps);
|
|
@@ -5893,9 +5897,9 @@ declare module BABYLON.NodeEditor {
|
|
|
5893
5897
|
|
|
5894
5898
|
|
|
5895
5899
|
interface IColorPickerPropertyGridComponentProps {
|
|
5896
|
-
colorPicker: ColorPicker;
|
|
5900
|
+
colorPicker: BABYLON.GUI.ColorPicker;
|
|
5897
5901
|
lockObject: LockObject;
|
|
5898
|
-
onPropertyChangedObservable?: Observable<PropertyChangedEvent>;
|
|
5902
|
+
onPropertyChangedObservable?: BABYLON.Observable<PropertyChangedEvent>;
|
|
5899
5903
|
}
|
|
5900
5904
|
export class ColorPickerPropertyGridComponent extends React.Component<IColorPickerPropertyGridComponentProps> {
|
|
5901
5905
|
constructor(props: IColorPickerPropertyGridComponentProps);
|
|
@@ -5907,7 +5911,7 @@ declare module BABYLON.NodeEditor {
|
|
|
5907
5911
|
controls?: BABYLON.GUI.Control[];
|
|
5908
5912
|
control?: BABYLON.GUI.Control;
|
|
5909
5913
|
lockObject: LockObject;
|
|
5910
|
-
onPropertyChangedObservable?: Observable<PropertyChangedEvent>;
|
|
5914
|
+
onPropertyChangedObservable?: BABYLON.Observable<PropertyChangedEvent>;
|
|
5911
5915
|
}
|
|
5912
5916
|
export class CommonControlPropertyGridComponent extends React.Component<ICommonControlPropertyGridComponentProps> {
|
|
5913
5917
|
constructor(props: ICommonControlPropertyGridComponentProps);
|
|
@@ -5917,9 +5921,9 @@ declare module BABYLON.NodeEditor {
|
|
|
5917
5921
|
|
|
5918
5922
|
|
|
5919
5923
|
interface IControlPropertyGridComponentProps {
|
|
5920
|
-
control: Control;
|
|
5924
|
+
control: BABYLON.GUI.Control;
|
|
5921
5925
|
lockObject: LockObject;
|
|
5922
|
-
onPropertyChangedObservable?: Observable<PropertyChangedEvent>;
|
|
5926
|
+
onPropertyChangedObservable?: BABYLON.Observable<PropertyChangedEvent>;
|
|
5923
5927
|
}
|
|
5924
5928
|
export class ControlPropertyGridComponent extends React.Component<IControlPropertyGridComponentProps> {
|
|
5925
5929
|
constructor(props: IControlPropertyGridComponentProps);
|
|
@@ -5928,9 +5932,9 @@ declare module BABYLON.NodeEditor {
|
|
|
5928
5932
|
|
|
5929
5933
|
|
|
5930
5934
|
interface IEllipsePropertyGridComponentProps {
|
|
5931
|
-
ellipse: Ellipse;
|
|
5935
|
+
ellipse: BABYLON.GUI.Ellipse;
|
|
5932
5936
|
lockObject: LockObject;
|
|
5933
|
-
onPropertyChangedObservable?: Observable<PropertyChangedEvent>;
|
|
5937
|
+
onPropertyChangedObservable?: BABYLON.Observable<PropertyChangedEvent>;
|
|
5934
5938
|
}
|
|
5935
5939
|
export class EllipsePropertyGridComponent extends React.Component<IEllipsePropertyGridComponentProps> {
|
|
5936
5940
|
constructor(props: IEllipsePropertyGridComponentProps);
|
|
@@ -5939,9 +5943,9 @@ declare module BABYLON.NodeEditor {
|
|
|
5939
5943
|
|
|
5940
5944
|
|
|
5941
5945
|
interface IGridPropertyGridComponentProps {
|
|
5942
|
-
grid: Grid;
|
|
5946
|
+
grid: BABYLON.GUI.Grid;
|
|
5943
5947
|
lockObject: LockObject;
|
|
5944
|
-
onPropertyChangedObservable?: Observable<PropertyChangedEvent>;
|
|
5948
|
+
onPropertyChangedObservable?: BABYLON.Observable<PropertyChangedEvent>;
|
|
5945
5949
|
}
|
|
5946
5950
|
export class GridPropertyGridComponent extends React.Component<IGridPropertyGridComponentProps> {
|
|
5947
5951
|
constructor(props: IGridPropertyGridComponentProps);
|
|
@@ -5952,9 +5956,9 @@ declare module BABYLON.NodeEditor {
|
|
|
5952
5956
|
|
|
5953
5957
|
|
|
5954
5958
|
interface IImageBasedSliderPropertyGridComponentProps {
|
|
5955
|
-
imageBasedSlider: ImageBasedSlider;
|
|
5959
|
+
imageBasedSlider: BABYLON.GUI.ImageBasedSlider;
|
|
5956
5960
|
lockObject: LockObject;
|
|
5957
|
-
onPropertyChangedObservable?: Observable<PropertyChangedEvent>;
|
|
5961
|
+
onPropertyChangedObservable?: BABYLON.Observable<PropertyChangedEvent>;
|
|
5958
5962
|
}
|
|
5959
5963
|
export class ImageBasedSliderPropertyGridComponent extends React.Component<IImageBasedSliderPropertyGridComponentProps> {
|
|
5960
5964
|
constructor(props: IImageBasedSliderPropertyGridComponentProps);
|
|
@@ -5965,7 +5969,7 @@ declare module BABYLON.NodeEditor {
|
|
|
5965
5969
|
interface IImagePropertyGridComponentProps {
|
|
5966
5970
|
image: BABYLON.GUI.Image;
|
|
5967
5971
|
lockObject: LockObject;
|
|
5968
|
-
onPropertyChangedObservable?: Observable<PropertyChangedEvent>;
|
|
5972
|
+
onPropertyChangedObservable?: BABYLON.Observable<PropertyChangedEvent>;
|
|
5969
5973
|
}
|
|
5970
5974
|
export class ImagePropertyGridComponent extends React.Component<IImagePropertyGridComponentProps> {
|
|
5971
5975
|
constructor(props: IImagePropertyGridComponentProps);
|
|
@@ -5974,9 +5978,9 @@ declare module BABYLON.NodeEditor {
|
|
|
5974
5978
|
|
|
5975
5979
|
|
|
5976
5980
|
interface IInputTextPropertyGridComponentProps {
|
|
5977
|
-
inputText: InputText;
|
|
5981
|
+
inputText: BABYLON.GUI.InputText;
|
|
5978
5982
|
lockObject: LockObject;
|
|
5979
|
-
onPropertyChangedObservable?: Observable<PropertyChangedEvent>;
|
|
5983
|
+
onPropertyChangedObservable?: BABYLON.Observable<PropertyChangedEvent>;
|
|
5980
5984
|
}
|
|
5981
5985
|
export class InputTextPropertyGridComponent extends React.Component<IInputTextPropertyGridComponentProps> {
|
|
5982
5986
|
constructor(props: IInputTextPropertyGridComponentProps);
|
|
@@ -5985,9 +5989,9 @@ declare module BABYLON.NodeEditor {
|
|
|
5985
5989
|
|
|
5986
5990
|
|
|
5987
5991
|
interface ILinePropertyGridComponentProps {
|
|
5988
|
-
line: Line;
|
|
5992
|
+
line: BABYLON.GUI.Line;
|
|
5989
5993
|
lockObject: LockObject;
|
|
5990
|
-
onPropertyChangedObservable?: Observable<PropertyChangedEvent>;
|
|
5994
|
+
onPropertyChangedObservable?: BABYLON.Observable<PropertyChangedEvent>;
|
|
5991
5995
|
}
|
|
5992
5996
|
export class LinePropertyGridComponent extends React.Component<ILinePropertyGridComponentProps> {
|
|
5993
5997
|
constructor(props: ILinePropertyGridComponentProps);
|
|
@@ -5997,9 +6001,9 @@ declare module BABYLON.NodeEditor {
|
|
|
5997
6001
|
|
|
5998
6002
|
|
|
5999
6003
|
interface IRadioButtonPropertyGridComponentProps {
|
|
6000
|
-
radioButtons: RadioButton[];
|
|
6004
|
+
radioButtons: BABYLON.GUI.RadioButton[];
|
|
6001
6005
|
lockObject: LockObject;
|
|
6002
|
-
onPropertyChangedObservable?: Observable<PropertyChangedEvent>;
|
|
6006
|
+
onPropertyChangedObservable?: BABYLON.Observable<PropertyChangedEvent>;
|
|
6003
6007
|
}
|
|
6004
6008
|
export class RadioButtonPropertyGridComponent extends React.Component<IRadioButtonPropertyGridComponentProps> {
|
|
6005
6009
|
constructor(props: IRadioButtonPropertyGridComponentProps);
|
|
@@ -6008,9 +6012,9 @@ declare module BABYLON.NodeEditor {
|
|
|
6008
6012
|
|
|
6009
6013
|
|
|
6010
6014
|
interface IRectanglePropertyGridComponentProps {
|
|
6011
|
-
rectangle: Rectangle;
|
|
6015
|
+
rectangle: BABYLON.GUI.Rectangle;
|
|
6012
6016
|
lockObject: LockObject;
|
|
6013
|
-
onPropertyChangedObservable?: Observable<PropertyChangedEvent>;
|
|
6017
|
+
onPropertyChangedObservable?: BABYLON.Observable<PropertyChangedEvent>;
|
|
6014
6018
|
}
|
|
6015
6019
|
export class RectanglePropertyGridComponent extends React.Component<IRectanglePropertyGridComponentProps> {
|
|
6016
6020
|
constructor(props: IRectanglePropertyGridComponentProps);
|
|
@@ -6019,9 +6023,9 @@ declare module BABYLON.NodeEditor {
|
|
|
6019
6023
|
|
|
6020
6024
|
|
|
6021
6025
|
interface IScrollViewerPropertyGridComponentProps {
|
|
6022
|
-
scrollViewer: ScrollViewer;
|
|
6026
|
+
scrollViewer: BABYLON.GUI.ScrollViewer;
|
|
6023
6027
|
lockObject: LockObject;
|
|
6024
|
-
onPropertyChangedObservable?: Observable<PropertyChangedEvent>;
|
|
6028
|
+
onPropertyChangedObservable?: BABYLON.Observable<PropertyChangedEvent>;
|
|
6025
6029
|
}
|
|
6026
6030
|
export class ScrollViewerPropertyGridComponent extends React.Component<IScrollViewerPropertyGridComponentProps> {
|
|
6027
6031
|
constructor(props: IScrollViewerPropertyGridComponentProps);
|
|
@@ -6030,9 +6034,9 @@ declare module BABYLON.NodeEditor {
|
|
|
6030
6034
|
|
|
6031
6035
|
|
|
6032
6036
|
interface ISliderPropertyGridComponentProps {
|
|
6033
|
-
slider: Slider;
|
|
6037
|
+
slider: BABYLON.GUI.Slider;
|
|
6034
6038
|
lockObject: LockObject;
|
|
6035
|
-
onPropertyChangedObservable?: Observable<PropertyChangedEvent>;
|
|
6039
|
+
onPropertyChangedObservable?: BABYLON.Observable<PropertyChangedEvent>;
|
|
6036
6040
|
}
|
|
6037
6041
|
export class SliderPropertyGridComponent extends React.Component<ISliderPropertyGridComponentProps> {
|
|
6038
6042
|
constructor(props: ISliderPropertyGridComponentProps);
|
|
@@ -6041,9 +6045,9 @@ declare module BABYLON.NodeEditor {
|
|
|
6041
6045
|
|
|
6042
6046
|
|
|
6043
6047
|
interface IStackPanelPropertyGridComponentProps {
|
|
6044
|
-
stackPanel: StackPanel;
|
|
6048
|
+
stackPanel: BABYLON.GUI.StackPanel;
|
|
6045
6049
|
lockObject: LockObject;
|
|
6046
|
-
onPropertyChangedObservable?: Observable<PropertyChangedEvent>;
|
|
6050
|
+
onPropertyChangedObservable?: BABYLON.Observable<PropertyChangedEvent>;
|
|
6047
6051
|
}
|
|
6048
6052
|
export class StackPanelPropertyGridComponent extends React.Component<IStackPanelPropertyGridComponentProps> {
|
|
6049
6053
|
constructor(props: IStackPanelPropertyGridComponentProps);
|
|
@@ -6052,9 +6056,9 @@ declare module BABYLON.NodeEditor {
|
|
|
6052
6056
|
|
|
6053
6057
|
|
|
6054
6058
|
interface ITextBlockPropertyGridComponentProps {
|
|
6055
|
-
textBlock: TextBlock;
|
|
6059
|
+
textBlock: BABYLON.GUI.TextBlock;
|
|
6056
6060
|
lockObject: LockObject;
|
|
6057
|
-
onPropertyChangedObservable?: Observable<PropertyChangedEvent>;
|
|
6061
|
+
onPropertyChangedObservable?: BABYLON.Observable<PropertyChangedEvent>;
|
|
6058
6062
|
}
|
|
6059
6063
|
export class TextBlockPropertyGridComponent extends React.Component<ITextBlockPropertyGridComponentProps> {
|
|
6060
6064
|
constructor(props: ITextBlockPropertyGridComponentProps);
|