Navigation
Unreal Engine C++ API Reference > Editor > BlueprintGraph
Inheritance Hierarchy
- UEdGraphNode
- UK2Node
- UK2Node_EditablePinBase
- UK2Node_Tunnel
- UK2Node_Composite
- UK2Node_MathExpression
- UK2Node_MacroInstance
References
Module | BlueprintGraph |
Header | /Engine/Source/Editor/BlueprintGraph/Classes/K2Node_Tunnel.h |
Include | #include "K2Node_Tunnel.h" |
Syntax
UCLASS ()
class UK2Node_Tunnel : public UK2Node_EditablePinBase
Variables
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
uint32: 1 | bCanHaveInputs | Whether this node is allowed to have inputs. |
![]() ![]() |
uint32: 1 | bCanHaveOutputs | Whether this node is allowed to have outputs. |
![]() ![]() |
TObjectPtr< UK2Node_Tunnel > | InputSinkNode | The input pins of this tunnel go to the output pins of InputSinkNode. |
![]() ![]() |
FKismetUserDeclaredFunctionMetadata | MetaData | The metadata for the function/subgraph associated with this tunnel node; it's only editable and used on the tunnel entry node inside the subgraph or macro. |
![]() ![]() |
TObjectPtr< UK2Node_Tunnel > | OutputSourceNode | The output pins of this tunnel node came from the input pins of OutputSourceNode. |
![]() |
TArray< UEdGraphPin * > | WildcardPins | Cache of the pins that were created as wildcards. |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
UK2Node_Tunnel
(
const FObjectInitializer& ObjectInitializer |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | Utility function that subclasses must call after allocating their default pins. | |
![]() ![]() ![]() |
bool | ||
![]() ![]() ![]() |
bool | ||
![]() ![]() ![]() |
FName | CreateUniquePinName
(
FName SourcePinName |
|
![]() ![]() |
void | DestroyNode () |
|
![]() ![]() ![]() |
UK2Node_Tunnel * | GetInputSink () |
The input pins of this tunnel go to the output pins of InputSinkNode (can be NULL). |
![]() ![]() ![]() |
FText | GetNodeTitle
(
ENodeTitleType::Type TitleType |
|
![]() ![]() ![]() |
UK2Node_Tunnel * | The output pins of this tunnel node came from the input pins of OutputSourceNode (can be NULL). | |
![]() ![]() ![]() |
FText | ||
![]() ![]() ![]() |
bool | IsCompatibleWithGraph
(
const UEdGraph* InGraph |
|
![]() ![]() |
void | PostFixupAllWildcardPins
(
bool bInAllWildcardPinsUnlinked |
Handles any work needed to be done after fixing up all wildcard pins during reconstruction |
![]() ![]() |
void | ||
![]() ![]() |
bool | Feature flag for 'smart' wildcard inference which allows for multiple types to be inferred. |
Overridden from UK2Node_EditablePinBase
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
bool | CanCreateUserDefinedPin
(
const FEdGraphPinType& InPinType, |
Queries if a user defined pin of the passed type can be constructed on this node. |
![]() ![]() |
bool | Can this node have execution wires added or removed? | |
![]() ![]() ![]() |
bool | Can this node have pass-by-reference parameters? | |
![]() ![]() |
UEdGraphPin * | CreatePinFromUserDefinition
(
const TSharedPtr< FUserPinInfo > NewPinInfo |
Creates a new pin on the node from the specified user pin info. |
![]() ![]() |
bool | ModifyUserDefinedPinDefaultValue
(
TSharedPtr< FUserPinInfo > PinInfo, |
Modifies the default value of an existing pin on the node, this will update both the UserPinInfo and the linked editor pin |
Overridden from UK2Node
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | ClearCachedBlueprintData
(
UBlueprint* Blueprint |
Clears out any cached data that needs to be regenerated after a structural blueprint change |
![]() ![]() ![]() |
bool | Return whether to draw this node as an entry | |
![]() ![]() ![]() |
bool | Return whether to draw this node as an entry | |
![]() ![]() |
void | FixupPinStringDataReferences
(
FArchive* SavingArchive |
Fixes up structure/soft object ref pins, on both save and load |
![]() ![]() ![]() |
UObject * | ||
![]() ![]() ![]() |
bool | Query if this is a node that is safe to ignore (e.g., a comment node or other non-structural annotation that can be pruned with no warnings). | |
![]() ![]() ![]() |
bool | Return true if adding/removing this node requires calling MarkBlueprintAsStructurallyModified on the Blueprint | |
![]() ![]() |
void | ReallocatePinsDuringReconstruction
(
TArray< UEdGraphPin* >& OldPins |
Reallocate pins during reconstruction; by default ignores the old pins and calls AllocateDefaultPins() If you override this to create additional pins you likely need to call RestoreSplitPins to restore any pins that have been split (e.g. a vector pin split into its components) |
![]() ![]() |
ERenamePinResult | RenameUserDefinedPinImpl
(
const FName OldName, |
Implementation function that renames an existing pin on the node. Does not broadcast notifications. |
![]() ![]() ![]() |
void | ValidateNodeDuringCompilation
(
FCompilerResultsLog& MessageLog |