babylonjs-node-geometry-editor 7.48.2 → 7.49.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.
@@ -145,7 +145,7 @@ declare module BABYLON.NodeGeometryEditor {
145
145
  * Static class for BlockTools
146
146
  */
147
147
  export class BlockTools {
148
- static GetBlockFromString(data: string): 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;
148
+ static GetBlockFromString(data: string): 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;
149
149
  static GetColorFromConnectionNodeType(type: BABYLON.NodeGeometryBlockConnectionPointTypes): string;
150
150
  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;
151
151
  static GetStringFromConnectionNodeType(type: BABYLON.NodeGeometryBlockConnectionPointTypes): "" | "Int" | "Float" | "Vector2" | "Vector3" | "Vector4" | "Matrix";
@@ -308,6 +308,14 @@ declare module BABYLON.NodeGeometryEditor {
308
308
  }
309
309
 
310
310
 
311
+ export class PointListPropertyTabComponent extends React.Component<BABYLON.NodeGeometryEditor.SharedUIComponents.IPropertyComponentProps> {
312
+ constructor(props: BABYLON.NodeGeometryEditor.SharedUIComponents.IPropertyComponentProps);
313
+ addPoint(): void;
314
+ removePoint(index: number): void;
315
+ render(): import("react/jsx-runtime").JSX.Element;
316
+ }
317
+
318
+
311
319
  export class OutputPropertyTabComponent extends React.Component<BABYLON.NodeGeometryEditor.SharedUIComponents.IPropertyComponentProps> {
312
320
  private _onUpdateRequiredObserver;
313
321
  constructor(props: BABYLON.NodeGeometryEditor.SharedUIComponents.IPropertyComponentProps);
@@ -2233,8 +2241,8 @@ declare module BABYLON.NodeGeometryEditor {
2233
2241
  declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
2234
2242
  interface IVector3LineComponentProps {
2235
2243
  label: string;
2236
- target: any;
2237
- propertyName: string;
2244
+ target?: any;
2245
+ propertyName?: string;
2238
2246
  step?: number;
2239
2247
  onChange?: (newvalue: BABYLON.Vector3) => void;
2240
2248
  useEuler?: boolean;
@@ -2243,6 +2251,8 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
2243
2251
  icon?: string;
2244
2252
  iconLabel?: string;
2245
2253
  lockObject: BABYLON.NodeGeometryEditor.SharedUIComponents.LockObject;
2254
+ directValue?: BABYLON.Vector3;
2255
+ additionalCommands?: JSX.Element[];
2246
2256
  }
2247
2257
  export class Vector3LineComponent extends React.Component<IVector3LineComponentProps, {
2248
2258
  isExpanded: boolean;