babylonjs-node-geometry-editor 7.27.3 → 7.29.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.
@@ -263,11 +263,12 @@ import { GeometryDotBlock } from "babylonjs/Meshes/Node/Blocks/geometryDotBlock"
263
263
  import { GeometryReplaceColorBlock } from "babylonjs/Meshes/Node/Blocks/geometryReplaceColorBlock";
264
264
  import { GeometryRotate2dBlock } from "babylonjs/Meshes/Node/Blocks/geometryRotate2dBlock";
265
265
  import { GeometryLengthBlock } from "babylonjs/Meshes/Node/Blocks/geometryLengthBlock";
266
+ import { GeometryInterceptorBlock } from "babylonjs/Meshes/Node/Blocks/geometryInterceptorBlock";
266
267
  /**
267
268
  * Static class for BlockTools
268
269
  */
269
270
  export class BlockTools {
270
- static GetBlockFromString(data: string): GeometryRotate2dBlock | GeometryLengthBlock | GeometryDistanceBlock | GeometryDotBlock | GeometryPosterizeBlock | GeometryReplaceColorBlock | GeometryDesaturateBlock | GeometryCurveBlock | GeometryCrossBlock | GeometryClampBlock | BooleanGeometryBlock | GeometryTextureFetchBlock | GeometryTextureBlock | BoundingBlock | MatrixComposeBlock | GeometryInfoBlock | GeometryCollectionBlock | GeometryOptimizeBlock | NullBlock | TeleportInBlock | TeleportOutBlock | DebugBlock | IntFloatConverterBlock | ConditionBlock | GeometryLerpBlock | GeometryNLerpBlock | GeometrySmoothStepBlock | GeometryStepBlock | MappingBlock | SetMaterialIDBlock | InstantiateOnVolumeBlock | InstantiateOnFacesBlock | InstantiateOnVerticesBlock | InstantiateBlock | MapRangeBlock | NormalizeVectorBlock | MeshBlock | VectorConverterBlock | TranslationBlock | ScalingBlock | AlignBlock | RotationXBlock | RotationYBlock | RotationZBlock | ComputeNormalsBlock | SetPositionsBlock | SetNormalsBlock | SetColorsBlock | SetTangentsBlock | SetUVsBlock | NoiseBlock | RandomBlock | GeometryOutputBlock | GridBlock | DiscBlock | IcoSphereBlock | BoxBlock | TorusBlock | SphereBlock | CylinderBlock | CapsuleBlock | PlaneBlock | GeometryElbowBlock | MergeGeometryBlock | GeometryTransformBlock | GeometryModBlock | GeometryPowBlock | GeometryInputBlock | MathBlock | GeometryTrigonometryBlock | GeometryArcTan2Block | InstantiateLinearBlock | InstantiateRadialBlock | null;
271
+ static GetBlockFromString(data: string): GeometryInterceptorBlock | GeometryRotate2dBlock | GeometryLengthBlock | GeometryDistanceBlock | GeometryDotBlock | GeometryPosterizeBlock | GeometryReplaceColorBlock | GeometryDesaturateBlock | GeometryCurveBlock | GeometryCrossBlock | GeometryClampBlock | BooleanGeometryBlock | GeometryTextureFetchBlock | GeometryTextureBlock | BoundingBlock | MatrixComposeBlock | GeometryInfoBlock | GeometryCollectionBlock | GeometryOptimizeBlock | NullBlock | TeleportInBlock | TeleportOutBlock | DebugBlock | IntFloatConverterBlock | ConditionBlock | GeometryLerpBlock | GeometryNLerpBlock | GeometrySmoothStepBlock | GeometryStepBlock | MappingBlock | SetMaterialIDBlock | InstantiateOnVolumeBlock | InstantiateOnFacesBlock | InstantiateOnVerticesBlock | InstantiateBlock | MapRangeBlock | NormalizeVectorBlock | MeshBlock | VectorConverterBlock | TranslationBlock | ScalingBlock | AlignBlock | RotationXBlock | RotationYBlock | RotationZBlock | ComputeNormalsBlock | SetPositionsBlock | SetNormalsBlock | SetColorsBlock | SetTangentsBlock | SetUVsBlock | NoiseBlock | RandomBlock | GeometryOutputBlock | GridBlock | DiscBlock | IcoSphereBlock | BoxBlock | TorusBlock | SphereBlock | CylinderBlock | CapsuleBlock | PlaneBlock | GeometryElbowBlock | MergeGeometryBlock | GeometryTransformBlock | GeometryModBlock | GeometryPowBlock | GeometryInputBlock | MathBlock | GeometryTrigonometryBlock | GeometryArcTan2Block | InstantiateLinearBlock | InstantiateRadialBlock | null;
271
272
  static GetColorFromConnectionNodeType(type: NodeGeometryBlockConnectionPointTypes): string;
272
273
  static GetConnectionNodeTypeFromString(type: string): NodeGeometryBlockConnectionPointTypes.Int | NodeGeometryBlockConnectionPointTypes.Float | NodeGeometryBlockConnectionPointTypes.Vector2 | NodeGeometryBlockConnectionPointTypes.Vector3 | NodeGeometryBlockConnectionPointTypes.Vector4 | NodeGeometryBlockConnectionPointTypes.Matrix | NodeGeometryBlockConnectionPointTypes.AutoDetect;
273
274
  static GetStringFromConnectionNodeType(type: NodeGeometryBlockConnectionPointTypes): "" | "Int" | "Float" | "Vector2" | "Vector3" | "Vector4" | "Matrix";
@@ -310,92 +311,6 @@ export class Popup {
310
311
  static _CopyStyles(sourceDoc: HTMLDocument, targetDoc: HTMLDocument): void;
311
312
  }
312
313
 
313
- }
314
- declare module "babylonjs-node-geometry-editor/sharedComponents/lineWithFileButtonComponent" {
315
- import * as React from "react";
316
- interface ILineWithFileButtonComponentProps {
317
- title: string;
318
- closed?: boolean;
319
- label: string;
320
- iconImage: any;
321
- onIconClick: (file: File) => void;
322
- accept: string;
323
- uploadName?: string;
324
- }
325
- export class LineWithFileButtonComponent extends React.Component<ILineWithFileButtonComponentProps, {
326
- isExpanded: boolean;
327
- }> {
328
- private _uploadRef;
329
- constructor(props: ILineWithFileButtonComponentProps);
330
- onChange(evt: any): void;
331
- switchExpandedState(): void;
332
-
333
- }
334
- export {};
335
-
336
- }
337
- declare module "babylonjs-node-geometry-editor/sharedComponents/lineContainerComponent" {
338
- import * as React from "react";
339
- interface ILineContainerComponentProps {
340
- title: string;
341
- children: any[] | any;
342
- closed?: boolean;
343
- }
344
- export class LineContainerComponent extends React.Component<ILineContainerComponentProps, {
345
- isExpanded: boolean;
346
- }> {
347
- constructor(props: ILineContainerComponentProps);
348
- switchExpandedState(): void;
349
-
350
-
351
- }
352
- export {};
353
-
354
- }
355
- declare module "babylonjs-node-geometry-editor/sharedComponents/fileButtonLineComponent" {
356
- import * as React from "react";
357
- interface IFileButtonLineComponentProps {
358
- label: string;
359
- onClick: (file: File) => void;
360
- accept: string;
361
- uploadName?: string;
362
- }
363
- export class FileButtonLineComponent extends React.Component<IFileButtonLineComponentProps> {
364
- private _uploadRef;
365
- constructor(props: IFileButtonLineComponentProps);
366
- onChange(evt: any): void;
367
-
368
- }
369
- export {};
370
-
371
- }
372
- declare module "babylonjs-node-geometry-editor/sharedComponents/draggableLineWithButtonComponent" {
373
- import * as React from "react";
374
- export interface IDraggableLineWithButtonComponent {
375
- data: string;
376
- tooltip: string;
377
- iconImage: any;
378
- onIconClick: (value: string) => void;
379
- iconTitle: string;
380
- lenSuffixToRemove?: number;
381
- }
382
- export class DraggableLineWithButtonComponent extends React.Component<IDraggableLineWithButtonComponent> {
383
- constructor(props: IDraggableLineWithButtonComponent);
384
-
385
- }
386
-
387
- }
388
- declare module "babylonjs-node-geometry-editor/sharedComponents/draggableLineComponent" {
389
- import * as React from "react";
390
- export interface IButtonLineComponentProps {
391
- data: string;
392
- tooltip: string;
393
- }
394
- export class DraggableLineComponent extends React.Component<IButtonLineComponentProps> {
395
- constructor(props: IButtonLineComponentProps);
396
-
397
- }
398
-
399
314
  }
