babylonjs-node-editor 6.15.0 → 6.16.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.
@@ -95,8 +95,10 @@ import { TriPlanarBlock } from "babylonjs/Materials/Node/Blocks/triPlanarBlock";
95
95
  import { MatrixDeterminantBlock } from "babylonjs/Materials/Node/Blocks/matrixDeterminantBlock";
96
96
  import { MatrixTransposeBlock } from "babylonjs/Materials/Node/Blocks/matrixTransposeBlock";
97
97
  import { CurveBlock } from "babylonjs/Materials/Node/Blocks/curveBlock";
98
+ import { NodeMaterialTeleportInBlock } from "babylonjs/Materials/Node/Blocks/Teleport/teleportInBlock";
99
+ import { NodeMaterialTeleportOutBlock } from "babylonjs/Materials/Node/Blocks/Teleport/teleportOutBlock";
98
100
  export class BlockTools {
99
- static GetBlockFromString(data: string, scene: Scene, nodeMaterial: NodeMaterial): HeightToNormalBlock | ElbowBlock | TwirlBlock | VoronoiNoiseBlock | ScreenSpaceBlock | CloudBlock | MatrixBuilderBlock | DesaturateBlock | RefractBlock | ReflectBlock | DerivativeBlock | Rotate2dBlock | NormalBlendBlock | WorleyNoise3DBlock | SimplexPerlin3DBlock | BonesBlock | InstancesBlock | MorphTargetsBlock | DiscardBlock | ImageProcessingBlock | ColorMergerBlock | VectorMergerBlock | ColorSplitterBlock | VectorSplitterBlock | TextureBlock | ReflectionTextureBlock | LightBlock | FogBlock | VertexOutputBlock | FragmentOutputBlock | AddBlock | ClampBlock | ScaleBlock | CrossBlock | DotBlock | PowBlock | MultiplyBlock | TransformBlock | TrigonometryBlock | RemapBlock | NormalizeBlock | FresnelBlock | LerpBlock | NLerpBlock | DivideBlock | SubtractBlock | ModBlock | StepBlock | SmoothStepBlock | OneMinusBlock | ReciprocalBlock | ViewDirectionBlock | LightInformationBlock | MaxBlock | MinBlock | LengthBlock | DistanceBlock | NegateBlock | PerturbNormalBlock | TBNBlock | RandomNumberBlock | ReplaceColorBlock | PosterizeBlock | ArcTan2Block | GradientBlock | FrontFacingBlock | MeshAttributeExistsBlock | WaveBlock | InputBlock | PBRMetallicRoughnessBlock | SheenBlock | AnisotropyBlock | ReflectionBlock | ClearCoatBlock | RefractionBlock | SubSurfaceBlock | CurrentScreenBlock | ParticleTextureBlock | ParticleRampGradientBlock | ParticleBlendMultiplyBlock | FragCoordBlock | ScreenSizeBlock | SceneDepthBlock | ConditionalBlock | ImageSourceBlock | ClipPlanesBlock | FragDepthBlock | ShadowMapBlock | TriPlanarBlock | MatrixTransposeBlock | MatrixDeterminantBlock | CurveBlock | null;
101
+ static GetBlockFromString(data: string, scene: Scene, nodeMaterial: NodeMaterial): NodeMaterialTeleportInBlock | NodeMaterialTeleportOutBlock | HeightToNormalBlock | ElbowBlock | TwirlBlock | VoronoiNoiseBlock | ScreenSpaceBlock | CloudBlock | MatrixBuilderBlock | DesaturateBlock | RefractBlock | ReflectBlock | DerivativeBlock | Rotate2dBlock | NormalBlendBlock | WorleyNoise3DBlock | SimplexPerlin3DBlock | BonesBlock | InstancesBlock | MorphTargetsBlock | DiscardBlock | ImageProcessingBlock | ColorMergerBlock | VectorMergerBlock | ColorSplitterBlock | VectorSplitterBlock | TextureBlock | ReflectionTextureBlock | LightBlock | FogBlock | VertexOutputBlock | FragmentOutputBlock | AddBlock | ClampBlock | ScaleBlock | CrossBlock | DotBlock | PowBlock | MultiplyBlock | TransformBlock | TrigonometryBlock | RemapBlock | NormalizeBlock | FresnelBlock | LerpBlock | NLerpBlock | DivideBlock | SubtractBlock | ModBlock | StepBlock | SmoothStepBlock | OneMinusBlock | ReciprocalBlock | ViewDirectionBlock | LightInformationBlock | MaxBlock | MinBlock | LengthBlock | DistanceBlock | NegateBlock | PerturbNormalBlock | TBNBlock | RandomNumberBlock | ReplaceColorBlock | PosterizeBlock | ArcTan2Block | GradientBlock | FrontFacingBlock | MeshAttributeExistsBlock | WaveBlock | InputBlock | PBRMetallicRoughnessBlock | SheenBlock | AnisotropyBlock | ReflectionBlock | ClearCoatBlock | RefractionBlock | SubSurfaceBlock | CurrentScreenBlock | ParticleTextureBlock | ParticleRampGradientBlock | ParticleBlendMultiplyBlock | FragCoordBlock | ScreenSizeBlock | SceneDepthBlock | ConditionalBlock | ImageSourceBlock | ClipPlanesBlock | FragDepthBlock | ShadowMapBlock | TriPlanarBlock | MatrixTransposeBlock | MatrixDeterminantBlock | CurveBlock | null;
100
102
  static GetColorFromConnectionNodeType(type: NodeMaterialBlockConnectionPointTypes): string;
101
103
  static GetConnectionNodeTypeFromString(type: string): NodeMaterialBlockConnectionPointTypes.Float | NodeMaterialBlockConnectionPointTypes.Vector2 | NodeMaterialBlockConnectionPointTypes.Vector3 | NodeMaterialBlockConnectionPointTypes.Vector4 | NodeMaterialBlockConnectionPointTypes.Color3 | NodeMaterialBlockConnectionPointTypes.Color4 | NodeMaterialBlockConnectionPointTypes.Matrix | NodeMaterialBlockConnectionPointTypes.AutoDetect;
102
104
  static GetStringFromConnectionNodeType(type: NodeMaterialBlockConnectionPointTypes): "" | "Float" | "Vector2" | "Vector3" | "Vector4" | "Matrix" | "Color3" | "Color4";
@@ -591,6 +593,7 @@ export class BlockNodeData implements INodeData {
591
593
  getPortByName(name: string): IPortData | null;
592
594
  dispose(): void;
593
595
  prepareHeaderIcon(iconDiv: HTMLDivElement, img: HTMLImageElement): void;
596
+ get invisibleEndpoints(): import("babylonjs/Materials/Node/Blocks").NodeMaterialTeleportOutBlock[] | null;
594
597
  constructor(data: NodeMaterialBlock, nodeContainer: INodeContainer);
595
598
  }
596
599
 
@@ -784,6 +787,40 @@ export class RemapDisplayManager implements IDisplayManager {
784
787
  updatePreviewContent(nodeData: INodeData, contentArea: HTMLDivElement): void;
785
788
  }
786
789
 
790
+ }
791
+ declare module "babylonjs-node-editor/graphSystem/display/teleportInDisplayManager" {
792
+ import { IDisplayManager } from "babylonjs-node-editor/nodeGraphSystem/interfaces/displayManager";
793
+ import { INodeData } from "babylonjs-node-editor/nodeGraphSystem/interfaces/nodeData";
794
+ import { StateManager } from "babylonjs-node-editor/nodeGraphSystem/stateManager";
795
+ import { Nullable } from "babylonjs/types";
796
+ export class TeleportInDisplayManager implements IDisplayManager {
797
+ private _hasHighlights;
798
+ getHeaderClass(): string;
799
+ shouldDisplayPortLabels(): boolean;
800
+ getHeaderText(nodeData: INodeData): string;
801
+ getBackgroundColor(nodeData: INodeData): string;
802
+ updatePreviewContent(nodeData: INodeData, contentArea: HTMLDivElement): void;
803
+ onSelectionChanged(nodeData: INodeData, selectedData: Nullable<INodeData>, manager: StateManager): void;
804
+ onDispose(nodeData: INodeData, manager: StateManager): void;
805
+ }
806
+
807
+ }
808
+ declare module "babylonjs-node-editor/graphSystem/display/teleportOutDisplayManager" {
809
+ import { IDisplayManager } from "babylonjs-node-editor/nodeGraphSystem/interfaces/displayManager";
810
+ import { INodeData } from "babylonjs-node-editor/nodeGraphSystem/interfaces/nodeData";
811
+ import { StateManager } from "babylonjs-node-editor/nodeGraphSystem/stateManager";
812
+ import { Nullable } from "babylonjs/types";
813
+ export class TeleportOutDisplayManager implements IDisplayManager {
814
+ private _hasHighlights;
815
+ getHeaderClass(): string;
816
+ shouldDisplayPortLabels(): boolean;
817
+ getHeaderText(nodeData: INodeData): string;
818
+ getBackgroundColor(nodeData: INodeData): string;
819
+ updatePreviewContent(nodeData: INodeData, contentArea: HTMLDivElement): void;
820
+ onSelectionChanged(nodeData: INodeData, selectedData: Nullable<INodeData>, manager: StateManager): void;
821
+ onDispose(nodeData: INodeData, manager: StateManager): void;
822
+ }
823
+
787
824
  }
