babylonjs-node-geometry-editor 7.54.0 → 7.54.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.
|
@@ -2578,6 +2578,31 @@ interface IUnitButtonProps {
|
|
|
2578
2578
|
|
|
2579
2579
|
export {};
|
|
2580
2580
|
|
|
2581
|
+
}
|
|
2582
|
+
declare module "babylonjs-node-geometry-editor/lines/textureButtonLineComponent" {
|
|
2583
|
+
import { BaseTexture } from "babylonjs/Materials/Textures/baseTexture";
|
|
2584
|
+
import { Scene } from "babylonjs/scene";
|
|
2585
|
+
import * as React from "react";
|
|
2586
|
+
interface ITextureButtonLineProps {
|
|
2587
|
+
label: string;
|
|
2588
|
+
scene: Scene;
|
|
2589
|
+
onClick: (file: File) => void;
|
|
2590
|
+
onLink: (texture: BaseTexture) => void;
|
|
2591
|
+
accept: string;
|
|
2592
|
+
}
|
|
2593
|
+
interface ITextureButtonLineState {
|
|
2594
|
+
isOpen: boolean;
|
|
2595
|
+
}
|
|
2596
|
+
export class TextureButtonLine extends React.Component<ITextureButtonLineProps, ITextureButtonLineState> {
|
|
2597
|
+
private static _IDGenerator;
|
|
2598
|
+
private _id;
|
|
2599
|
+
private _uploadInputRef;
|
|
2600
|
+
constructor(props: ITextureButtonLineProps);
|
|
2601
|
+
onChange(evt: any): void;
|
|
2602
|
+
|
|
2603
|
+
}
|
|
2604
|
+
export {};
|
|
2605
|
+
|
|
2581
2606
|
}
|
|
2582
2607
|
declare module "babylonjs-node-geometry-editor/lines/textLineComponent" {
|
|
2583
2608
|
import * as React from "react";
|
|
@@ -6837,6 +6862,33 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
|
6837
6862
|
|
|
6838
6863
|
|
|
6839
6864
|
|
|
6865
|
+
}
|
|
6866
|
+
declare module BABYLON.NodeGeometryEditor {
|
|
6867
|
+
|
|
6868
|
+
|
|
6869
|
+
}
|
|
6870
|
+
declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
6871
|
+
interface ITextureButtonLineProps {
|
|
6872
|
+
label: string;
|
|
6873
|
+
scene: BABYLON.Scene;
|
|
6874
|
+
onClick: (file: File) => void;
|
|
6875
|
+
onLink: (texture: BABYLON.BaseTexture) => void;
|
|
6876
|
+
accept: string;
|
|
6877
|
+
}
|
|
6878
|
+
interface ITextureButtonLineState {
|
|
6879
|
+
isOpen: boolean;
|
|
6880
|
+
}
|
|
6881
|
+
export class TextureButtonLine extends React.Component<ITextureButtonLineProps, ITextureButtonLineState> {
|
|
6882
|
+
private static _IDGenerator;
|
|
6883
|
+
private _id;
|
|
6884
|
+
private _uploadInputRef;
|
|
6885
|
+
constructor(props: ITextureButtonLineProps);
|
|
6886
|
+
onChange(evt: any): void;
|
|
6887
|
+
render(): import("react/jsx-runtime").JSX.Element;
|
|
6888
|
+
}
|
|
6889
|
+
|
|
6890
|
+
|
|
6891
|
+
|
|
6840
6892
|
}
|
|
6841
6893
|
declare module BABYLON.NodeGeometryEditor {
|
|
6842
6894
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "babylonjs-node-geometry-editor",
|
|
3
|
-
"version": "7.54.
|
|
3
|
+
"version": "7.54.1",
|
|
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*.* -g"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"babylonjs": "^7.54.
|
|
17
|
+
"babylonjs": "^7.54.1"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@dev/build-tools": "1.0.0",
|