400
315
  declare module "babylonjs-node-geometry-editor/sharedComponents/checkBoxLineComponent" {
401
316
  import * as React from "react";
@@ -2686,6 +2601,30 @@ export class LinkButtonComponent extends React.Component<ILinkButtonComponentPro
2686
2601
  }
2687
2602
  export {};
2688
2603
 
2604
+ }
2605
+ declare module "babylonjs-node-geometry-editor/lines/lineWithFileButtonComponent" {
2606
+ import * as React from "react";
2607
+ interface ILineWithFileButtonComponentProps {
2608
+ title: string;
2609
+ closed?: boolean;
2610
+ multiple?: boolean;
2611
+ label: string;
2612
+ iconImage: any;
2613
+ onIconClick: (file: File) => void;
2614
+ accept: string;
2615
+ uploadName?: string;
2616
+ }
2617
+ export class LineWithFileButtonComponent extends React.Component<ILineWithFileButtonComponentProps, {
2618
+ isExpanded: boolean;
2619
+ }> {
2620
+ private _uploadRef;
2621
+ constructor(props: ILineWithFileButtonComponentProps);
2622
+ onChange(evt: any): void;
2623
+ switchExpandedState(): void;
2624
+
2625
+ }
2626
+ export {};
2627
+
2689
2628
  }
