babylonjs-node-editor 5.14.0 → 5.14.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.
package/babylon.nodeEditor.d.ts
CHANGED
|
@@ -805,29 +805,6 @@ declare module BABYLON.NodeEditor {
|
|
|
805
805
|
}
|
|
806
806
|
|
|
807
807
|
|
|
808
|
-
export interface IColorPickerComponentProps {
|
|
809
|
-
value: BABYLON.Color4 | BABYLON.Color3;
|
|
810
|
-
onColorChanged: (newOne: string) => void;
|
|
811
|
-
globalState: GlobalState;
|
|
812
|
-
}
|
|
813
|
-
interface IColorPickerComponentState {
|
|
814
|
-
pickerEnabled: boolean;
|
|
815
|
-
color: BABYLON.Color3 | BABYLON.Color4;
|
|
816
|
-
hex: string;
|
|
817
|
-
}
|
|
818
|
-
export class ColorPickerLineComponent extends React.Component<IColorPickerComponentProps, IColorPickerComponentState> {
|
|
819
|
-
private _floatRef;
|
|
820
|
-
private _floatHostRef;
|
|
821
|
-
constructor(props: IColorPickerComponentProps);
|
|
822
|
-
syncPositions(): void;
|
|
823
|
-
shouldComponentUpdate(nextProps: IColorPickerComponentProps, nextState: IColorPickerComponentState): boolean;
|
|
824
|
-
componentDidUpdate(): void;
|
|
825
|
-
componentDidMount(): void;
|
|
826
|
-
setPickerState(enabled: boolean): void;
|
|
827
|
-
render(): JSX.Element;
|
|
828
|
-
}
|
|
829
|
-
|
|
830
|
-
|
|
831
808
|
export interface IButtonLineComponentProps {
|
|
832
809
|
data: string;
|
|
833
810
|
tooltip: string;
|
|
@@ -913,29 +890,6 @@ declare module BABYLON.NodeEditor {
|
|
|
913
890
|
}
|
|
914
891
|
|
|
915
892
|
|
|
916
|
-
interface INumericInputComponentProps {
|
|
917
|
-
label: string;
|
|
918
|
-
value: number;
|
|
919
|
-
step?: number;
|
|
920
|
-
onChange: (value: number) => void;
|
|
921
|
-
globalState: GlobalState;
|
|
922
|
-
}
|
|
923
|
-
export class NumericInputComponent extends React.Component<INumericInputComponentProps, {
|
|
924
|
-
value: string;
|
|
925
|
-
}> {
|
|
926
|
-
static defaultProps: {
|
|
927
|
-
step: number;
|
|
928
|
-
};
|
|
929
|
-
private _localChange;
|
|
930
|
-
constructor(props: INumericInputComponentProps);
|
|
931
|
-
shouldComponentUpdate(nextProps: INumericInputComponentProps, nextState: {
|
|
932
|
-
value: string;
|
|
933
|
-
}): boolean;
|
|
934
|
-
updateValue(evt: any): void;
|
|
935
|
-
render(): JSX.Element;
|
|
936
|
-
}
|
|
937
|
-
|
|
938
|
-
|
|
939
893
|
export class Popup {
|
|
940
894
|
static CreatePopup(title: string, windowVariableName: string, width?: number, height?: number): HTMLDivElement | null;
|
|
941
895
|
static _CopyStyles(sourceDoc: HTMLDocument, targetDoc: HTMLDocument): void;
|
|
@@ -1888,7 +1842,7 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
|
1888
1842
|
}): boolean;
|
|
1889
1843
|
raiseOnPropertyChanged(newValue: string, previousValue: string): void;
|
|
1890
1844
|
getCurrentNumericValue(value: string): number;
|
|
1891
|
-
updateValue(value: string): void;
|
|
1845
|
+
updateValue(value: string, valueToValidate?: string): void;
|
|
1892
1846
|
incrementValue(amount: number): void;
|
|
1893
1847
|
onKeyDown(event: React.KeyboardEvent): void;
|
|
1894
1848
|
render(): JSX.Element;
|