babylonjs-node-geometry-editor 7.5.0 → 7.6.1
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.
|
@@ -333,7 +333,7 @@ declare module BABYLON.NodeGeometryEditor {
|
|
|
333
333
|
isConnectedToOutput(): boolean;
|
|
334
334
|
dispose(): void;
|
|
335
335
|
prepareHeaderIcon(iconDiv: HTMLDivElement, img: HTMLImageElement): void;
|
|
336
|
-
get invisibleEndpoints():
|
|
336
|
+
get invisibleEndpoints(): BABYLON.TeleportOutBlock[] | null;
|
|
337
337
|
constructor(data: BABYLON.NodeGeometryBlock, nodeContainer: BABYLON.NodeGeometryEditor.SharedUIComponents.INodeContainer);
|
|
338
338
|
}
|
|
339
339
|
|
|
@@ -979,7 +979,7 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
|
979
979
|
disabled?: boolean;
|
|
980
980
|
lockObject: BABYLON.NodeGeometryEditor.SharedUIComponents.LockObject;
|
|
981
981
|
}
|
|
982
|
-
export class
|
|
982
|
+
export class ColorComponentComponentEntry extends React.Component<IColorComponentEntryProps> {
|
|
983
983
|
constructor(props: IColorComponentEntryProps);
|
|
984
984
|
updateValue(valueString: string): void;
|
|
985
985
|
lock(): void;
|
|
@@ -997,7 +997,7 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
|
997
997
|
/**
|
|
998
998
|
* Interface used to specify creation options for color picker
|
|
999
999
|
*/
|
|
1000
|
-
export interface
|
|
1000
|
+
export interface IColorPickerComponentProps {
|
|
1001
1001
|
color: BABYLON.Color3 | BABYLON.Color4;
|
|
1002
1002
|
linearhint?: boolean;
|
|
1003
1003
|
debugMode?: boolean;
|
|
@@ -1015,13 +1015,13 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
|
1015
1015
|
/**
|
|
1016
1016
|
* Class used to create a color picker
|
|
1017
1017
|
*/
|
|
1018
|
-
export class
|
|
1018
|
+
export class ColorPickerComponent extends React.Component<IColorPickerComponentProps, IColorPickerState> {
|
|
1019
1019
|
private _saturationRef;
|
|
1020
1020
|
private _hueRef;
|
|
1021
1021
|
private _isSaturationPointerDown;
|
|
1022
1022
|
private _isHuePointerDown;
|
|
1023
|
-
constructor(props:
|
|
1024
|
-
shouldComponentUpdate(nextProps:
|
|
1023
|
+
constructor(props: IColorPickerComponentProps);
|
|
1024
|
+
shouldComponentUpdate(nextProps: IColorPickerComponentProps, nextState: IColorPickerState): boolean;
|
|
1025
1025
|
onSaturationPointerDown(evt: React.PointerEvent<HTMLDivElement>): void;
|
|
1026
1026
|
onSaturationPointerUp(evt: React.PointerEvent<HTMLDivElement>): void;
|
|
1027
1027
|
onSaturationPointerMove(evt: React.PointerEvent<HTMLDivElement>): void;
|
|
@@ -1048,7 +1048,7 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
|
1048
1048
|
onChange: (value: string) => void;
|
|
1049
1049
|
lockObject: BABYLON.NodeGeometryEditor.SharedUIComponents.LockObject;
|
|
1050
1050
|
}
|
|
1051
|
-
export class
|
|
1051
|
+
export class HexColorComponent extends React.Component<IHexColorProps, {
|
|
1052
1052
|
hex: string;
|
|
1053
1053
|
}> {
|
|
1054
1054
|
constructor(props: IHexColorProps);
|
|
@@ -1560,7 +1560,7 @@ declare module BABYLON.NodeGeometryEditor {
|
|
|
1560
1560
|
|
|
1561
1561
|
}
|
|
1562
1562
|
declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
1563
|
-
export interface
|
|
1563
|
+
export interface IColorPickerLineComponentProps {
|
|
1564
1564
|
value: BABYLON.Color4 | BABYLON.Color3;
|
|
1565
1565
|
linearHint?: boolean;
|
|
1566
1566
|
onColorChanged: (newOne: string) => void;
|
|
@@ -1575,14 +1575,14 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
|
1575
1575
|
color: BABYLON.Color3 | BABYLON.Color4;
|
|
1576
1576
|
hex: string;
|
|
1577
1577
|
}
|
|
1578
|
-
export class ColorPickerLineComponent extends React.Component<
|
|
1578
|
+
export class ColorPickerLineComponent extends React.Component<IColorPickerLineComponentProps, IColorPickerComponentState> {
|
|
1579
1579
|
private _floatRef;
|
|
1580
1580
|
private _floatHostRef;
|
|
1581
1581
|
private _coverRef;
|
|
1582
|
-
constructor(props:
|
|
1582
|
+
constructor(props: IColorPickerLineComponentProps);
|
|
1583
1583
|
syncPositions(): void;
|
|
1584
|
-
shouldComponentUpdate(nextProps:
|
|
1585
|
-
getHexString(props?: Readonly<
|
|
1584
|
+
shouldComponentUpdate(nextProps: IColorPickerLineComponentProps, nextState: IColorPickerComponentState): boolean;
|
|
1585
|
+
getHexString(props?: Readonly<IColorPickerLineComponentProps> & Readonly<{
|
|
1586
1586
|
children?: React.ReactNode;
|
|
1587
1587
|
}>): string;
|
|
1588
1588
|
componentDidUpdate(): void;
|
|
@@ -1866,7 +1866,7 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
|
1866
1866
|
highlighted?: boolean;
|
|
1867
1867
|
parentContainerId: string;
|
|
1868
1868
|
}
|
|
1869
|
-
export var
|
|
1869
|
+
export var SingleGraphNode: React.FC<IGraphNodeProps>;
|
|
1870
1870
|
|
|
1871
1871
|
|
|
1872
1872
|
|
|
@@ -2013,6 +2013,19 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
|
2013
2013
|
|
|
2014
2014
|
|
|
2015
2015
|
|
|
2016
|
+
}
|
|
2017
|
+
declare module BABYLON.NodeGeometryEditor {
|
|
2018
|
+
|
|
2019
|
+
}
|
|
2020
|
+
declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
2021
|
+
export function copyCommandToClipboard(strCommand: string): void;
|
|
2022
|
+
export function getClassNameWithNamespace(obj: any): {
|
|
2023
|
+
className: string;
|
|
2024
|
+
babylonNamespace: string;
|
|
2025
|
+
};
|
|
2026
|
+
|
|
2027
|
+
|
|
2028
|
+
|
|
2016
2029
|
}
|
|
2017
2030
|
declare module BABYLON.NodeGeometryEditor {
|
|
2018
2031
|
|
|
@@ -2085,6 +2098,7 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
|
2085
2098
|
isConflict: boolean;
|
|
2086
2099
|
}): boolean;
|
|
2087
2100
|
onChange(): void;
|
|
2101
|
+
onCopyClick(): void;
|
|
2088
2102
|
render(): import("react/jsx-runtime").JSX.Element;
|
|
2089
2103
|
}
|
|
2090
2104
|
|
|
@@ -2139,7 +2153,7 @@ declare module BABYLON.NodeGeometryEditor {
|
|
|
2139
2153
|
|
|
2140
2154
|
}
|
|
2141
2155
|
declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
2142
|
-
export interface
|
|
2156
|
+
export interface IColorLineProps {
|
|
2143
2157
|
label: string;
|
|
2144
2158
|
target?: any;
|
|
2145
2159
|
propertyName: string;
|
|
@@ -2155,10 +2169,10 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
|
2155
2169
|
isExpanded: boolean;
|
|
2156
2170
|
color: BABYLON.Color4;
|
|
2157
2171
|
}
|
|
2158
|
-
export class
|
|
2159
|
-
constructor(props:
|
|
2160
|
-
shouldComponentUpdate(nextProps:
|
|
2161
|
-
getValue(props?: Readonly<
|
|
2172
|
+
export class ColorLine extends React.Component<IColorLineProps, IColorLineComponentState> {
|
|
2173
|
+
constructor(props: IColorLineProps);
|
|
2174
|
+
shouldComponentUpdate(nextProps: IColorLineProps, nextState: IColorLineComponentState): boolean;
|
|
2175
|
+
getValue(props?: Readonly<IColorLineProps> & Readonly<{
|
|
2162
2176
|
children?: React.ReactNode;
|
|
2163
2177
|
}>): BABYLON.Color4;
|
|
2164
2178
|
setColorFromString(colorString: string): void;
|
|
@@ -2168,9 +2182,9 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
|
2168
2182
|
updateStateG(value: number): void;
|
|
2169
2183
|
updateStateB(value: number): void;
|
|
2170
2184
|
updateStateA(value: number): void;
|
|
2171
|
-
copyToClipboard(): void;
|
|
2172
2185
|
private _convertToColor;
|
|
2173
2186
|
private _toColor3;
|
|
2187
|
+
onCopyClick(): void;
|
|
2174
2188
|
render(): import("react/jsx-runtime").JSX.Element;
|
|
2175
2189
|
}
|
|
2176
2190
|
|
|
@@ -2181,7 +2195,7 @@ declare module BABYLON.NodeGeometryEditor {
|
|
|
2181
2195
|
|
|
2182
2196
|
}
|
|
2183
2197
|
declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
2184
|
-
export interface
|
|
2198
|
+
export interface IColorPickerLineProps {
|
|
2185
2199
|
value: BABYLON.Color4 | BABYLON.Color3;
|
|
2186
2200
|
linearHint?: boolean;
|
|
2187
2201
|
onColorChanged: (newOne: string) => void;
|
|
@@ -2195,13 +2209,13 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
|
2195
2209
|
color: BABYLON.Color3 | BABYLON.Color4;
|
|
2196
2210
|
hex: string;
|
|
2197
2211
|
}
|
|
2198
|
-
export class
|
|
2212
|
+
export class ColorPickerLine extends React.Component<IColorPickerLineProps, IColorPickerComponentState> {
|
|
2199
2213
|
private _floatRef;
|
|
2200
2214
|
private _floatHostRef;
|
|
2201
|
-
constructor(props:
|
|
2215
|
+
constructor(props: IColorPickerLineProps);
|
|
2202
2216
|
syncPositions(): void;
|
|
2203
|
-
shouldComponentUpdate(nextProps:
|
|
2204
|
-
getHexString(props?: Readonly<
|
|
2217
|
+
shouldComponentUpdate(nextProps: IColorPickerLineProps, nextState: IColorPickerComponentState): boolean;
|
|
2218
|
+
getHexString(props?: Readonly<IColorPickerLineProps> & Readonly<{
|
|
2205
2219
|
children?: React.ReactNode;
|
|
2206
2220
|
}>): string;
|
|
2207
2221
|
componentDidUpdate(): void;
|
|
@@ -2232,18 +2246,18 @@ declare module BABYLON.NodeGeometryEditor {
|
|
|
2232
2246
|
|
|
2233
2247
|
}
|
|
2234
2248
|
declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
2235
|
-
interface
|
|
2249
|
+
interface IFileButtonLineProps {
|
|
2236
2250
|
label: string;
|
|
2237
2251
|
onClick: (file: File) => void;
|
|
2238
2252
|
accept: string;
|
|
2239
2253
|
icon?: string;
|
|
2240
2254
|
iconLabel?: string;
|
|
2241
2255
|
}
|
|
2242
|
-
export class
|
|
2256
|
+
export class FileButtonLine extends React.Component<IFileButtonLineProps> {
|
|
2243
2257
|
private static _IDGenerator;
|
|
2244
2258
|
private _id;
|
|
2245
2259
|
private _uploadInputRef;
|
|
2246
|
-
constructor(props:
|
|
2260
|
+
constructor(props: IFileButtonLineProps);
|
|
2247
2261
|
onChange(evt: any): void;
|
|
2248
2262
|
render(): import("react/jsx-runtime").JSX.Element;
|
|
2249
2263
|
}
|
|
@@ -2322,6 +2336,7 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
|
2322
2336
|
unlock(): void;
|
|
2323
2337
|
incrementValue(amount: number, processStep?: boolean): void;
|
|
2324
2338
|
onKeyDown(event: React.KeyboardEvent<HTMLInputElement>): void;
|
|
2339
|
+
onCopyClick(): void;
|
|
2325
2340
|
render(): import("react/jsx-runtime").JSX.Element;
|
|
2326
2341
|
}
|
|
2327
2342
|
|
|
@@ -2560,7 +2575,7 @@ declare module BABYLON.NodeGeometryEditor {
|
|
|
2560
2575
|
|
|
2561
2576
|
}
|
|
2562
2577
|
declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
2563
|
-
interface
|
|
2578
|
+
interface INumericInputProps {
|
|
2564
2579
|
label: string;
|
|
2565
2580
|
value: number;
|
|
2566
2581
|
step?: number;
|
|
@@ -2570,16 +2585,16 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
|
2570
2585
|
iconLabel?: string;
|
|
2571
2586
|
lockObject: BABYLON.NodeGeometryEditor.SharedUIComponents.LockObject;
|
|
2572
2587
|
}
|
|
2573
|
-
export class
|
|
2588
|
+
export class NumericInput extends React.Component<INumericInputProps, {
|
|
2574
2589
|
value: string;
|
|
2575
2590
|
}> {
|
|
2576
2591
|
static defaultProps: {
|
|
2577
2592
|
step: number;
|
|
2578
2593
|
};
|
|
2579
2594
|
private _localChange;
|
|
2580
|
-
constructor(props:
|
|
2595
|
+
constructor(props: INumericInputProps);
|
|
2581
2596
|
componentWillUnmount(): void;
|
|
2582
|
-
shouldComponentUpdate(nextProps:
|
|
2597
|
+
shouldComponentUpdate(nextProps: INumericInputProps, nextState: {
|
|
2583
2598
|
value: string;
|
|
2584
2599
|
}): boolean;
|
|
2585
2600
|
updateValue(valueString: string): void;
|
|
@@ -2597,7 +2612,7 @@ declare module BABYLON.NodeGeometryEditor {
|
|
|
2597
2612
|
}
|
|
2598
2613
|
declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
2599
2614
|
export var Null_Value: number;
|
|
2600
|
-
export interface
|
|
2615
|
+
export interface IOptionsLineProps {
|
|
2601
2616
|
label: string;
|
|
2602
2617
|
target: any;
|
|
2603
2618
|
propertyName: string;
|
|
@@ -2613,20 +2628,21 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
|
2613
2628
|
valuesAreStrings?: boolean;
|
|
2614
2629
|
defaultIfNull?: number;
|
|
2615
2630
|
}
|
|
2616
|
-
export class
|
|
2631
|
+
export class OptionsLine extends React.Component<IOptionsLineProps, {
|
|
2617
2632
|
value: number | string;
|
|
2618
2633
|
}> {
|
|
2619
2634
|
private _localChange;
|
|
2620
2635
|
private _remapValueIn;
|
|
2621
2636
|
private _remapValueOut;
|
|
2622
2637
|
private _getValue;
|
|
2623
|
-
constructor(props:
|
|
2624
|
-
shouldComponentUpdate(nextProps:
|
|
2638
|
+
constructor(props: IOptionsLineProps);
|
|
2639
|
+
shouldComponentUpdate(nextProps: IOptionsLineProps, nextState: {
|
|
2625
2640
|
value: number;
|
|
2626
2641
|
}): boolean;
|
|
2627
2642
|
raiseOnPropertyChanged(newValue: number, previousValue: number): void;
|
|
2628
2643
|
setValue(value: string | number): void;
|
|
2629
2644
|
updateValue(valueString: string): void;
|
|
2645
|
+
onCopyClick(): void;
|
|
2630
2646
|
render(): import("react/jsx-runtime").JSX.Element;
|
|
2631
2647
|
}
|
|
2632
2648
|
|
|
@@ -2705,6 +2721,7 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
|
2705
2721
|
onChange(newValueString: any): void;
|
|
2706
2722
|
onInput(newValueString: any): void;
|
|
2707
2723
|
prepareDataToRead(value: number): number;
|
|
2724
|
+
onCopyClick(): void;
|
|
2708
2725
|
render(): import("react/jsx-runtime").JSX.Element;
|
|
2709
2726
|
}
|
|
2710
2727
|
|
|
@@ -2919,6 +2936,7 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
|
2919
2936
|
updateStateX(value: number): void;
|
|
2920
2937
|
updateStateY(value: number): void;
|
|
2921
2938
|
updateStateZ(value: number): void;
|
|
2939
|
+
onCopyClick(): void;
|
|
2922
2940
|
render(): import("react/jsx-runtime").JSX.Element;
|
|
2923
2941
|
}
|
|
2924
2942
|
|