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.
|
@@ -264,11 +264,12 @@ import { GeometryReplaceColorBlock } from "babylonjs/Meshes/Node/Blocks/geometry
|
|
|
264
264
|
import { GeometryRotate2dBlock } from "babylonjs/Meshes/Node/Blocks/geometryRotate2dBlock";
|
|
265
265
|
import { GeometryLengthBlock } from "babylonjs/Meshes/Node/Blocks/geometryLengthBlock";
|
|
266
266
|
import { GeometryInterceptorBlock } from "babylonjs/Meshes/Node/Blocks/geometryInterceptorBlock";
|
|
267
|
+
import { LatticeBlock } from "babylonjs/Meshes/Node/Blocks/Set/latticeBlock";
|
|
267
268
|
/**
|
|
268
269
|
* Static class for BlockTools
|
|
269
270
|
*/
|
|
270
271
|
export class BlockTools {
|
|
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;
|
|
272
|
+
static GetBlockFromString(data: string): LatticeBlock | 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;
|
|
272
273
|
static GetColorFromConnectionNodeType(type: NodeGeometryBlockConnectionPointTypes): string;
|
|
273
274
|
static GetConnectionNodeTypeFromString(type: string): NodeGeometryBlockConnectionPointTypes.Int | NodeGeometryBlockConnectionPointTypes.Float | NodeGeometryBlockConnectionPointTypes.Vector2 | NodeGeometryBlockConnectionPointTypes.Vector3 | NodeGeometryBlockConnectionPointTypes.Vector4 | NodeGeometryBlockConnectionPointTypes.Matrix | NodeGeometryBlockConnectionPointTypes.AutoDetect;
|
|
274
275
|
static GetStringFromConnectionNodeType(type: NodeGeometryBlockConnectionPointTypes): "" | "Int" | "Float" | "Vector2" | "Vector3" | "Vector4" | "Matrix";
|
|
@@ -311,92 +312,6 @@ export class Popup {
|
|
|
311
312
|
static _CopyStyles(sourceDoc: HTMLDocument, targetDoc: HTMLDocument): void;
|
|
312
313
|
}
|
|
313
314
|
|
|
314
|
-
}
|
|
315
|
-
declare module "babylonjs-node-geometry-editor/sharedComponents/lineWithFileButtonComponent" {
|
|
316
|
-
import * as React from "react";
|
|
317
|
-
interface ILineWithFileButtonComponentProps {
|
|
318
|
-
title: string;
|
|
319
|
-
closed?: boolean;
|
|
320
|
-
label: string;
|
|
321
|
-
iconImage: any;
|
|
322
|
-
onIconClick: (file: File) => void;
|
|
323
|
-
accept: string;
|
|
324
|
-
uploadName?: string;
|
|
325
|
-
}
|
|
326
|
-
export class LineWithFileButtonComponent extends React.Component<ILineWithFileButtonComponentProps, {
|
|
327
|
-
isExpanded: boolean;
|
|
328
|
-
}> {
|
|
329
|
-
private _uploadRef;
|
|
330
|
-
constructor(props: ILineWithFileButtonComponentProps);
|
|
331
|
-
onChange(evt: any): void;
|
|
332
|
-
switchExpandedState(): void;
|
|
333
|
-
|
|
334
|
-
}
|
|
335
|
-
export {};
|
|
336
|
-
|
|
337
|
-
}
|
|
338
|
-
declare module "babylonjs-node-geometry-editor/sharedComponents/lineContainerComponent" {
|
|
339
|
-
import * as React from "react";
|
|
340
|
-
interface ILineContainerComponentProps {
|
|
341
|
-
title: string;
|
|
342
|
-
children: any[] | any;
|
|
343
|
-
closed?: boolean;
|
|
344
|
-
}
|
|
345
|
-
export class LineContainerComponent extends React.Component<ILineContainerComponentProps, {
|
|
346
|
-
isExpanded: boolean;
|
|
347
|
-
}> {
|
|
348
|
-
constructor(props: ILineContainerComponentProps);
|
|
349
|
-
switchExpandedState(): void;
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
}
|
|
353
|
-
export {};
|
|
354
|
-
|
|
355
|
-
}
|
|
356
|
-
declare module "babylonjs-node-geometry-editor/sharedComponents/fileButtonLineComponent" {
|
|
357
|
-
import * as React from "react";
|
|
358
|
-
interface IFileButtonLineComponentProps {
|
|
359
|
-
label: string;
|
|
360
|
-
onClick: (file: File) => void;
|
|
361
|
-
accept: string;
|
|
362
|
-
uploadName?: string;
|
|
363
|
-
}
|
|
364
|
-
export class FileButtonLineComponent extends React.Component<IFileButtonLineComponentProps> {
|
|
365
|
-
private _uploadRef;
|
|
366
|
-
constructor(props: IFileButtonLineComponentProps);
|
|
367
|
-
onChange(evt: any): void;
|
|
368
|
-
|
|
369
|
-
}
|
|
370
|
-
export {};
|
|
371
|
-
|
|
372
|
-
}
|
|
373
|
-
declare module "babylonjs-node-geometry-editor/sharedComponents/draggableLineWithButtonComponent" {
|
|
374
|
-
import * as React from "react";
|
|
375
|
-
export interface IDraggableLineWithButtonComponent {
|
|
376
|
-
data: string;
|
|
377
|
-
tooltip: string;
|
|
378
|
-
iconImage: any;
|
|
379
|
-
onIconClick: (value: string) => void;
|
|
380
|
-
iconTitle: string;
|
|
381
|
-
lenSuffixToRemove?: number;
|
|
382
|
-
}
|
|
383
|
-
export class DraggableLineWithButtonComponent extends React.Component<IDraggableLineWithButtonComponent> {
|
|
384
|
-
constructor(props: IDraggableLineWithButtonComponent);
|
|
385
|
-
|
|
386
|
-
}
|
|
387
|
-
|
|
388
|
-
}
|
|
389
|
-
declare module "babylonjs-node-geometry-editor/sharedComponents/draggableLineComponent" {
|
|
390
|
-
import * as React from "react";
|
|
391
|
-
export interface IButtonLineComponentProps {
|
|
392
|
-
data: string;
|
|
393
|
-
tooltip: string;
|
|
394
|
-
}
|
|
395
|
-
export class DraggableLineComponent extends React.Component<IButtonLineComponentProps> {
|
|
396
|
-
constructor(props: IButtonLineComponentProps);
|
|
397
|
-
|
|
398
|
-
}
|
|
399
|
-
|
|
400
315
|
}
|
|
401
316
|
declare module "babylonjs-node-geometry-editor/sharedComponents/checkBoxLineComponent" {
|
|
402
317
|
import * as React from "react";
|
|
@@ -987,6 +902,7 @@ export class PreviewManager {
|
|
|
987
902
|
private _matStd;
|
|
988
903
|
private _matNME;
|
|
989
904
|
private _matVertexColor;
|
|
905
|
+
private _axis;
|
|
990
906
|
constructor(targetCanvas: HTMLCanvasElement, globalState: GlobalState);
|
|
991
907
|
private _updateStandardMaterial;
|
|
992
908
|
private _handleAnimations;
|
|
@@ -2687,6 +2603,30 @@ export class LinkButtonComponent extends React.Component<ILinkButtonComponentPro
|
|
|
2687
2603
|
}
|
|
2688
2604
|
export {};
|
|
2689
2605
|
|
|
2606
|
+
}
|
|
2607
|
+
declare module "babylonjs-node-geometry-editor/lines/lineWithFileButtonComponent" {
|
|
2608
|
+
import * as React from "react";
|
|
2609
|
+
interface ILineWithFileButtonComponentProps {
|
|
2610
|
+
title: string;
|
|
2611
|
+
closed?: boolean;
|
|
2612
|
+
multiple?: boolean;
|
|
2613
|
+
label: string;
|
|
2614
|
+
iconImage: any;
|
|
2615
|
+
onIconClick: (file: File) => void;
|
|
2616
|
+
accept: string;
|
|
2617
|
+
uploadName?: string;
|
|
2618
|
+
}
|
|
2619
|
+
export class LineWithFileButtonComponent extends React.Component<ILineWithFileButtonComponentProps, {
|
|
2620
|
+
isExpanded: boolean;
|
|
2621
|
+
}> {
|
|
2622
|
+
private _uploadRef;
|
|
2623
|
+
constructor(props: ILineWithFileButtonComponentProps);
|
|
2624
|
+
onChange(evt: any): void;
|
|
2625
|
+
switchExpandedState(): void;
|
|
2626
|
+
|
|
2627
|
+
}
|
|
2628
|
+
export {};
|
|
2629
|
+
|
|
2690
2630
|
}
|
|
2691
2631
|
declare module "babylonjs-node-geometry-editor/lines/lineContainerComponent" {
|
|
2692
2632
|
import * as React from "react";
|
|
@@ -2915,10 +2855,28 @@ export class FileButtonLine extends React.Component<IFileButtonLineProps> {
|
|
|
2915
2855
|
}
|
|
2916
2856
|
export {};
|
|
2917
2857
|
|
|
2858
|
+
}
|
|
2859
|
+
declare module "babylonjs-node-geometry-editor/lines/draggableLineWithButtonComponent" {
|
|
2860
|
+
import * as React from "react";
|
|
2861
|
+
export interface IDraggableLineWithButtonComponent {
|
|
2862
|
+
format: string;
|
|
2863
|
+
data: string;
|
|
2864
|
+
tooltip: string;
|
|
2865
|
+
iconImage: any;
|
|
2866
|
+
onIconClick: (value: string) => void;
|
|
2867
|
+
iconTitle: string;
|
|
2868
|
+
lenSuffixToRemove?: number;
|
|
2869
|
+
}
|
|
2870
|
+
export class DraggableLineWithButtonComponent extends React.Component<IDraggableLineWithButtonComponent> {
|
|
2871
|
+
constructor(props: IDraggableLineWithButtonComponent);
|
|
2872
|
+
|
|
2873
|
+
}
|
|
2874
|
+
|
|
2918
2875
|
}
|
|
2919
2876
|
declare module "babylonjs-node-geometry-editor/lines/draggableLineComponent" {
|
|
2920
2877
|
import * as React from "react";
|
|
2921
2878
|
export interface IButtonLineComponentProps {
|
|
2879
|
+
format: string;
|
|
2922
2880
|
data: string;
|
|
2923
2881
|
tooltip: string;
|
|
2924
2882
|
}
|
|
@@ -4374,7 +4332,7 @@ declare module BABYLON.NodeGeometryEditor {
|
|
|
4374
4332
|
* Static class for BlockTools
|
|
4375
4333
|
*/
|
|
4376
4334
|
export class BlockTools {
|
|
4377
|
-
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;
|
|
4335
|
+
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;
|
|
4378
4336
|
static GetColorFromConnectionNodeType(type: BABYLON.NodeGeometryBlockConnectionPointTypes): string;
|
|
4379
4337
|
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;
|
|
4380
4338
|
static GetStringFromConnectionNodeType(type: BABYLON.NodeGeometryBlockConnectionPointTypes): "" | "Int" | "Float" | "Vector2" | "Vector3" | "Vector4" | "Matrix";
|
|
@@ -4413,79 +4371,6 @@ declare module BABYLON.NodeGeometryEditor {
|
|
|
4413
4371
|
}
|
|
4414
4372
|
|
|
4415
4373
|
|
|
4416
|
-
interface ILineWithFileButtonComponentProps {
|
|
4417
|
-
title: string;
|
|
4418
|
-
closed?: boolean;
|
|
4419
|
-
label: string;
|
|
4420
|
-
iconImage: any;
|
|
4421
|
-
onIconClick: (file: File) => void;
|
|
4422
|
-
accept: string;
|
|
4423
|
-
uploadName?: string;
|
|
4424
|
-
}
|
|
4425
|
-
export class LineWithFileButtonComponent extends React.Component<ILineWithFileButtonComponentProps, {
|
|
4426
|
-
isExpanded: boolean;
|
|
4427
|
-
}> {
|
|
4428
|
-
private _uploadRef;
|
|
4429
|
-
constructor(props: ILineWithFileButtonComponentProps);
|
|
4430
|
-
onChange(evt: any): void;
|
|
4431
|
-
switchExpandedState(): void;
|
|
4432
|
-
render(): import("react/jsx-runtime").JSX.Element;
|
|
4433
|
-
}
|
|
4434
|
-
|
|
4435
|
-
|
|
4436
|
-
interface ILineContainerComponentProps {
|
|
4437
|
-
title: string;
|
|
4438
|
-
children: any[] | any;
|
|
4439
|
-
closed?: boolean;
|
|
4440
|
-
}
|
|
4441
|
-
export class LineContainerComponent extends React.Component<ILineContainerComponentProps, {
|
|
4442
|
-
isExpanded: boolean;
|
|
4443
|
-
}> {
|
|
4444
|
-
constructor(props: ILineContainerComponentProps);
|
|
4445
|
-
switchExpandedState(): void;
|
|
4446
|
-
renderHeader(): import("react/jsx-runtime").JSX.Element;
|
|
4447
|
-
render(): import("react/jsx-runtime").JSX.Element;
|
|
4448
|
-
}
|
|
4449
|
-
|
|
4450
|
-
|
|
4451
|
-
interface IFileButtonLineComponentProps {
|
|
4452
|
-
label: string;
|
|
4453
|
-
onClick: (file: File) => void;
|
|
4454
|
-
accept: string;
|
|
4455
|
-
uploadName?: string;
|
|
4456
|
-
}
|
|
4457
|
-
export class FileButtonLineComponent extends React.Component<IFileButtonLineComponentProps> {
|
|
4458
|
-
private _uploadRef;
|
|
4459
|
-
constructor(props: IFileButtonLineComponentProps);
|
|
4460
|
-
onChange(evt: any): void;
|
|
4461
|
-
render(): import("react/jsx-runtime").JSX.Element;
|
|
4462
|
-
}
|
|
4463
|
-
|
|
4464
|
-
|
|
4465
|
-
export interface IDraggableLineWithButtonComponent {
|
|
4466
|
-
data: string;
|
|
4467
|
-
tooltip: string;
|
|
4468
|
-
iconImage: any;
|
|
4469
|
-
onIconClick: (value: string) => void;
|
|
4470
|
-
iconTitle: string;
|
|
4471
|
-
lenSuffixToRemove?: number;
|
|
4472
|
-
}
|
|
4473
|
-
export class DraggableLineWithButtonComponent extends React.Component<IDraggableLineWithButtonComponent> {
|
|
4474
|
-
constructor(props: IDraggableLineWithButtonComponent);
|
|
4475
|
-
render(): import("react/jsx-runtime").JSX.Element;
|
|
4476
|
-
}
|
|
4477
|
-
|
|
4478
|
-
|
|
4479
|
-
export interface IButtonLineComponentProps {
|
|
4480
|
-
data: string;
|
|
4481
|
-
tooltip: string;
|
|
4482
|
-
}
|
|
4483
|
-
export class DraggableLineComponent extends React.Component<IButtonLineComponentProps> {
|
|
4484
|
-
constructor(props: IButtonLineComponentProps);
|
|
4485
|
-
render(): import("react/jsx-runtime").JSX.Element;
|
|
4486
|
-
}
|
|
4487
|
-
|
|
4488
|
-
|
|
4489
4374
|
export interface ICheckBoxLineComponentProps {
|
|
4490
4375
|
label: string;
|
|
4491
4376
|
target?: any;
|
|
@@ -4921,6 +4806,7 @@ declare module BABYLON.NodeGeometryEditor {
|
|
|
4921
4806
|
private _matStd;
|
|
4922
4807
|
private _matNME;
|
|
4923
4808
|
private _matVertexColor;
|
|
4809
|
+
private _axis;
|
|
4924
4810
|
constructor(targetCanvas: HTMLCanvasElement, globalState: GlobalState);
|
|
4925
4811
|
private _updateStandardMaterial;
|
|
4926
4812
|
private _handleAnimations;
|
|
@@ -6706,6 +6592,34 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
|
6706
6592
|
|
|
6707
6593
|
|
|
6708
6594
|
|
|
6595
|
+
}
|
|
6596
|
+
declare module BABYLON.NodeGeometryEditor {
|
|
6597
|
+
|
|
6598
|
+
|
|
6599
|
+
}
|
|
6600
|
+
declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
6601
|
+
interface ILineWithFileButtonComponentProps {
|
|
6602
|
+
title: string;
|
|
6603
|
+
closed?: boolean;
|
|
6604
|
+
multiple?: boolean;
|
|
6605
|
+
label: string;
|
|
6606
|
+
iconImage: any;
|
|
6607
|
+
onIconClick: (file: File) => void;
|
|
6608
|
+
accept: string;
|
|
6609
|
+
uploadName?: string;
|
|
6610
|
+
}
|
|
6611
|
+
export class LineWithFileButtonComponent extends React.Component<ILineWithFileButtonComponentProps, {
|
|
6612
|
+
isExpanded: boolean;
|
|
6613
|
+
}> {
|
|
6614
|
+
private _uploadRef;
|
|
6615
|
+
constructor(props: ILineWithFileButtonComponentProps);
|
|
6616
|
+
onChange(evt: any): void;
|
|
6617
|
+
switchExpandedState(): void;
|
|
6618
|
+
render(): import("react/jsx-runtime").JSX.Element;
|
|
6619
|
+
}
|
|
6620
|
+
|
|
6621
|
+
|
|
6622
|
+
|
|
6709
6623
|
}
|
|
6710
6624
|
declare module BABYLON.NodeGeometryEditor {
|
|
6711
6625
|
|
|
@@ -6970,6 +6884,28 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
|
6970
6884
|
|
|
6971
6885
|
|
|
6972
6886
|
|
|
6887
|
+
}
|
|
6888
|
+
declare module BABYLON.NodeGeometryEditor {
|
|
6889
|
+
|
|
6890
|
+
|
|
6891
|
+
}
|
|
6892
|
+
declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
6893
|
+
export interface IDraggableLineWithButtonComponent {
|
|
6894
|
+
format: string;
|
|
6895
|
+
data: string;
|
|
6896
|
+
tooltip: string;
|
|
6897
|
+
iconImage: any;
|
|
6898
|
+
onIconClick: (value: string) => void;
|
|
6899
|
+
iconTitle: string;
|
|
6900
|
+
lenSuffixToRemove?: number;
|
|
6901
|
+
}
|
|
6902
|
+
export class DraggableLineWithButtonComponent extends React.Component<IDraggableLineWithButtonComponent> {
|
|
6903
|
+
constructor(props: IDraggableLineWithButtonComponent);
|
|
6904
|
+
render(): import("react/jsx-runtime").JSX.Element;
|
|
6905
|
+
}
|
|
6906
|
+
|
|
6907
|
+
|
|
6908
|
+
|
|
6973
6909
|
}
|
|
6974
6910
|
declare module BABYLON.NodeGeometryEditor {
|
|
6975
6911
|
|
|
@@ -6977,6 +6913,7 @@ declare module BABYLON.NodeGeometryEditor {
|
|
|
6977
6913
|
}
|
|
6978
6914
|
declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
6979
6915
|
export interface IButtonLineComponentProps {
|
|
6916
|
+
format: string;
|
|
6980
6917
|
data: string;
|
|
6981
6918
|
tooltip: string;
|
|
6982
6919
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "babylonjs-node-geometry-editor",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.30.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.
|
|
17
|
+
"babylonjs": "^7.30.0"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@dev/build-tools": "1.0.0",
|