babylonjs-node-geometry-editor 7.6.0 → 7.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -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
|
|
|
@@ -2153,7 +2153,7 @@ declare module BABYLON.NodeGeometryEditor {
|
|
|
2153
2153
|
|
|
2154
2154
|
}
|
|
2155
2155
|
declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
2156
|
-
export interface
|
|
2156
|
+
export interface IColorLineProps {
|
|
2157
2157
|
label: string;
|
|
2158
2158
|
target?: any;
|
|
2159
2159
|
propertyName: string;
|
|
@@ -2169,10 +2169,10 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
|
2169
2169
|
isExpanded: boolean;
|
|
2170
2170
|
color: BABYLON.Color4;
|
|
2171
2171
|
}
|
|
2172
|
-
export class
|
|
2173
|
-
constructor(props:
|
|
2174
|
-
shouldComponentUpdate(nextProps:
|
|
2175
|
-
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<{
|
|
2176
2176
|
children?: React.ReactNode;
|
|
2177
2177
|
}>): BABYLON.Color4;
|
|
2178
2178
|
setColorFromString(colorString: string): void;
|
|
@@ -2195,7 +2195,7 @@ declare module BABYLON.NodeGeometryEditor {
|
|
|
2195
2195
|
|
|
2196
2196
|
}
|
|
2197
2197
|
declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
2198
|
-
export interface
|
|
2198
|
+
export interface IColorPickerLineProps {
|
|
2199
2199
|
value: BABYLON.Color4 | BABYLON.Color3;
|
|
2200
2200
|
linearHint?: boolean;
|
|
2201
2201
|
onColorChanged: (newOne: string) => void;
|
|
@@ -2209,13 +2209,13 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
|
2209
2209
|
color: BABYLON.Color3 | BABYLON.Color4;
|
|
2210
2210
|
hex: string;
|
|
2211
2211
|
}
|
|
2212
|
-
export class
|
|
2212
|
+
export class ColorPickerLine extends React.Component<IColorPickerLineProps, IColorPickerComponentState> {
|
|
2213
2213
|
private _floatRef;
|
|
2214
2214
|
private _floatHostRef;
|
|
2215
|
-
constructor(props:
|
|
2215
|
+
constructor(props: IColorPickerLineProps);
|
|
2216
2216
|
syncPositions(): void;
|
|
2217
|
-
shouldComponentUpdate(nextProps:
|
|
2218
|
-
getHexString(props?: Readonly<
|
|
2217
|
+
shouldComponentUpdate(nextProps: IColorPickerLineProps, nextState: IColorPickerComponentState): boolean;
|
|
2218
|
+
getHexString(props?: Readonly<IColorPickerLineProps> & Readonly<{
|
|
2219
2219
|
children?: React.ReactNode;
|
|
2220
2220
|
}>): string;
|
|
2221
2221
|
componentDidUpdate(): void;
|
|
@@ -2246,18 +2246,18 @@ declare module BABYLON.NodeGeometryEditor {
|
|
|
2246
2246
|
|
|
2247
2247
|
}
|
|
2248
2248
|
declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
2249
|
-
interface
|
|
2249
|
+
interface IFileButtonLineProps {
|
|
2250
2250
|
label: string;
|
|
2251
2251
|
onClick: (file: File) => void;
|
|
2252
2252
|
accept: string;
|
|
2253
2253
|
icon?: string;
|
|
2254
2254
|
iconLabel?: string;
|
|
2255
2255
|
}
|
|
2256
|
-
export class
|
|
2256
|
+
export class FileButtonLine extends React.Component<IFileButtonLineProps> {
|
|
2257
2257
|
private static _IDGenerator;
|
|
2258
2258
|
private _id;
|
|
2259
2259
|
private _uploadInputRef;
|
|
2260
|
-
constructor(props:
|
|
2260
|
+
constructor(props: IFileButtonLineProps);
|
|
2261
2261
|
onChange(evt: any): void;
|
|
2262
2262
|
render(): import("react/jsx-runtime").JSX.Element;
|
|
2263
2263
|
}
|
|
@@ -2575,7 +2575,7 @@ declare module BABYLON.NodeGeometryEditor {
|
|
|
2575
2575
|
|
|
2576
2576
|
}
|
|
2577
2577
|
declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
2578
|
-
interface
|
|
2578
|
+
interface INumericInputProps {
|
|
2579
2579
|
label: string;
|
|
2580
2580
|
value: number;
|
|
2581
2581
|
step?: number;
|
|
@@ -2585,16 +2585,16 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
|
2585
2585
|
iconLabel?: string;
|
|
2586
2586
|
lockObject: BABYLON.NodeGeometryEditor.SharedUIComponents.LockObject;
|
|
2587
2587
|
}
|
|
2588
|
-
export class
|
|
2588
|
+
export class NumericInput extends React.Component<INumericInputProps, {
|
|
2589
2589
|
value: string;
|
|
2590
2590
|
}> {
|
|
2591
2591
|
static defaultProps: {
|
|
2592
2592
|
step: number;
|
|
2593
2593
|
};
|
|
2594
2594
|
private _localChange;
|
|
2595
|
-
constructor(props:
|
|
2595
|
+
constructor(props: INumericInputProps);
|
|
2596
2596
|
componentWillUnmount(): void;
|
|
2597
|
-
shouldComponentUpdate(nextProps:
|
|
2597
|
+
shouldComponentUpdate(nextProps: INumericInputProps, nextState: {
|
|
2598
2598
|
value: string;
|
|
2599
2599
|
}): boolean;
|
|
2600
2600
|
updateValue(valueString: string): void;
|
|
@@ -2612,7 +2612,7 @@ declare module BABYLON.NodeGeometryEditor {
|
|
|
2612
2612
|
}
|
|
2613
2613
|
declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
2614
2614
|
export var Null_Value: number;
|
|
2615
|
-
export interface
|
|
2615
|
+
export interface IOptionsLineProps {
|
|
2616
2616
|
label: string;
|
|
2617
2617
|
target: any;
|
|
2618
2618
|
propertyName: string;
|
|
@@ -2628,15 +2628,15 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
|
2628
2628
|
valuesAreStrings?: boolean;
|
|
2629
2629
|
defaultIfNull?: number;
|
|
2630
2630
|
}
|
|
2631
|
-
export class
|
|
2631
|
+
export class OptionsLine extends React.Component<IOptionsLineProps, {
|
|
2632
2632
|
value: number | string;
|
|
2633
2633
|
}> {
|
|
2634
2634
|
private _localChange;
|
|
2635
2635
|
private _remapValueIn;
|
|
2636
2636
|
private _remapValueOut;
|
|
2637
2637
|
private _getValue;
|
|
2638
|
-
constructor(props:
|
|
2639
|
-
shouldComponentUpdate(nextProps:
|
|
2638
|
+
constructor(props: IOptionsLineProps);
|
|
2639
|
+
shouldComponentUpdate(nextProps: IOptionsLineProps, nextState: {
|
|
2640
2640
|
value: number;
|
|
2641
2641
|
}): boolean;
|
|
2642
2642
|
raiseOnPropertyChanged(newValue: number, previousValue: number): void;
|