babylonjs-node-geometry-editor 7.28.0 → 7.30.0
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.
|
@@ -153,7 +153,7 @@ declare module BABYLON.NodeGeometryEditor {
|
|
|
153
153
|
* Static class for BlockTools
|
|
154
154
|
*/
|
|
155
155
|
export class BlockTools {
|
|
156
|
-
static GetBlockFromString(data: string): BABYLON.GeometryInterceptorBlock | BABYLON.GeometryRotate2dBlock | BABYLON.GeometryLengthBlock | BABYLON.GeometryDistanceBlock | BABYLON.GeometryDotBlock | BABYLON.GeometryPosterizeBlock | BABYLON.GeometryReplaceColorBlock | BABYLON.GeometryDesaturateBlock | BABYLON.GeometryCurveBlock | BABYLON.GeometryCrossBlock | BABYLON.GeometryClampBlock | BABYLON.BooleanGeometryBlock | BABYLON.GeometryTextureFetchBlock | BABYLON.GeometryTextureBlock | BABYLON.BoundingBlock | BABYLON.MatrixComposeBlock | BABYLON.GeometryInfoBlock | BABYLON.GeometryCollectionBlock | BABYLON.GeometryOptimizeBlock | BABYLON.NullBlock | BABYLON.TeleportInBlock | BABYLON.TeleportOutBlock | BABYLON.DebugBlock | BABYLON.IntFloatConverterBlock | BABYLON.ConditionBlock | BABYLON.GeometryLerpBlock | BABYLON.GeometryNLerpBlock | BABYLON.GeometrySmoothStepBlock | BABYLON.GeometryStepBlock | BABYLON.MappingBlock | BABYLON.SetMaterialIDBlock | BABYLON.InstantiateOnVolumeBlock | BABYLON.InstantiateOnFacesBlock | BABYLON.InstantiateOnVerticesBlock | BABYLON.InstantiateBlock | BABYLON.MapRangeBlock | BABYLON.NormalizeVectorBlock | BABYLON.MeshBlock | BABYLON.VectorConverterBlock | BABYLON.TranslationBlock | BABYLON.ScalingBlock | BABYLON.AlignBlock | BABYLON.RotationXBlock | BABYLON.RotationYBlock | BABYLON.RotationZBlock | BABYLON.ComputeNormalsBlock | BABYLON.SetPositionsBlock | BABYLON.SetNormalsBlock | BABYLON.SetColorsBlock | BABYLON.SetTangentsBlock | BABYLON.SetUVsBlock | BABYLON.NoiseBlock | BABYLON.RandomBlock | BABYLON.GeometryOutputBlock | BABYLON.GridBlock | BABYLON.DiscBlock | BABYLON.IcoSphereBlock | BABYLON.BoxBlock | BABYLON.TorusBlock | BABYLON.SphereBlock | BABYLON.CylinderBlock | BABYLON.CapsuleBlock | BABYLON.PlaneBlock | BABYLON.GeometryElbowBlock | BABYLON.MergeGeometryBlock | BABYLON.GeometryTransformBlock | BABYLON.GeometryModBlock | BABYLON.GeometryPowBlock | BABYLON.GeometryInputBlock | BABYLON.MathBlock | BABYLON.GeometryTrigonometryBlock | BABYLON.GeometryArcTan2Block | BABYLON.InstantiateLinearBlock | BABYLON.InstantiateRadialBlock | null;
|
|
156
|
+
static GetBlockFromString(data: string): BABYLON.LatticeBlock | BABYLON.GeometryInterceptorBlock | BABYLON.GeometryRotate2dBlock | BABYLON.GeometryLengthBlock | BABYLON.GeometryDistanceBlock | BABYLON.GeometryDotBlock | BABYLON.GeometryPosterizeBlock | BABYLON.GeometryReplaceColorBlock | BABYLON.GeometryDesaturateBlock | BABYLON.GeometryCurveBlock | BABYLON.GeometryCrossBlock | BABYLON.GeometryClampBlock | BABYLON.BooleanGeometryBlock | BABYLON.GeometryTextureFetchBlock | BABYLON.GeometryTextureBlock | BABYLON.BoundingBlock | BABYLON.MatrixComposeBlock | BABYLON.GeometryInfoBlock | BABYLON.GeometryCollectionBlock | BABYLON.GeometryOptimizeBlock | BABYLON.NullBlock | BABYLON.TeleportInBlock | BABYLON.TeleportOutBlock | BABYLON.DebugBlock | BABYLON.IntFloatConverterBlock | BABYLON.ConditionBlock | BABYLON.GeometryLerpBlock | BABYLON.GeometryNLerpBlock | BABYLON.GeometrySmoothStepBlock | BABYLON.GeometryStepBlock | BABYLON.MappingBlock | BABYLON.SetMaterialIDBlock | BABYLON.InstantiateOnVolumeBlock | BABYLON.InstantiateOnFacesBlock | BABYLON.InstantiateOnVerticesBlock | BABYLON.InstantiateBlock | BABYLON.MapRangeBlock | BABYLON.NormalizeVectorBlock | BABYLON.MeshBlock | BABYLON.VectorConverterBlock | BABYLON.TranslationBlock | BABYLON.ScalingBlock | BABYLON.AlignBlock | BABYLON.RotationXBlock | BABYLON.RotationYBlock | BABYLON.RotationZBlock | BABYLON.ComputeNormalsBlock | BABYLON.SetPositionsBlock | BABYLON.SetNormalsBlock | BABYLON.SetColorsBlock | BABYLON.SetTangentsBlock | BABYLON.SetUVsBlock | BABYLON.NoiseBlock | BABYLON.RandomBlock | BABYLON.GeometryOutputBlock | BABYLON.GridBlock | BABYLON.DiscBlock | BABYLON.IcoSphereBlock | BABYLON.BoxBlock | BABYLON.TorusBlock | BABYLON.SphereBlock | BABYLON.CylinderBlock | BABYLON.CapsuleBlock | BABYLON.PlaneBlock | BABYLON.GeometryElbowBlock | BABYLON.MergeGeometryBlock | BABYLON.GeometryTransformBlock | BABYLON.GeometryModBlock | BABYLON.GeometryPowBlock | BABYLON.GeometryInputBlock | BABYLON.MathBlock | BABYLON.GeometryTrigonometryBlock | BABYLON.GeometryArcTan2Block | BABYLON.InstantiateLinearBlock | BABYLON.InstantiateRadialBlock | null;
|
|
157
157
|
static GetColorFromConnectionNodeType(type: BABYLON.NodeGeometryBlockConnectionPointTypes): string;
|
|
158
158
|
static GetConnectionNodeTypeFromString(type: string): BABYLON.NodeGeometryBlockConnectionPointTypes.Int | BABYLON.NodeGeometryBlockConnectionPointTypes.Float | BABYLON.NodeGeometryBlockConnectionPointTypes.Vector2 | BABYLON.NodeGeometryBlockConnectionPointTypes.Vector3 | BABYLON.NodeGeometryBlockConnectionPointTypes.Vector4 | BABYLON.NodeGeometryBlockConnectionPointTypes.Matrix | BABYLON.NodeGeometryBlockConnectionPointTypes.AutoDetect;
|
|
159
159
|
static GetStringFromConnectionNodeType(type: BABYLON.NodeGeometryBlockConnectionPointTypes): "" | "Int" | "Float" | "Vector2" | "Vector3" | "Vector4" | "Matrix";
|
|
@@ -192,79 +192,6 @@ declare module BABYLON.NodeGeometryEditor {
|
|
|
192
192
|
}
|
|
193
193
|
|
|
194
194
|
|
|
195
|
-
interface ILineWithFileButtonComponentProps {
|
|
196
|
-
title: string;
|
|
197
|
-
closed?: boolean;
|
|
198
|
-
label: string;
|
|
199
|
-
iconImage: any;
|
|
200
|
-
onIconClick: (file: File) => void;
|
|
201
|
-
accept: string;
|
|
202
|
-
uploadName?: string;
|
|
203
|
-
}
|
|
204
|
-
export class LineWithFileButtonComponent extends React.Component<ILineWithFileButtonComponentProps, {
|
|
205
|
-
isExpanded: boolean;
|
|
206
|
-
}> {
|
|
207
|
-
private _uploadRef;
|
|
208
|
-
constructor(props: ILineWithFileButtonComponentProps);
|
|
209
|
-
onChange(evt: any): void;
|
|
210
|
-
switchExpandedState(): void;
|
|
211
|
-
render(): import("react/jsx-runtime").JSX.Element;
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
interface ILineContainerComponentProps {
|
|
216
|
-
title: string;
|
|
217
|
-
children: any[] | any;
|
|
218
|
-
closed?: boolean;
|
|
219
|
-
}
|
|
220
|
-
export class LineContainerComponent extends React.Component<ILineContainerComponentProps, {
|
|
221
|
-
isExpanded: boolean;
|
|
222
|
-
}> {
|
|
223
|
-
constructor(props: ILineContainerComponentProps);
|
|
224
|
-
switchExpandedState(): void;
|
|
225
|
-
renderHeader(): import("react/jsx-runtime").JSX.Element;
|
|
226
|
-
render(): import("react/jsx-runtime").JSX.Element;
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
interface IFileButtonLineComponentProps {
|
|
231
|
-
label: string;
|
|
232
|
-
onClick: (file: File) => void;
|
|
233
|
-
accept: string;
|
|
234
|
-
uploadName?: string;
|
|
235
|
-
}
|
|
236
|
-
export class FileButtonLineComponent extends React.Component<IFileButtonLineComponentProps> {
|
|
237
|
-
private _uploadRef;
|
|
238
|
-
constructor(props: IFileButtonLineComponentProps);
|
|
239
|
-
onChange(evt: any): void;
|
|
240
|
-
render(): import("react/jsx-runtime").JSX.Element;
|
|
241
|
-
}
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
export interface IDraggableLineWithButtonComponent {
|
|
245
|
-
data: string;
|
|
246
|
-
tooltip: string;
|
|
247
|
-
iconImage: any;
|
|
248
|
-
onIconClick: (value: string) => void;
|
|
249
|
-
iconTitle: string;
|
|
250
|
-
lenSuffixToRemove?: number;
|
|
251
|
-
}
|
|
252
|
-
export class DraggableLineWithButtonComponent extends React.Component<IDraggableLineWithButtonComponent> {
|
|
253
|
-
constructor(props: IDraggableLineWithButtonComponent);
|
|
254
|
-
render(): import("react/jsx-runtime").JSX.Element;
|
|
255
|
-
}
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
export interface IButtonLineComponentProps {
|
|
259
|
-
data: string;
|
|
260
|
-
tooltip: string;
|
|
261
|
-
}
|
|
262
|
-
export class DraggableLineComponent extends React.Component<IButtonLineComponentProps> {
|
|
263
|
-
constructor(props: IButtonLineComponentProps);
|
|
264
|
-
render(): import("react/jsx-runtime").JSX.Element;
|
|
265
|
-
}
|
|
266
|
-
|
|
267
|
-
|
|
268
195
|
export interface ICheckBoxLineComponentProps {
|
|
269
196
|
label: string;
|
|
270
197
|
target?: any;
|
|
@@ -700,6 +627,7 @@ declare module BABYLON.NodeGeometryEditor {
|
|
|
700
627
|
private _matStd;
|
|
701
628
|
private _matNME;
|
|
702
629
|
private _matVertexColor;
|
|
630
|
+
private _axis;
|
|
703
631
|
constructor(targetCanvas: HTMLCanvasElement, globalState: GlobalState);
|
|
704
632
|
private _updateStandardMaterial;
|
|
705
633
|
private _handleAnimations;
|
|
@@ -2485,6 +2413,34 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
|
2485
2413
|
|
|
2486
2414
|
|
|
2487
2415
|
|
|
2416
|
+
}
|
|
2417
|
+
declare module BABYLON.NodeGeometryEditor {
|
|
2418
|
+
|
|
2419
|
+
|
|
2420
|
+
}
|
|
2421
|
+
declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
2422
|
+
interface ILineWithFileButtonComponentProps {
|
|
2423
|
+
title: string;
|
|
2424
|
+
closed?: boolean;
|
|
2425
|
+
multiple?: boolean;
|
|
2426
|
+
label: string;
|
|
2427
|
+
iconImage: any;
|
|
2428
|
+
onIconClick: (file: File) => void;
|
|
2429
|
+
accept: string;
|
|
2430
|
+
uploadName?: string;
|
|
2431
|
+
}
|
|
2432
|
+
export class LineWithFileButtonComponent extends React.Component<ILineWithFileButtonComponentProps, {
|
|
2433
|
+
isExpanded: boolean;
|
|
2434
|
+
}> {
|
|
2435
|
+
private _uploadRef;
|
|
2436
|
+
constructor(props: ILineWithFileButtonComponentProps);
|
|
2437
|
+
onChange(evt: any): void;
|
|
2438
|
+
switchExpandedState(): void;
|
|
2439
|
+
render(): import("react/jsx-runtime").JSX.Element;
|
|
2440
|
+
}
|
|
2441
|
+
|
|
2442
|
+
|
|
2443
|
+
|
|
2488
2444
|
}
|
|
2489
2445
|
declare module BABYLON.NodeGeometryEditor {
|
|
2490
2446
|
|
|
@@ -2749,6 +2705,28 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
|
2749
2705
|
|
|
2750
2706
|
|
|
2751
2707
|
|
|
2708
|
+
}
|
|
2709
|
+
declare module BABYLON.NodeGeometryEditor {
|
|
2710
|
+
|
|
2711
|
+
|
|
2712
|
+
}
|
|
2713
|
+
declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
2714
|
+
export interface IDraggableLineWithButtonComponent {
|
|
2715
|
+
format: string;
|
|
2716
|
+
data: string;
|
|
2717
|
+
tooltip: string;
|
|
2718
|
+
iconImage: any;
|
|
2719
|
+
onIconClick: (value: string) => void;
|
|
2720
|
+
iconTitle: string;
|
|
2721
|
+
lenSuffixToRemove?: number;
|
|
2722
|
+
}
|
|
2723
|
+
export class DraggableLineWithButtonComponent extends React.Component<IDraggableLineWithButtonComponent> {
|
|
2724
|
+
constructor(props: IDraggableLineWithButtonComponent);
|
|
2725
|
+
render(): import("react/jsx-runtime").JSX.Element;
|
|
2726
|
+
}
|
|
2727
|
+
|
|
2728
|
+
|
|
2729
|
+
|
|
2752
2730
|
}
|
|
2753
2731
|
declare module BABYLON.NodeGeometryEditor {
|
|
2754
2732
|
|
|
@@ -2756,6 +2734,7 @@ declare module BABYLON.NodeGeometryEditor {
|
|
|
2756
2734
|
}
|
|
2757
2735
|
declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
2758
2736
|
export interface IButtonLineComponentProps {
|
|
2737
|
+
format: string;
|
|
2759
2738
|
data: string;
|
|
2760
2739
|
tooltip: string;
|
|
2761
2740
|
}
|