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.
|
@@ -47,7 +47,7 @@ import { MapRangeBlock } from "babylonjs/Meshes/Node/Blocks/mapRangeBlock";
|
|
|
47
47
|
import { GeometryOptimizeBlock } from "babylonjs/Meshes/Node/Blocks/geometryOptimizeBlock";
|
|
48
48
|
import { IntFloatConverterBlock } from "babylonjs/Meshes/Node/Blocks/intFloatConverterBlock";
|
|
49
49
|
import { ConditionBlock } from "babylonjs/Meshes/Node/Blocks/conditionBlock";
|
|
50
|
-
import { InstantiateLinearBlock } from "babylonjs/Meshes/Node/Blocks
|
|
50
|
+
import { InstantiateLinearBlock } from "babylonjs/Meshes/Node/Blocks/Instances/instantiateLinearBlock";
|
|
51
51
|
import { InstantiateRadialBlock } from "babylonjs/Meshes/Node/Blocks/Instances/instantiateRadialBlock";
|
|
52
52
|
import { GeometryCollectionBlock } from "babylonjs/Meshes/Node/Blocks/geometryCollectionBlock";
|
|
53
53
|
import { GeometryInfoBlock } from "babylonjs/Meshes/Node/Blocks/geometryInfoBlock";
|
|
@@ -477,6 +477,7 @@ import { INodeContainer } from "babylonjs-node-geometry-editor/nodeGraphSystem/i
|
|
|
477
477
|
import { INodeData } from "babylonjs-node-geometry-editor/nodeGraphSystem/interfaces/nodeData";
|
|
478
478
|
import { IPortData } from "babylonjs-node-geometry-editor/nodeGraphSystem/interfaces/portData";
|
|
479
479
|
import { NodeGeometryBlock } from "babylonjs/Meshes/Node/nodeGeometryBlock";
|
|
480
|
+
import { TeleportOutBlock } from "babylonjs/Meshes/Node/Blocks/Teleport/teleportOutBlock";
|
|
480
481
|
export class BlockNodeData implements INodeData {
|
|
481
482
|
data: NodeGeometryBlock;
|
|
482
483
|
private _inputs;
|
|
@@ -499,7 +500,7 @@ export class BlockNodeData implements INodeData {
|
|
|
499
500
|
isConnectedToOutput(): boolean;
|
|
500
501
|
dispose(): void;
|
|
501
502
|
prepareHeaderIcon(iconDiv: HTMLDivElement, img: HTMLImageElement): void;
|
|
502
|
-
get invisibleEndpoints():
|
|
503
|
+
get invisibleEndpoints(): TeleportOutBlock[] | null;
|
|
503
504
|
constructor(data: NodeGeometryBlock, nodeContainer: INodeContainer);
|
|
504
505
|
}
|
|
505
506
|
|
|
@@ -1250,7 +1251,7 @@ export interface IColorComponentEntryProps {
|
|
|
1250
1251
|
disabled?: boolean;
|
|
1251
1252
|
lockObject: LockObject;
|
|
1252
1253
|
}
|
|
1253
|
-
export class
|
|
1254
|
+
export class ColorComponentComponentEntry extends React.Component<IColorComponentEntryProps> {
|
|
1254
1255
|
constructor(props: IColorComponentEntryProps);
|
|
1255
1256
|
updateValue(valueString: string): void;
|
|
1256
1257
|
lock(): void;
|
|
@@ -1266,7 +1267,7 @@ import { LockObject } from "babylonjs-node-geometry-editor/tabs/propertyGrids/lo
|
|
|
1266
1267
|
/**
|
|
1267
1268
|
* Interface used to specify creation options for color picker
|
|
1268
1269
|
*/
|
|
1269
|
-
export interface
|
|
1270
|
+
export interface IColorPickerComponentProps {
|
|
1270
1271
|
color: Color3 | Color4;
|
|
1271
1272
|
linearhint?: boolean;
|
|
1272
1273
|
debugMode?: boolean;
|
|
@@ -1284,13 +1285,13 @@ export interface IColorPickerState {
|
|
|
1284
1285
|
/**
|
|
1285
1286
|
* Class used to create a color picker
|
|
1286
1287
|
*/
|
|
1287
|
-
export class
|
|
1288
|
+
export class ColorPickerComponent extends React.Component<IColorPickerComponentProps, IColorPickerState> {
|
|
1288
1289
|
private _saturationRef;
|
|
1289
1290
|
private _hueRef;
|
|
1290
1291
|
private _isSaturationPointerDown;
|
|
1291
1292
|
private _isHuePointerDown;
|
|
1292
|
-
constructor(props:
|
|
1293
|
-
shouldComponentUpdate(nextProps:
|
|
1293
|
+
constructor(props: IColorPickerComponentProps);
|
|
1294
|
+
shouldComponentUpdate(nextProps: IColorPickerComponentProps, nextState: IColorPickerState): boolean;
|
|
1294
1295
|
onSaturationPointerDown(evt: React.PointerEvent<HTMLDivElement>): void;
|
|
1295
1296
|
onSaturationPointerUp(evt: React.PointerEvent<HTMLDivElement>): void;
|
|
1296
1297
|
onSaturationPointerMove(evt: React.PointerEvent<HTMLDivElement>): void;
|
|
@@ -1314,7 +1315,7 @@ export interface IHexColorProps {
|
|
|
1314
1315
|
onChange: (value: string) => void;
|
|
1315
1316
|
lockObject: LockObject;
|
|
1316
1317
|
}
|
|
1317
|
-
export class
|
|
1318
|
+
export class HexColorComponent extends React.Component<IHexColorProps, {
|
|
1318
1319
|
hex: string;
|
|
1319
1320
|
}> {
|
|
1320
1321
|
constructor(props: IHexColorProps);
|
|
@@ -1773,7 +1774,7 @@ declare module "babylonjs-node-geometry-editor/components/lines/ColorPickerLineC
|
|
|
1773
1774
|
import * as React from "react";
|
|
1774
1775
|
import { Color4, Color3 } from "babylonjs/Maths/math.color";
|
|
1775
1776
|
import { LockObject } from "babylonjs-node-geometry-editor/tabs/propertyGrids/lockObject";
|
|
1776
|
-
export interface
|
|
1777
|
+
export interface IColorPickerLineComponentProps {
|
|
1777
1778
|
value: Color4 | Color3;
|
|
1778
1779
|
linearHint?: boolean;
|
|
1779
1780
|
onColorChanged: (newOne: string) => void;
|
|
@@ -1788,14 +1789,14 @@ interface IColorPickerComponentState {
|
|
|
1788
1789
|
color: Color3 | Color4;
|
|
1789
1790
|
hex: string;
|
|
1790
1791
|
}
|
|
1791
|
-
export class ColorPickerLineComponent extends React.Component<
|
|
1792
|
+
export class ColorPickerLineComponent extends React.Component<IColorPickerLineComponentProps, IColorPickerComponentState> {
|
|
1792
1793
|
private _floatRef;
|
|
1793
1794
|
private _floatHostRef;
|
|
1794
1795
|
private _coverRef;
|
|
1795
|
-
constructor(props:
|
|
1796
|
+
constructor(props: IColorPickerLineComponentProps);
|
|
1796
1797
|
syncPositions(): void;
|
|
1797
|
-
shouldComponentUpdate(nextProps:
|
|
1798
|
-
getHexString(props?: Readonly<
|
|
1798
|
+
shouldComponentUpdate(nextProps: IColorPickerLineComponentProps, nextState: IColorPickerComponentState): boolean;
|
|
1799
|
+
getHexString(props?: Readonly<IColorPickerLineComponentProps> & Readonly<{
|
|
1799
1800
|
children?: React.ReactNode;
|
|
1800
1801
|
}>): string;
|
|
1801
1802
|
componentDidUpdate(): void;
|
|
@@ -2040,7 +2041,7 @@ export interface IGraphNodeProps {
|
|
|
2040
2041
|
highlighted?: boolean;
|
|
2041
2042
|
parentContainerId: string;
|
|
2042
2043
|
}
|
|
2043
|
-
export const
|
|
2044
|
+
export const SingleGraphNode: FC<IGraphNodeProps>;
|
|
2044
2045
|
|
|
2045
2046
|
}
|
|
2046
2047
|
declare module "babylonjs-node-geometry-editor/components/reactGraphSystem/GraphNodesContainer" {
|
|
@@ -2289,7 +2290,7 @@ import { Observable } from "babylonjs/Misc/observable";
|
|
|
2289
2290
|
import { Color4 } from "babylonjs/Maths/math.color";
|
|
2290
2291
|
import { PropertyChangedEvent } from "babylonjs-node-geometry-editor/propertyChangedEvent";
|
|
2291
2292
|
import { LockObject } from "babylonjs-node-geometry-editor/tabs/propertyGrids/lockObject";
|
|
2292
|
-
export interface
|
|
2293
|
+
export interface IColorLineProps {
|
|
2293
2294
|
label: string;
|
|
2294
2295
|
target?: any;
|
|
2295
2296
|
propertyName: string;
|
|
@@ -2305,10 +2306,10 @@ interface IColorLineComponentState {
|
|
|
2305
2306
|
isExpanded: boolean;
|
|
2306
2307
|
color: Color4;
|
|
2307
2308
|
}
|
|
2308
|
-
export class
|
|
2309
|
-
constructor(props:
|
|
2310
|
-
shouldComponentUpdate(nextProps:
|
|
2311
|
-
getValue(props?: Readonly<
|
|
2309
|
+
export class ColorLine extends React.Component<IColorLineProps, IColorLineComponentState> {
|
|
2310
|
+
constructor(props: IColorLineProps);
|
|
2311
|
+
shouldComponentUpdate(nextProps: IColorLineProps, nextState: IColorLineComponentState): boolean;
|
|
2312
|
+
getValue(props?: Readonly<IColorLineProps> & Readonly<{
|
|
2312
2313
|
children?: React.ReactNode;
|
|
2313
2314
|
}>): Color4;
|
|
2314
2315
|
setColorFromString(colorString: string): void;
|
|
@@ -2330,7 +2331,7 @@ declare module "babylonjs-node-geometry-editor/lines/colorPickerComponent" {
|
|
|
2330
2331
|
import * as React from "react";
|
|
2331
2332
|
import { Color4, Color3 } from "babylonjs/Maths/math.color";
|
|
2332
2333
|
import { LockObject } from "babylonjs-node-geometry-editor/tabs/propertyGrids/lockObject";
|
|
2333
|
-
export interface
|
|
2334
|
+
export interface IColorPickerLineProps {
|
|
2334
2335
|
value: Color4 | Color3;
|
|
2335
2336
|
linearHint?: boolean;
|
|
2336
2337
|
onColorChanged: (newOne: string) => void;
|
|
@@ -2344,13 +2345,13 @@ interface IColorPickerComponentState {
|
|
|
2344
2345
|
color: Color3 | Color4;
|
|
2345
2346
|
hex: string;
|
|
2346
2347
|
}
|
|
2347
|
-
export class
|
|
2348
|
+
export class ColorPickerLine extends React.Component<IColorPickerLineProps, IColorPickerComponentState> {
|
|
2348
2349
|
private _floatRef;
|
|
2349
2350
|
private _floatHostRef;
|
|
2350
|
-
constructor(props:
|
|
2351
|
+
constructor(props: IColorPickerLineProps);
|
|
2351
2352
|
syncPositions(): void;
|
|
2352
|
-
shouldComponentUpdate(nextProps:
|
|
2353
|
-
getHexString(props?: Readonly<
|
|
2353
|
+
shouldComponentUpdate(nextProps: IColorPickerLineProps, nextState: IColorPickerComponentState): boolean;
|
|
2354
|
+
getHexString(props?: Readonly<IColorPickerLineProps> & Readonly<{
|
|
2354
2355
|
children?: React.ReactNode;
|
|
2355
2356
|
}>): string;
|
|
2356
2357
|
componentDidUpdate(): void;
|
|
@@ -2374,18 +2375,18 @@ export class DraggableLineComponent extends React.Component<IButtonLineComponent
|
|
|
2374
2375
|
}
|
|
2375
2376
|
declare module "babylonjs-node-geometry-editor/lines/fileButtonLineComponent" {
|
|
2376
2377
|
import * as React from "react";
|
|
2377
|
-
interface
|
|
2378
|
+
interface IFileButtonLineProps {
|
|
2378
2379
|
label: string;
|
|
2379
2380
|
onClick: (file: File) => void;
|
|
2380
2381
|
accept: string;
|
|
2381
2382
|
icon?: string;
|
|
2382
2383
|
iconLabel?: string;
|
|
2383
2384
|
}
|
|
2384
|
-
export class
|
|
2385
|
+
export class FileButtonLine extends React.Component<IFileButtonLineProps> {
|
|
2385
2386
|
private static _IDGenerator;
|
|
2386
2387
|
private _id;
|
|
2387
2388
|
private _uploadInputRef;
|
|
2388
|
-
constructor(props:
|
|
2389
|
+
constructor(props: IFileButtonLineProps);
|
|
2389
2390
|
onChange(evt: any): void;
|
|
2390
2391
|
|
|
2391
2392
|
}
|
|
@@ -2676,7 +2677,7 @@ export {};
|
|
|
2676
2677
|
declare module "babylonjs-node-geometry-editor/lines/numericInputComponent" {
|
|
2677
2678
|
import * as React from "react";
|
|
2678
2679
|
import { LockObject } from "babylonjs-node-geometry-editor/tabs/propertyGrids/lockObject";
|
|
2679
|
-
interface
|
|
2680
|
+
interface INumericInputProps {
|
|
2680
2681
|
label: string;
|
|
2681
2682
|
value: number;
|
|
2682
2683
|
step?: number;
|
|
@@ -2686,16 +2687,16 @@ interface INumericInputComponentProps {
|
|
|
2686
2687
|
iconLabel?: string;
|
|
2687
2688
|
lockObject: LockObject;
|
|
2688
2689
|
}
|
|
2689
|
-
export class
|
|
2690
|
+
export class NumericInput extends React.Component<INumericInputProps, {
|
|
2690
2691
|
value: string;
|
|
2691
2692
|
}> {
|
|
2692
2693
|
static defaultProps: {
|
|
2693
2694
|
step: number;
|
|
2694
2695
|
};
|
|
2695
2696
|
private _localChange;
|
|
2696
|
-
constructor(props:
|
|
2697
|
+
constructor(props: INumericInputProps);
|
|
2697
2698
|
componentWillUnmount(): void;
|
|
2698
|
-
shouldComponentUpdate(nextProps:
|
|
2699
|
+
shouldComponentUpdate(nextProps: INumericInputProps, nextState: {
|
|
2699
2700
|
value: string;
|
|
2700
2701
|
}): boolean;
|
|
2701
2702
|
updateValue(valueString: string): void;
|
|
@@ -2713,7 +2714,7 @@ import { Observable } from "babylonjs/Misc/observable";
|
|
|
2713
2714
|
import { PropertyChangedEvent } from "babylonjs-node-geometry-editor/propertyChangedEvent";
|
|
2714
2715
|
import { IInspectableOptions } from "babylonjs/Misc/iInspectable";
|
|
2715
2716
|
export const Null_Value: number;
|
|
2716
|
-
export interface
|
|
2717
|
+
export interface IOptionsLineProps {
|
|
2717
2718
|
label: string;
|
|
2718
2719
|
target: any;
|
|
2719
2720
|
propertyName: string;
|
|
@@ -2729,15 +2730,15 @@ export interface IOptionsLineComponentProps {
|
|
|
2729
2730
|
valuesAreStrings?: boolean;
|
|
2730
2731
|
defaultIfNull?: number;
|
|
2731
2732
|
}
|
|
2732
|
-
export class
|
|
2733
|
+
export class OptionsLine extends React.Component<IOptionsLineProps, {
|
|
2733
2734
|
value: number | string;
|
|
2734
2735
|
}> {
|
|
2735
2736
|
private _localChange;
|
|
2736
2737
|
private _remapValueIn;
|
|
2737
2738
|
private _remapValueOut;
|
|
2738
2739
|
private _getValue;
|
|
2739
|
-
constructor(props:
|
|
2740
|
-
shouldComponentUpdate(nextProps:
|
|
2740
|
+
constructor(props: IOptionsLineProps);
|
|
2741
|
+
shouldComponentUpdate(nextProps: IOptionsLineProps, nextState: {
|
|
2741
2742
|
value: number;
|
|
2742
2743
|
}): boolean;
|
|
2743
2744
|
raiseOnPropertyChanged(newValue: number, previousValue: number): void;
|
|
@@ -4479,7 +4480,7 @@ declare module BABYLON.NodeGeometryEditor {
|
|
|
4479
4480
|
isConnectedToOutput(): boolean;
|
|
4480
4481
|
dispose(): void;
|
|
4481
4482
|
prepareHeaderIcon(iconDiv: HTMLDivElement, img: HTMLImageElement): void;
|
|
4482
|
-
get invisibleEndpoints():
|
|
4483
|
+
get invisibleEndpoints(): BABYLON.TeleportOutBlock[] | null;
|
|
4483
4484
|
constructor(data: BABYLON.NodeGeometryBlock, nodeContainer: BABYLON.NodeGeometryEditor.SharedUIComponents.INodeContainer);
|
|
4484
4485
|
}
|
|
4485
4486
|
|
|
@@ -5125,7 +5126,7 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
|
5125
5126
|
disabled?: boolean;
|
|
5126
5127
|
lockObject: BABYLON.NodeGeometryEditor.SharedUIComponents.LockObject;
|
|
5127
5128
|
}
|
|
5128
|
-
export class
|
|
5129
|
+
export class ColorComponentComponentEntry extends React.Component<IColorComponentEntryProps> {
|
|
5129
5130
|
constructor(props: IColorComponentEntryProps);
|
|
5130
5131
|
updateValue(valueString: string): void;
|
|
5131
5132
|
lock(): void;
|
|
@@ -5143,7 +5144,7 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
|
5143
5144
|
/**
|
|
5144
5145
|
* Interface used to specify creation options for color picker
|
|
5145
5146
|
*/
|
|
5146
|
-
export interface
|
|
5147
|
+
export interface IColorPickerComponentProps {
|
|
5147
5148
|
color: BABYLON.Color3 | BABYLON.Color4;
|
|
5148
5149
|
linearhint?: boolean;
|
|
5149
5150
|
debugMode?: boolean;
|
|
@@ -5161,13 +5162,13 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
|
5161
5162
|
/**
|
|
5162
5163
|
* Class used to create a color picker
|
|
5163
5164
|
*/
|
|
5164
|
-
export class
|
|
5165
|
+
export class ColorPickerComponent extends React.Component<IColorPickerComponentProps, IColorPickerState> {
|
|
5165
5166
|
private _saturationRef;
|
|
5166
5167
|
private _hueRef;
|
|
5167
5168
|
private _isSaturationPointerDown;
|
|
5168
5169
|
private _isHuePointerDown;
|
|
5169
|
-
constructor(props:
|
|
5170
|
-
shouldComponentUpdate(nextProps:
|
|
5170
|
+
constructor(props: IColorPickerComponentProps);
|
|
5171
|
+
shouldComponentUpdate(nextProps: IColorPickerComponentProps, nextState: IColorPickerState): boolean;
|
|
5171
5172
|
onSaturationPointerDown(evt: React.PointerEvent<HTMLDivElement>): void;
|
|
5172
5173
|
onSaturationPointerUp(evt: React.PointerEvent<HTMLDivElement>): void;
|
|
5173
5174
|
onSaturationPointerMove(evt: React.PointerEvent<HTMLDivElement>): void;
|
|
@@ -5194,7 +5195,7 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
|
5194
5195
|
onChange: (value: string) => void;
|
|
5195
5196
|
lockObject: BABYLON.NodeGeometryEditor.SharedUIComponents.LockObject;
|
|
5196
5197
|
}
|
|
5197
|
-
export class
|
|
5198
|
+
export class HexColorComponent extends React.Component<IHexColorProps, {
|
|
5198
5199
|
hex: string;
|
|
5199
5200
|
}> {
|
|
5200
5201
|
constructor(props: IHexColorProps);
|
|
@@ -5706,7 +5707,7 @@ declare module BABYLON.NodeGeometryEditor {
|
|
|
5706
5707
|
|
|
5707
5708
|
}
|
|
5708
5709
|
declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
5709
|
-
export interface
|
|
5710
|
+
export interface IColorPickerLineComponentProps {
|
|
5710
5711
|
value: BABYLON.Color4 | BABYLON.Color3;
|
|
5711
5712
|
linearHint?: boolean;
|
|
5712
5713
|
onColorChanged: (newOne: string) => void;
|
|
@@ -5721,14 +5722,14 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
|
5721
5722
|
color: BABYLON.Color3 | BABYLON.Color4;
|
|
5722
5723
|
hex: string;
|
|
5723
5724
|
}
|
|
5724
|
-
export class ColorPickerLineComponent extends React.Component<
|
|
5725
|
+
export class ColorPickerLineComponent extends React.Component<IColorPickerLineComponentProps, IColorPickerComponentState> {
|
|
5725
5726
|
private _floatRef;
|
|
5726
5727
|
private _floatHostRef;
|
|
5727
5728
|
private _coverRef;
|
|
5728
|
-
constructor(props:
|
|
5729
|
+
constructor(props: IColorPickerLineComponentProps);
|
|
5729
5730
|
syncPositions(): void;
|
|
5730
|
-
shouldComponentUpdate(nextProps:
|
|
5731
|
-
getHexString(props?: Readonly<
|
|
5731
|
+
shouldComponentUpdate(nextProps: IColorPickerLineComponentProps, nextState: IColorPickerComponentState): boolean;
|
|
5732
|
+
getHexString(props?: Readonly<IColorPickerLineComponentProps> & Readonly<{
|
|
5732
5733
|
children?: React.ReactNode;
|
|
5733
5734
|
}>): string;
|
|
5734
5735
|
componentDidUpdate(): void;
|
|
@@ -6012,7 +6013,7 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
|
6012
6013
|
highlighted?: boolean;
|
|
6013
6014
|
parentContainerId: string;
|
|
6014
6015
|
}
|
|
6015
|
-
export var
|
|
6016
|
+
export var SingleGraphNode: React.FC<IGraphNodeProps>;
|
|
6016
6017
|
|
|
6017
6018
|
|
|
6018
6019
|
|
|
@@ -6299,7 +6300,7 @@ declare module BABYLON.NodeGeometryEditor {
|
|
|
6299
6300
|
|
|
6300
6301
|
}
|
|
6301
6302
|
declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
6302
|
-
export interface
|
|
6303
|
+
export interface IColorLineProps {
|
|
6303
6304
|
label: string;
|
|
6304
6305
|
target?: any;
|
|
6305
6306
|
propertyName: string;
|
|
@@ -6315,10 +6316,10 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
|
6315
6316
|
isExpanded: boolean;
|
|
6316
6317
|
color: BABYLON.Color4;
|
|
6317
6318
|
}
|
|
6318
|
-
export class
|
|
6319
|
-
constructor(props:
|
|
6320
|
-
shouldComponentUpdate(nextProps:
|
|
6321
|
-
getValue(props?: Readonly<
|
|
6319
|
+
export class ColorLine extends React.Component<IColorLineProps, IColorLineComponentState> {
|
|
6320
|
+
constructor(props: IColorLineProps);
|
|
6321
|
+
shouldComponentUpdate(nextProps: IColorLineProps, nextState: IColorLineComponentState): boolean;
|
|
6322
|
+
getValue(props?: Readonly<IColorLineProps> & Readonly<{
|
|
6322
6323
|
children?: React.ReactNode;
|
|
6323
6324
|
}>): BABYLON.Color4;
|
|
6324
6325
|
setColorFromString(colorString: string): void;
|
|
@@ -6341,7 +6342,7 @@ declare module BABYLON.NodeGeometryEditor {
|
|
|
6341
6342
|
|
|
6342
6343
|
}
|
|
6343
6344
|
declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
6344
|
-
export interface
|
|
6345
|
+
export interface IColorPickerLineProps {
|
|
6345
6346
|
value: BABYLON.Color4 | BABYLON.Color3;
|
|
6346
6347
|
linearHint?: boolean;
|
|
6347
6348
|
onColorChanged: (newOne: string) => void;
|
|
@@ -6355,13 +6356,13 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
|
6355
6356
|
color: BABYLON.Color3 | BABYLON.Color4;
|
|
6356
6357
|
hex: string;
|
|
6357
6358
|
}
|
|
6358
|
-
export class
|
|
6359
|
+
export class ColorPickerLine extends React.Component<IColorPickerLineProps, IColorPickerComponentState> {
|
|
6359
6360
|
private _floatRef;
|
|
6360
6361
|
private _floatHostRef;
|
|
6361
|
-
constructor(props:
|
|
6362
|
+
constructor(props: IColorPickerLineProps);
|
|
6362
6363
|
syncPositions(): void;
|
|
6363
|
-
shouldComponentUpdate(nextProps:
|
|
6364
|
-
getHexString(props?: Readonly<
|
|
6364
|
+
shouldComponentUpdate(nextProps: IColorPickerLineProps, nextState: IColorPickerComponentState): boolean;
|
|
6365
|
+
getHexString(props?: Readonly<IColorPickerLineProps> & Readonly<{
|
|
6365
6366
|
children?: React.ReactNode;
|
|
6366
6367
|
}>): string;
|
|
6367
6368
|
componentDidUpdate(): void;
|
|
@@ -6392,18 +6393,18 @@ declare module BABYLON.NodeGeometryEditor {
|
|
|
6392
6393
|
|
|
6393
6394
|
}
|
|
6394
6395
|
declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
6395
|
-
interface
|
|
6396
|
+
interface IFileButtonLineProps {
|
|
6396
6397
|
label: string;
|
|
6397
6398
|
onClick: (file: File) => void;
|
|
6398
6399
|
accept: string;
|
|
6399
6400
|
icon?: string;
|
|
6400
6401
|
iconLabel?: string;
|
|
6401
6402
|
}
|
|
6402
|
-
export class
|
|
6403
|
+
export class FileButtonLine extends React.Component<IFileButtonLineProps> {
|
|
6403
6404
|
private static _IDGenerator;
|
|
6404
6405
|
private _id;
|
|
6405
6406
|
private _uploadInputRef;
|
|
6406
|
-
constructor(props:
|
|
6407
|
+
constructor(props: IFileButtonLineProps);
|
|
6407
6408
|
onChange(evt: any): void;
|
|
6408
6409
|
render(): import("react/jsx-runtime").JSX.Element;
|
|
6409
6410
|
}
|
|
@@ -6721,7 +6722,7 @@ declare module BABYLON.NodeGeometryEditor {
|
|
|
6721
6722
|
|
|
6722
6723
|
}
|
|
6723
6724
|
declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
6724
|
-
interface
|
|
6725
|
+
interface INumericInputProps {
|
|
6725
6726
|
label: string;
|
|
6726
6727
|
value: number;
|
|
6727
6728
|
step?: number;
|
|
@@ -6731,16 +6732,16 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
|
6731
6732
|
iconLabel?: string;
|
|
6732
6733
|
lockObject: BABYLON.NodeGeometryEditor.SharedUIComponents.LockObject;
|
|
6733
6734
|
}
|
|
6734
|
-
export class
|
|
6735
|
+
export class NumericInput extends React.Component<INumericInputProps, {
|
|
6735
6736
|
value: string;
|
|
6736
6737
|
}> {
|
|
6737
6738
|
static defaultProps: {
|
|
6738
6739
|
step: number;
|
|
6739
6740
|
};
|
|
6740
6741
|
private _localChange;
|
|
6741
|
-
constructor(props:
|
|
6742
|
+
constructor(props: INumericInputProps);
|
|
6742
6743
|
componentWillUnmount(): void;
|
|
6743
|
-
shouldComponentUpdate(nextProps:
|
|
6744
|
+
shouldComponentUpdate(nextProps: INumericInputProps, nextState: {
|
|
6744
6745
|
value: string;
|
|
6745
6746
|
}): boolean;
|
|
6746
6747
|
updateValue(valueString: string): void;
|
|
@@ -6758,7 +6759,7 @@ declare module BABYLON.NodeGeometryEditor {
|
|
|
6758
6759
|
}
|
|
6759
6760
|
declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
6760
6761
|
export var Null_Value: number;
|
|
6761
|
-
export interface
|
|
6762
|
+
export interface IOptionsLineProps {
|
|
6762
6763
|
label: string;
|
|
6763
6764
|
target: any;
|
|
6764
6765
|
propertyName: string;
|
|
@@ -6774,15 +6775,15 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
|
6774
6775
|
valuesAreStrings?: boolean;
|
|
6775
6776
|
defaultIfNull?: number;
|
|
6776
6777
|
}
|
|
6777
|
-
export class
|
|
6778
|
+
export class OptionsLine extends React.Component<IOptionsLineProps, {
|
|
6778
6779
|
value: number | string;
|
|
6779
6780
|
}> {
|
|
6780
6781
|
private _localChange;
|
|
6781
6782
|
private _remapValueIn;
|
|
6782
6783
|
private _remapValueOut;
|
|
6783
6784
|
private _getValue;
|
|
6784
|
-
constructor(props:
|
|
6785
|
-
shouldComponentUpdate(nextProps:
|
|
6785
|
+
constructor(props: IOptionsLineProps);
|
|
6786
|
+
shouldComponentUpdate(nextProps: IOptionsLineProps, nextState: {
|
|
6786
6787
|
value: number;
|
|
6787
6788
|
}): boolean;
|
|
6788
6789
|
raiseOnPropertyChanged(newValue: number, previousValue: number): void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "babylonjs-node-geometry-editor",
|
|
3
|
-
"version": "7.6.
|
|
3
|
+
"version": "7.6.2",
|
|
4
4
|
"main": "babylon.nodeGeometryEditor.js",
|
|
5
5
|
"types": "babylon.nodeGeometryEditor.module.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"clean": "rimraf dist && rimraf babylon*.*"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"babylonjs": "^7.6.
|
|
17
|
+
"babylonjs": "^7.6.2"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@dev/build-tools": "1.0.0",
|