788
825
  declare module "babylonjs-node-editor/graphSystem/display/textureDisplayManager" {
789
826
  import { IDisplayManager } from "babylonjs-node-editor/nodeGraphSystem/interfaces/displayManager";
@@ -880,7 +917,7 @@ export class FramePropertyTabComponent extends React.Component<IFramePropertyTab
880
917
  }
881
918
  declare module "babylonjs-node-editor/graphSystem/properties/genericNodePropertyComponent" {
882
919
  import * as React from "react";
883
- import { IEditablePropertyOption } from "babylonjs/Materials/Node/nodeMaterialDecorator";
920
+ import { IEditablePropertyOption } from "babylonjs/Decorators/nodeDecorator";
884
921
  import { IPropertyComponentProps } from "babylonjs-node-editor/nodeGraphSystem/interfaces/propertyComponentProps";
885
922
  export class GenericPropertyComponent extends React.Component<IPropertyComponentProps> {
886
923
  constructor(props: IPropertyComponentProps);
@@ -1014,6 +1051,18 @@ export class NodePortPropertyTabComponent extends React.Component<IFrameNodePort
1014
1051
  render(): JSX.Element;
1015
1052
  }
1016
1053
 
1054
+ }
1055
+ declare module "babylonjs-node-editor/graphSystem/properties/teleportOutNodePropertyComponent" {
1056
+ import * as React from "react";
1057
+ import { IPropertyComponentProps } from "babylonjs-node-editor/nodeGraphSystem/interfaces/propertyComponentProps";
1058
+ export class TeleportOutPropertyTabComponent extends React.Component<IPropertyComponentProps> {
1059
+ private _onUpdateRequiredObserver;
1060
+ constructor(props: IPropertyComponentProps);
1061
+ componentDidMount(): void;
1062
+ componentWillUnmount(): void;
1063
+ render(): JSX.Element;
1064
+ }
1065
+
1017
1066
  }