2690
2629
  declare module "babylonjs-node-geometry-editor/lines/lineContainerComponent" {
2691
2630
  import * as React from "react";
@@ -2914,10 +2853,28 @@ export class FileButtonLine extends React.Component<IFileButtonLineProps> {
2914
2853
  }
2915
2854
  export {};
2916
2855
 
2856
+ }
2857
+ declare module "babylonjs-node-geometry-editor/lines/draggableLineWithButtonComponent" {
2858
+ import * as React from "react";
2859
+ export interface IDraggableLineWithButtonComponent {
2860
+ format: string;
2861
+ data: string;
2862
+ tooltip: string;
2863
+ iconImage: any;
2864
+ onIconClick: (value: string) => void;
2865
+ iconTitle: string;
2866
+ lenSuffixToRemove?: number;
2867
+ }
2868
+ export class DraggableLineWithButtonComponent extends React.Component<IDraggableLineWithButtonComponent> {
2869
+ constructor(props: IDraggableLineWithButtonComponent);
2870
+
2871
+ }
2872
+
2917
2873
  }
2918
2874
  declare module "babylonjs-node-geometry-editor/lines/draggableLineComponent" {
2919
2875
  import * as React from "react";
2920
2876
  export interface IButtonLineComponentProps {
2877
+ format: string;
2921
2878
  data: string;
2922
2879
  tooltip: string;
2923
2880
  }
@@ -4373,7 +4330,7 @@ declare module BABYLON.NodeGeometryEditor {
4373
4330
  * Static class for BlockTools
4374
4331
  */
4375
4332
  export class BlockTools {
4376
- static GetBlockFromString(data: string): 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;
4333
+ 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;
4377
4334
  static GetColorFromConnectionNodeType(type: BABYLON.NodeGeometryBlockConnectionPointTypes): string;
4378
4335
  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;
4379
4336
  static GetStringFromConnectionNodeType(type: BABYLON.NodeGeometryBlockConnectionPointTypes): "" | "Int" | "Float" | "Vector2" | "Vector3" | "Vector4" | "Matrix";
@@ -4412,79 +4369,6 @@ declare module BABYLON.NodeGeometryEditor {
4412
4369
  }
4413
4370
 
4414
4371
 
4415
- interface ILineWithFileButtonComponentProps {
4416
- title: string;
4417
- closed?: boolean;
4418
- label: string;
4419
- iconImage: any;
4420
- onIconClick: (file: File) => void;
4421
- accept: string;
4422
- uploadName?: string;
4423
- }
4424
- export class LineWithFileButtonComponent extends React.Component<ILineWithFileButtonComponentProps, {
4425
- isExpanded: boolean;
4426
- }> {
4427
- private _uploadRef;
4428
- constructor(props: ILineWithFileButtonComponentProps);
4429
- onChange(evt: any): void;
4430
- switchExpandedState(): void;
4431
- render(): import("react/jsx-runtime").JSX.Element;
4432
- }
4433
-
4434
-
4435
- interface ILineContainerComponentProps {
4436
- title: string;
4437
- children: any[] | any;
4438
- closed?: boolean;
4439
- }
4440
- export class LineContainerComponent extends React.Component<ILineContainerComponentProps, {
4441
- isExpanded: boolean;
4442
- }> {
4443
- constructor(props: ILineContainerComponentProps);
4444
- switchExpandedState(): void;
4445
- renderHeader(): import("react/jsx-runtime").JSX.Element;
4446
- render(): import("react/jsx-runtime").JSX.Element;
4447
- }
4448
-
4449
-
4450
- interface IFileButtonLineComponentProps {
4451
- label: string;
4452
- onClick: (file: File) => void;
4453
- accept: string;
4454
- uploadName?: string;
4455
- }
4456
- export class FileButtonLineComponent extends React.Component<IFileButtonLineComponentProps> {
4457
- private _uploadRef;
4458
- constructor(props: IFileButtonLineComponentProps);
4459
- onChange(evt: any): void;
4460
- render(): import("react/jsx-runtime").JSX.Element;
4461
- }
4462
-
4463
-
4464
- export interface IDraggableLineWithButtonComponent {
4465
- data: string;
4466
- tooltip: string;
4467
- iconImage: any;
4468
- onIconClick: (value: string) => void;
4469
- iconTitle: string;
4470
- lenSuffixToRemove?: number;
4471
- }
4472
- export class DraggableLineWithButtonComponent extends React.Component<IDraggableLineWithButtonComponent> {
4473
- constructor(props: IDraggableLineWithButtonComponent);
4474
- render(): import("react/jsx-runtime").JSX.Element;
4475
- }
4476
-
4477
-
4478
- export interface IButtonLineComponentProps {
4479
- data: string;
4480
- tooltip: string;
4481
- }
4482
- export class DraggableLineComponent extends React.Component<IButtonLineComponentProps> {
4483
- constructor(props: IButtonLineComponentProps);
4484
- render(): import("react/jsx-runtime").JSX.Element;
4485
- }
4486
-
4487
-
4488
4372
  export interface ICheckBoxLineComponentProps {
4489
4373
  label: string;
4490
4374
  target?: any;
@@ -6705,6 +6589,34 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
6705
6589
 
6706
6590
 
6707
6591
 
6592
+ }
6593
+ declare module BABYLON.NodeGeometryEditor {
6594
+
6595
+
6596
+ }
6597
+ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
6598
+ interface ILineWithFileButtonComponentProps {
6599
+ title: string;
6600
+ closed?: boolean;
6601
+ multiple?: boolean;
6602
+ label: string;
6603
+ iconImage: any;
6604
+ onIconClick: (file: File) => void;
6605
+ accept: string;
6606
+ uploadName?: string;
6607
+ }
6608
+ export class LineWithFileButtonComponent extends React.Component<ILineWithFileButtonComponentProps, {
6609
+ isExpanded: boolean;
6610
+ }> {
6611
+ private _uploadRef;
6612
+ constructor(props: ILineWithFileButtonComponentProps);
6613
+ onChange(evt: any): void;
6614
+ switchExpandedState(): void;
6615
+ render(): import("react/jsx-runtime").JSX.Element;
6616
+ }
6617
+
6618
+
6619
+
6708
6620
  }
6709
6621
  declare module BABYLON.NodeGeometryEditor {
6710
6622
 
@@ -6969,6 +6881,28 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
6969
6881
 
6970
6882
 
6971
6883
 
6884
+ }
6885
+ declare module BABYLON.NodeGeometryEditor {
6886
+
6887
+
6888
+ }
6889
+ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
6890
+ export interface IDraggableLineWithButtonComponent {
6891
+ format: string;
6892
+ data: string;
6893
+ tooltip: string;
6894
+ iconImage: any;
6895
+ onIconClick: (value: string) => void;
6896
+ iconTitle: string;
6897
+ lenSuffixToRemove?: number;
6898
+ }
6899
+ export class DraggableLineWithButtonComponent extends React.Component<IDraggableLineWithButtonComponent> {
6900
+ constructor(props: IDraggableLineWithButtonComponent);
6901
+ render(): import("react/jsx-runtime").JSX.Element;
6902
+ }
6903
+
6904
+
6905
+
6972
6906
  }
6973
6907
  declare module BABYLON.NodeGeometryEditor {
6974
6908
 
@@ -6976,6 +6910,7 @@ declare module BABYLON.NodeGeometryEditor {
6976
6910
  }
6977
6911
  declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
6978
6912
  export interface IButtonLineComponentProps {
6913
+ format: string;
6979
6914
  data: string;
6980
6915
  tooltip: string;
6981
6916
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "babylonjs-node-geometry-editor",
3
- "version": "7.27.3",
3
+ "version": "7.29.0",
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.27.3"
17
+ "babylonjs": "^7.29.0"
18
18
  },
19
19
  "devDependencies": {
20
20
  "@dev/build-tools": "1.0.0",