babylonjs-node-geometry-editor 7.53.1 → 7.53.3
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.
|
@@ -261,11 +261,12 @@ import { AggregatorBlock } from "babylonjs/Meshes/Node/Blocks/Set/aggregatorBloc
|
|
|
261
261
|
import { CleanGeometryBlock } from "babylonjs/Meshes/Node/Blocks/cleanGeometryBlock";
|
|
262
262
|
import { PointListBlock } from "babylonjs/Meshes/Node/Blocks/Sources/pointListBlock";
|
|
263
263
|
import { SubdivideBlock } from "babylonjs/Meshes/Node/Blocks/subdivideBlock";
|
|
264
|
+
import { GeometryEaseBlock } from "babylonjs/Meshes/Node/Blocks/geometryEaseBlock";
|
|
264
265
|
/**
|
|
265
266
|
* Static class for BlockTools
|
|
266
267
|
*/
|
|
267
268
|
export class BlockTools {
|
|
268
|
-
static GetBlockFromString(data: string): SubdivideBlock | PointListBlock | CleanGeometryBlock | AggregatorBlock | 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;
|
|
269
|
+
static GetBlockFromString(data: string): GeometryEaseBlock | SubdivideBlock | PointListBlock | CleanGeometryBlock | AggregatorBlock | 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;
|
|
269
270
|
static GetColorFromConnectionNodeType(type: NodeGeometryBlockConnectionPointTypes): string;
|
|
270
271
|
static GetConnectionNodeTypeFromString(type: string): NodeGeometryBlockConnectionPointTypes.Int | NodeGeometryBlockConnectionPointTypes.Float | NodeGeometryBlockConnectionPointTypes.Vector2 | NodeGeometryBlockConnectionPointTypes.Vector3 | NodeGeometryBlockConnectionPointTypes.Vector4 | NodeGeometryBlockConnectionPointTypes.Matrix | NodeGeometryBlockConnectionPointTypes.AutoDetect;
|
|
271
272
|
static GetStringFromConnectionNodeType(type: NodeGeometryBlockConnectionPointTypes): "" | "Int" | "Float" | "Vector2" | "Vector3" | "Vector4" | "Matrix";
|
|
@@ -1837,11 +1838,11 @@ export class GraphNode {
|
|
|
1837
1838
|
private _onUpdateRequiredObserver;
|
|
1838
1839
|
private _onHighlightNodeObserver;
|
|
1839
1840
|
private _ownerCanvas;
|
|
1840
|
-
private _isSelected;
|
|
1841
1841
|
private _displayManager;
|
|
1842
1842
|
private _isVisible;
|
|
1843
1843
|
private _enclosingFrameId;
|
|
1844
1844
|
private _visualPropertiesRefresh;
|
|
1845
|
+
private _lastClick;
|
|
1845
1846
|
addClassToVisual(className: string): void;
|
|
1846
1847
|
removeClassFromVisual(className: string): void;
|
|
1847
1848
|
get isCollapsed(): boolean;
|
|
@@ -1861,10 +1862,8 @@ export class GraphNode {
|
|
|
1861
1862
|
get height(): number;
|
|
1862
1863
|
get id(): number;
|
|
1863
1864
|
get name(): string;
|
|
1864
|
-
get isSelected(): boolean;
|
|
1865
1865
|
get enclosingFrameId(): number;
|
|
1866
1866
|
set enclosingFrameId(value: number);
|
|
1867
|
-
set isSelected(value: boolean);
|
|
1868
1867
|
setIsSelected(value: boolean, marqueeSelection: boolean): void;
|
|
1869
1868
|
get rootElement(): HTMLDivElement;
|
|
1870
1869
|
constructor(content: INodeData, stateManager: StateManager);
|
|
@@ -1876,10 +1875,11 @@ export class GraphNode {
|
|
|
1876
1875
|
private _refreshFrames;
|
|
1877
1876
|
_refreshLinks(): void;
|
|
1878
1877
|
refresh(): void;
|
|
1878
|
+
private _expand;
|
|
1879
|
+
private _searchMiddle;
|
|
1879
1880
|
private _onDown;
|
|
1880
1881
|
cleanAccumulation(useCeil?: boolean): void;
|
|
1881
1882
|
private _onUp;
|
|
1882
|
-
private _attach;
|
|
1883
1883
|
private _onMove;
|
|
1884
1884
|
renderProperties(): Nullable<JSX.Element>;
|
|
1885
1885
|
_forceRebuild(source: any, propertyName: string, notifiers?: IEditablePropertyOption["notifiers"]): void;
|
|
@@ -2103,6 +2103,8 @@ export class GraphCanvasComponent extends React.Component<IGraphCanvasComponentP
|
|
|
2103
2103
|
private _candidateLinkedHasMoved;
|
|
2104
2104
|
private _x;
|
|
2105
2105
|
private _y;
|
|
2106
|
+
private _lastx;
|
|
2107
|
+
private _lasty;
|
|
2106
2108
|
private _zoom;
|
|
2107
2109
|
private _selectedNodes;
|
|
2108
2110
|
private _selectedLink;
|
|
@@ -2116,6 +2118,7 @@ export class GraphCanvasComponent extends React.Component<IGraphCanvasComponentP
|
|
|
2116
2118
|
private _frames;
|
|
2117
2119
|
private _nodeDataContentList;
|
|
2118
2120
|
private _altKeyIsPressed;
|
|
2121
|
+
private _shiftKeyIsPressed;
|
|
2119
2122
|
private _multiKeyIsPressed;
|
|
2120
2123
|
private _oldY;
|
|
2121
2124
|
_frameIsMoving: boolean;
|
|
@@ -4587,7 +4590,7 @@ declare module BABYLON.NodeGeometryEditor {
|
|
|
4587
4590
|
* Static class for BlockTools
|
|
4588
4591
|
*/
|
|
4589
4592
|
export class BlockTools {
|
|
4590
|
-
static GetBlockFromString(data: string): BABYLON.SubdivideBlock | BABYLON.PointListBlock | BABYLON.CleanGeometryBlock | BABYLON.AggregatorBlock | 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;
|
|
4593
|
+
static GetBlockFromString(data: string): BABYLON.GeometryEaseBlock | BABYLON.SubdivideBlock | BABYLON.PointListBlock | BABYLON.CleanGeometryBlock | BABYLON.AggregatorBlock | 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;
|
|
4591
4594
|
static GetColorFromConnectionNodeType(type: BABYLON.NodeGeometryBlockConnectionPointTypes): string;
|
|
4592
4595
|
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;
|
|
4593
4596
|
static GetStringFromConnectionNodeType(type: BABYLON.NodeGeometryBlockConnectionPointTypes): "" | "Int" | "Float" | "Vector2" | "Vector3" | "Vector4" | "Matrix";
|
|
@@ -6042,11 +6045,11 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
|
6042
6045
|
private _onUpdateRequiredObserver;
|
|
6043
6046
|
private _onHighlightNodeObserver;
|
|
6044
6047
|
private _ownerCanvas;
|
|
6045
|
-
private _isSelected;
|
|
6046
6048
|
private _displayManager;
|
|
6047
6049
|
private _isVisible;
|
|
6048
6050
|
private _enclosingFrameId;
|
|
6049
6051
|
private _visualPropertiesRefresh;
|
|
6052
|
+
private _lastClick;
|
|
6050
6053
|
addClassToVisual(className: string): void;
|
|
6051
6054
|
removeClassFromVisual(className: string): void;
|
|
6052
6055
|
get isCollapsed(): boolean;
|
|
@@ -6066,10 +6069,8 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
|
6066
6069
|
get height(): number;
|
|
6067
6070
|
get id(): number;
|
|
6068
6071
|
get name(): string;
|
|
6069
|
-
get isSelected(): boolean;
|
|
6070
6072
|
get enclosingFrameId(): number;
|
|
6071
6073
|
set enclosingFrameId(value: number);
|
|
6072
|
-
set isSelected(value: boolean);
|
|
6073
6074
|
setIsSelected(value: boolean, marqueeSelection: boolean): void;
|
|
6074
6075
|
get rootElement(): HTMLDivElement;
|
|
6075
6076
|
constructor(content: BABYLON.NodeGeometryEditor.SharedUIComponents.INodeData, stateManager: BABYLON.NodeGeometryEditor.SharedUIComponents.StateManager);
|
|
@@ -6081,10 +6082,11 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
|
6081
6082
|
private _refreshFrames;
|
|
6082
6083
|
_refreshLinks(): void;
|
|
6083
6084
|
refresh(): void;
|
|
6085
|
+
private _expand;
|
|
6086
|
+
private _searchMiddle;
|
|
6084
6087
|
private _onDown;
|
|
6085
6088
|
cleanAccumulation(useCeil?: boolean): void;
|
|
6086
6089
|
private _onUp;
|
|
6087
|
-
private _attach;
|
|
6088
6090
|
private _onMove;
|
|
6089
6091
|
renderProperties(): BABYLON.Nullable<JSX.Element>;
|
|
6090
6092
|
_forceRebuild(source: any, propertyName: string, notifiers?: BABYLON.IEditablePropertyOption["notifiers"]): void;
|
|
@@ -6302,6 +6304,8 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
|
6302
6304
|
private _candidateLinkedHasMoved;
|
|
6303
6305
|
private _x;
|
|
6304
6306
|
private _y;
|
|
6307
|
+
private _lastx;
|
|
6308
|
+
private _lasty;
|
|
6305
6309
|
private _zoom;
|
|
6306
6310
|
private _selectedNodes;
|
|
6307
6311
|
private _selectedLink;
|
|
@@ -6315,6 +6319,7 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
|
6315
6319
|
private _frames;
|
|
6316
6320
|
private _nodeDataContentList;
|
|
6317
6321
|
private _altKeyIsPressed;
|
|
6322
|
+
private _shiftKeyIsPressed;
|
|
6318
6323
|
private _multiKeyIsPressed;
|
|
6319
6324
|
private _oldY;
|
|
6320
6325
|
_frameIsMoving: boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "babylonjs-node-geometry-editor",
|
|
3
|
-
"version": "7.53.
|
|
3
|
+
"version": "7.53.3",
|
|
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.53.
|
|
17
|
+
"babylonjs": "^7.53.3"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@dev/build-tools": "1.0.0",
|