1018
1067
  declare module "babylonjs-node-editor/graphSystem/properties/texturePropertyTabComponent" {
1019
1068
  import * as React from "react";
@@ -3645,6 +3694,7 @@ export class GraphNode {
3645
3694
  private _onSelectionBoxMovedObserver;
3646
3695
  private _onFrameCreatedObserver;
3647
3696
  private _onUpdateRequiredObserver;
3697
+ private _onHighlightNodeObserver;
3648
3698
  private _ownerCanvas;
3649
3699
  private _isSelected;
3650
3700
  private _displayManager;
@@ -3693,6 +3743,8 @@ export class GraphNode {
3693
3743
 
3694
3744
  }
3695
3745
  declare module "babylonjs-node-editor/nodeGraphSystem/interfaces/displayManager" {
3746
+ import { Nullable } from "babylonjs/types";
3747
+ import { StateManager } from "babylonjs-node-editor/nodeGraphSystem/stateManager";
3696
3748
  import { INodeData } from "babylonjs-node-editor/nodeGraphSystem/interfaces/nodeData";
3697
3749
  import { IPortData } from "babylonjs-node-editor/nodeGraphSystem/interfaces/portData";
3698
3750
  export interface VisualContentDescription {
@@ -3705,6 +3757,8 @@ export interface IDisplayManager {
3705
3757
  updateFullVisualContent?(data: INodeData, visualContent: VisualContentDescription): void;
3706
3758
  getBackgroundColor(data: INodeData): string;
3707
3759
  getHeaderText(data: INodeData): string;
3760
+ onSelectionChanged?(data: INodeData, selectedData: Nullable<INodeData>, manager: StateManager): void;
3761
+ onDispose?(nodeData: INodeData, manager: StateManager): void;
3708
3762
  }
3709
3763
 
3710
3764
  }
@@ -3732,6 +3786,7 @@ export interface INodeData {
3732
3786
  getPortByName: (name: string) => Nullable<IPortData>;
3733
3787
  inputs: IPortData[];
3734
3788
  outputs: IPortData[];
3789
+ invisibleEndpoints?: Nullable<any[]>;
3735
3790
  }
3736
3791
 
3737
3792
  }
@@ -3961,7 +4016,7 @@ export class StateManager {
3961
4016
  onFrameCreatedObservable: Observable<GraphFrame>;
3962
4017
  onUpdateRequiredObservable: Observable<any>;
3963
4018
  onGraphNodeRemovalObservable: Observable<GraphNode>;
3964
- onSelectionBoxMoved: Observable<ClientRect | DOMRect>;
4019
+ onSelectionBoxMoved: Observable<DOMRect | ClientRect>;
3965
4020
  onCandidateLinkMoved: Observable<Nullable<Vector2>>;
3966
4021
  onCandidatePortSelectedObservable: Observable<Nullable<FrameNodePort | NodePort>>;
3967
4022
  onNewNodeCreatedObservable: Observable<GraphNode>;
@@ -3976,6 +4031,10 @@ export class StateManager {
3976
4031
  needRepositioning?: boolean | undefined;
3977
4032
  smartAdd?: boolean | undefined;
3978
4033
  }>;
4034
+ onHighlightNodeObservable: Observable<{
4035
+ data: any;
4036
+ active: boolean;
4037
+ }>;
3979
4038
  exportData: (data: any, frame?: Nullable<GraphFrame>) => string;
3980
4039
  isElbowConnectionAllowed: (nodeA: FrameNodePort | NodePort, nodeB: FrameNodePort | NodePort) => boolean;
3981
4040
  applyNodePortDesign: (data: IPortData, element: HTMLElement, img: HTMLImageElement) => void;
@@ -3991,11 +4050,12 @@ export class StateManager {
3991
4050
 
3992
4051
  }
3993
4052
  declare module "babylonjs-node-editor/nodeGraphSystem/tools" {
4053
+ import { GraphCanvasComponent } from "babylonjs-node-editor/nodeGraphSystem/graphCanvas";
3994
4054
  import { GraphNode } from "babylonjs-node-editor/nodeGraphSystem/graphNode";
3995
4055
  import { NodeLink } from "babylonjs-node-editor/nodeGraphSystem/nodeLink";
3996
4056
  import { FramePortData } from "babylonjs-node-editor/nodeGraphSystem/types/framePortData";
3997
4057
  export const IsFramePortData: (variableToCheck: any) => variableToCheck is FramePortData;
3998
- export const RefreshNode: (node: GraphNode, visitedNodes?: Set<GraphNode>, visitedLinks?: Set<NodeLink>) => void;
4058
+ export const RefreshNode: (node: GraphNode, visitedNodes?: Set<GraphNode>, visitedLinks?: Set<NodeLink>, canvas?: GraphCanvasComponent) => void;
3999
4059
 
4000
4060
  }
4001
4061
  declare module "babylonjs-node-editor/nodeGraphSystem/typeLedger" {
@@ -4355,7 +4415,7 @@ declare module "babylonjs-node-editor" {
4355
4415
 
4356
4416
  declare module BABYLON.NodeEditor {
4357
4417
  export class BlockTools {
4358
- static GetBlockFromString(data: string, scene: BABYLON.Scene, nodeMaterial: BABYLON.NodeMaterial): BABYLON.HeightToNormalBlock | BABYLON.ElbowBlock | BABYLON.TwirlBlock | BABYLON.VoronoiNoiseBlock | BABYLON.ScreenSpaceBlock | BABYLON.CloudBlock | BABYLON.MatrixBuilderBlock | BABYLON.DesaturateBlock | BABYLON.RefractBlock | BABYLON.ReflectBlock | BABYLON.DerivativeBlock | BABYLON.Rotate2dBlock | BABYLON.NormalBlendBlock | BABYLON.WorleyNoise3DBlock | BABYLON.SimplexPerlin3DBlock | BABYLON.BonesBlock | BABYLON.InstancesBlock | BABYLON.MorphTargetsBlock | BABYLON.DiscardBlock | BABYLON.ImageProcessingBlock | BABYLON.ColorMergerBlock | BABYLON.VectorMergerBlock | BABYLON.ColorSplitterBlock | BABYLON.VectorSplitterBlock | BABYLON.TextureBlock | BABYLON.ReflectionTextureBlock | BABYLON.LightBlock | BABYLON.FogBlock | BABYLON.VertexOutputBlock | BABYLON.FragmentOutputBlock | BABYLON.AddBlock | BABYLON.ClampBlock | BABYLON.ScaleBlock | BABYLON.CrossBlock | BABYLON.DotBlock | BABYLON.PowBlock | BABYLON.MultiplyBlock | BABYLON.TransformBlock | BABYLON.TrigonometryBlock | BABYLON.RemapBlock | BABYLON.NormalizeBlock | BABYLON.FresnelBlock | BABYLON.LerpBlock | BABYLON.NLerpBlock | BABYLON.DivideBlock | BABYLON.SubtractBlock | BABYLON.ModBlock | BABYLON.StepBlock | BABYLON.SmoothStepBlock | BABYLON.OneMinusBlock | BABYLON.ReciprocalBlock | BABYLON.ViewDirectionBlock | BABYLON.LightInformationBlock | BABYLON.MaxBlock | BABYLON.MinBlock | BABYLON.LengthBlock | BABYLON.DistanceBlock | BABYLON.NegateBlock | BABYLON.PerturbNormalBlock | BABYLON.TBNBlock | BABYLON.RandomNumberBlock | BABYLON.ReplaceColorBlock | BABYLON.PosterizeBlock | BABYLON.ArcTan2Block | BABYLON.GradientBlock | BABYLON.FrontFacingBlock | BABYLON.MeshAttributeExistsBlock | BABYLON.WaveBlock | BABYLON.InputBlock | BABYLON.PBRMetallicRoughnessBlock | BABYLON.SheenBlock | BABYLON.AnisotropyBlock | BABYLON.ReflectionBlock | BABYLON.ClearCoatBlock | BABYLON.RefractionBlock | BABYLON.SubSurfaceBlock | BABYLON.CurrentScreenBlock | BABYLON.ParticleTextureBlock | BABYLON.ParticleRampGradientBlock | BABYLON.ParticleBlendMultiplyBlock | BABYLON.FragCoordBlock | BABYLON.ScreenSizeBlock | BABYLON.SceneDepthBlock | BABYLON.ConditionalBlock | BABYLON.ImageSourceBlock | BABYLON.ClipPlanesBlock | BABYLON.FragDepthBlock | BABYLON.ShadowMapBlock | BABYLON.TriPlanarBlock | BABYLON.MatrixTransposeBlock | BABYLON.MatrixDeterminantBlock | BABYLON.CurveBlock | null;
4418
+ static GetBlockFromString(data: string, scene: BABYLON.Scene, nodeMaterial: BABYLON.NodeMaterial): BABYLON.NodeMaterialTeleportInBlock | BABYLON.NodeMaterialTeleportOutBlock | BABYLON.HeightToNormalBlock | BABYLON.ElbowBlock | BABYLON.TwirlBlock | BABYLON.VoronoiNoiseBlock | BABYLON.ScreenSpaceBlock | BABYLON.CloudBlock | BABYLON.MatrixBuilderBlock | BABYLON.DesaturateBlock | BABYLON.RefractBlock | BABYLON.ReflectBlock | BABYLON.DerivativeBlock | BABYLON.Rotate2dBlock | BABYLON.NormalBlendBlock | BABYLON.WorleyNoise3DBlock | BABYLON.SimplexPerlin3DBlock | BABYLON.BonesBlock | BABYLON.InstancesBlock | BABYLON.MorphTargetsBlock | BABYLON.DiscardBlock | BABYLON.ImageProcessingBlock | BABYLON.ColorMergerBlock | BABYLON.VectorMergerBlock | BABYLON.ColorSplitterBlock | BABYLON.VectorSplitterBlock | BABYLON.TextureBlock | BABYLON.ReflectionTextureBlock | BABYLON.LightBlock | BABYLON.FogBlock | BABYLON.VertexOutputBlock | BABYLON.FragmentOutputBlock | BABYLON.AddBlock | BABYLON.ClampBlock | BABYLON.ScaleBlock | BABYLON.CrossBlock | BABYLON.DotBlock | BABYLON.PowBlock | BABYLON.MultiplyBlock | BABYLON.TransformBlock | BABYLON.TrigonometryBlock | BABYLON.RemapBlock | BABYLON.NormalizeBlock | BABYLON.FresnelBlock | BABYLON.LerpBlock | BABYLON.NLerpBlock | BABYLON.DivideBlock | BABYLON.SubtractBlock | BABYLON.ModBlock | BABYLON.StepBlock | BABYLON.SmoothStepBlock | BABYLON.OneMinusBlock | BABYLON.ReciprocalBlock | BABYLON.ViewDirectionBlock | BABYLON.LightInformationBlock | BABYLON.MaxBlock | BABYLON.MinBlock | BABYLON.LengthBlock | BABYLON.DistanceBlock | BABYLON.NegateBlock | BABYLON.PerturbNormalBlock | BABYLON.TBNBlock | BABYLON.RandomNumberBlock | BABYLON.ReplaceColorBlock | BABYLON.PosterizeBlock | BABYLON.ArcTan2Block | BABYLON.GradientBlock | BABYLON.FrontFacingBlock | BABYLON.MeshAttributeExistsBlock | BABYLON.WaveBlock | BABYLON.InputBlock | BABYLON.PBRMetallicRoughnessBlock | BABYLON.SheenBlock | BABYLON.AnisotropyBlock | BABYLON.ReflectionBlock | BABYLON.ClearCoatBlock | BABYLON.RefractionBlock | BABYLON.SubSurfaceBlock | BABYLON.CurrentScreenBlock | BABYLON.ParticleTextureBlock | BABYLON.ParticleRampGradientBlock | BABYLON.ParticleBlendMultiplyBlock | BABYLON.FragCoordBlock | BABYLON.ScreenSizeBlock | BABYLON.SceneDepthBlock | BABYLON.ConditionalBlock | BABYLON.ImageSourceBlock | BABYLON.ClipPlanesBlock | BABYLON.FragDepthBlock | BABYLON.ShadowMapBlock | BABYLON.TriPlanarBlock | BABYLON.MatrixTransposeBlock | BABYLON.MatrixDeterminantBlock | BABYLON.CurveBlock | null;
4359
4419
  static GetColorFromConnectionNodeType(type: BABYLON.NodeMaterialBlockConnectionPointTypes): string;
4360
4420
  static GetConnectionNodeTypeFromString(type: string): BABYLON.NodeMaterialBlockConnectionPointTypes.Float | BABYLON.NodeMaterialBlockConnectionPointTypes.Vector2 | BABYLON.NodeMaterialBlockConnectionPointTypes.Vector3 | BABYLON.NodeMaterialBlockConnectionPointTypes.Vector4 | BABYLON.NodeMaterialBlockConnectionPointTypes.Color3 | BABYLON.NodeMaterialBlockConnectionPointTypes.Color4 | BABYLON.NodeMaterialBlockConnectionPointTypes.Matrix | BABYLON.NodeMaterialBlockConnectionPointTypes.AutoDetect;
4361
4421
  static GetStringFromConnectionNodeType(type: BABYLON.NodeMaterialBlockConnectionPointTypes): "" | "Float" | "Vector2" | "Vector3" | "Vector4" | "Matrix" | "Color3" | "Color4";
@@ -4737,6 +4797,7 @@ declare module BABYLON.NodeEditor {
4737
4797
  getPortByName(name: string): BABYLON.NodeEditor.SharedUIComponents.IPortData | null;
4738
4798
  dispose(): void;
4739
4799
  prepareHeaderIcon(iconDiv: HTMLDivElement, img: HTMLImageElement): void;
4800
+ get invisibleEndpoints(): import("core/Materials/Node/Blocks").NodeMaterialTeleportOutBlock[] | null;
4740
4801
  constructor(data: BABYLON.NodeMaterialBlock, nodeContainer: BABYLON.NodeEditor.SharedUIComponents.INodeContainer);
4741
4802
  }
4742
4803
 
@@ -4885,6 +4946,30 @@ declare module BABYLON.NodeEditor {
4885
4946
  }
4886
4947
 
4887
4948
 
4949
+ export class TeleportInDisplayManager implements BABYLON.NodeEditor.SharedUIComponents.IDisplayManager {
4950
+ private _hasHighlights;
4951
+ getHeaderClass(): string;
4952
+ shouldDisplayPortLabels(): boolean;
4953
+ getHeaderText(nodeData: BABYLON.NodeEditor.SharedUIComponents.INodeData): string;
4954
+ getBackgroundColor(nodeData: BABYLON.NodeEditor.SharedUIComponents.INodeData): string;
4955
+ updatePreviewContent(nodeData: BABYLON.NodeEditor.SharedUIComponents.INodeData, contentArea: HTMLDivElement): void;
4956
+ onSelectionChanged(nodeData: BABYLON.NodeEditor.SharedUIComponents.INodeData, selectedData: BABYLON.Nullable<BABYLON.NodeEditor.SharedUIComponents.INodeData>, manager: BABYLON.NodeEditor.SharedUIComponents.StateManager): void;
4957
+ onDispose(nodeData: BABYLON.NodeEditor.SharedUIComponents.INodeData, manager: BABYLON.NodeEditor.SharedUIComponents.StateManager): void;
4958
+ }
4959
+
4960
+
4961
+ export class TeleportOutDisplayManager implements BABYLON.NodeEditor.SharedUIComponents.IDisplayManager {
4962
+ private _hasHighlights;
4963
+ getHeaderClass(): string;
4964
+ shouldDisplayPortLabels(): boolean;
4965
+ getHeaderText(nodeData: BABYLON.NodeEditor.SharedUIComponents.INodeData): string;
4966
+ getBackgroundColor(nodeData: BABYLON.NodeEditor.SharedUIComponents.INodeData): string;
4967
+ updatePreviewContent(nodeData: BABYLON.NodeEditor.SharedUIComponents.INodeData, contentArea: HTMLDivElement): void;
4968
+ onSelectionChanged(nodeData: BABYLON.NodeEditor.SharedUIComponents.INodeData, selectedData: BABYLON.Nullable<BABYLON.NodeEditor.SharedUIComponents.INodeData>, manager: BABYLON.NodeEditor.SharedUIComponents.StateManager): void;
4969
+ onDispose(nodeData: BABYLON.NodeEditor.SharedUIComponents.INodeData, manager: BABYLON.NodeEditor.SharedUIComponents.StateManager): void;
4970
+ }
4971
+
4972
+
4888
4973
  export class TextureDisplayManager implements BABYLON.NodeEditor.SharedUIComponents.IDisplayManager {
4889
4974
  private _previewCanvas;
4890
4975
  private _previewImage;
@@ -5059,6 +5144,15 @@ declare module BABYLON.NodeEditor {
5059
5144
  }
5060
5145
 
5061
5146
 
5147
+ export class TeleportOutPropertyTabComponent extends React.Component<BABYLON.NodeEditor.SharedUIComponents.IPropertyComponentProps> {
5148
+ private _onUpdateRequiredObserver;
5149
+ constructor(props: BABYLON.NodeEditor.SharedUIComponents.IPropertyComponentProps);
5150
+ componentDidMount(): void;
5151
+ componentWillUnmount(): void;
5152
+ render(): JSX.Element;
5153
+ }
5154
+
5155
+
5062
5156
  type ReflectionTexture = BABYLON.ReflectionTextureBlock | BABYLON.ReflectionBlock | BABYLON.RefractionBlock;
5063
5157
  type AnyTexture = BABYLON.TextureBlock | ReflectionTexture | BABYLON.CurrentScreenBlock | BABYLON.ParticleTextureBlock | BABYLON.TriPlanarBlock;
5064
5158
  export class TexturePropertyTabComponent extends React.Component<BABYLON.NodeEditor.SharedUIComponents.IPropertyComponentProps, {
@@ -7819,6 +7913,7 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
7819
7913
  private _onSelectionBoxMovedObserver;
7820
7914
  private _onFrameCreatedObserver;
7821
7915
  private _onUpdateRequiredObserver;
7916
+ private _onHighlightNodeObserver;
7822
7917
  private _ownerCanvas;
7823
7918
  private _isSelected;
7824
7919
  private _displayManager;
@@ -7882,6 +7977,8 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
7882
7977
  updateFullVisualContent?(data: BABYLON.NodeEditor.SharedUIComponents.INodeData, visualContent: VisualContentDescription): void;
7883
7978
  getBackgroundColor(data: BABYLON.NodeEditor.SharedUIComponents.INodeData): string;
7884
7979
  getHeaderText(data: BABYLON.NodeEditor.SharedUIComponents.INodeData): string;
7980
+ onSelectionChanged?(data: BABYLON.NodeEditor.SharedUIComponents.INodeData, selectedData: BABYLON.Nullable<BABYLON.NodeEditor.SharedUIComponents.INodeData>, manager: BABYLON.NodeEditor.SharedUIComponents.StateManager): void;
7981
+ onDispose?(nodeData: BABYLON.NodeEditor.SharedUIComponents.INodeData, manager: BABYLON.NodeEditor.SharedUIComponents.StateManager): void;
7885
7982
  }
7886
7983
 
7887
7984
 
@@ -7915,6 +8012,7 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
7915
8012
  getPortByName: (name: string) => BABYLON.Nullable<BABYLON.NodeEditor.SharedUIComponents.IPortData>;
7916
8013
  inputs: BABYLON.NodeEditor.SharedUIComponents.IPortData[];
7917
8014
  outputs: BABYLON.NodeEditor.SharedUIComponents.IPortData[];
8015
+ invisibleEndpoints?: BABYLON.Nullable<any[]>;
7918
8016
  }
7919
8017
 
7920
8018
 
@@ -8154,7 +8252,7 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
8154
8252
  onFrameCreatedObservable: BABYLON.Observable<BABYLON.NodeEditor.SharedUIComponents.GraphFrame>;
8155
8253
  onUpdateRequiredObservable: BABYLON.Observable<any>;
8156
8254
  onGraphNodeRemovalObservable: BABYLON.Observable<BABYLON.NodeEditor.SharedUIComponents.GraphNode>;
8157
- onSelectionBoxMoved: BABYLON.Observable<ClientRect | DOMRect>;
8255
+ onSelectionBoxMoved: BABYLON.Observable<DOMRect | ClientRect>;
8158
8256
  onCandidateLinkMoved: BABYLON.Observable<BABYLON.Nullable<BABYLON.Vector2>>;
8159
8257
  onCandidatePortSelectedObservable: BABYLON.Observable<BABYLON.Nullable<BABYLON.NodeEditor.SharedUIComponents.FrameNodePort | BABYLON.NodeEditor.SharedUIComponents.NodePort>>;
8160
8258
  onNewNodeCreatedObservable: BABYLON.Observable<BABYLON.NodeEditor.SharedUIComponents.GraphNode>;
@@ -8169,6 +8267,10 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
8169
8267
  needRepositioning?: boolean | undefined;
8170
8268
  smartAdd?: boolean | undefined;
8171
8269
  }>;
8270
+ onHighlightNodeObservable: BABYLON.Observable<{
8271
+ data: any;
8272
+ active: boolean;
8273
+ }>;
8172
8274
  exportData: (data: any, frame?: BABYLON.Nullable<BABYLON.NodeEditor.SharedUIComponents.GraphFrame>) => string;
8173
8275
  isElbowConnectionAllowed: (nodeA: BABYLON.NodeEditor.SharedUIComponents.FrameNodePort | BABYLON.NodeEditor.SharedUIComponents.NodePort, nodeB: BABYLON.NodeEditor.SharedUIComponents.FrameNodePort | BABYLON.NodeEditor.SharedUIComponents.NodePort) => boolean;
8174
8276
  applyNodePortDesign: (data: BABYLON.NodeEditor.SharedUIComponents.IPortData, element: HTMLElement, img: HTMLImageElement) => void;
@@ -8190,7 +8292,7 @@ declare module BABYLON.NodeEditor {
8190
8292
  }
8191
8293
  declare module BABYLON.NodeEditor.SharedUIComponents {
8192
8294
  export const IsFramePortData: (variableToCheck: any) => variableToCheck is BABYLON.NodeEditor.SharedUIComponents.FramePortData;
8193
- export const RefreshNode: (node: BABYLON.NodeEditor.SharedUIComponents.GraphNode, visitedNodes?: Set<BABYLON.NodeEditor.SharedUIComponents.GraphNode>, visitedLinks?: Set<BABYLON.NodeEditor.SharedUIComponents.NodeLink>) => void;
8295
+ export const RefreshNode: (node: BABYLON.NodeEditor.SharedUIComponents.GraphNode, visitedNodes?: Set<BABYLON.NodeEditor.SharedUIComponents.GraphNode>, visitedLinks?: Set<BABYLON.NodeEditor.SharedUIComponents.NodeLink>, canvas?: BABYLON.NodeEditor.SharedUIComponents.GraphCanvasComponent) => void;
8194
8296
 
8195
8297
 
8196
8298
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "babylonjs-node-editor",
3
- "version": "6.15.0",
3
+ "version": "6.16.0",
4
4
  "main": "babylon.nodeEditor.js",
5
5
  "types": "babylon.nodeEditor.module.d.ts",
6
6
  "files": [
@@ -14,7 +14,7 @@
14
14
  "clean": "rimraf dist && rimraf babylon*.*"
15
15
  },
16
16
  "dependencies": {
17
- "babylonjs": "^6.15.0"
17
+ "babylonjs": "^6.16.0"
18
18
  },
19
19
  "devDependencies": {
20
20
  "@dev/build-tools": "1.0.0",