Navigation
API > API/Editor > API/Editor/BlueprintGraph
| Name | UK2Node_Tunnel |
| Type | class |
| Header File | /Engine/Source/Editor/BlueprintGraph/Classes/K2Node_Tunnel.h |
| Include Path | #include "K2Node_Tunnel.h" |
Syntax
UCLASS ()
class UK2Node_Tunnel : public UK2Node_EditablePinBase
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UEdGraphNode → UK2Node → UK2Node_EditablePinBase → UK2Node_Tunnel
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UK2Node_Tunnel
(
const FObjectInitializer& ObjectInitializer |
K2Node_Tunnel.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bCanHaveInputs | uint32 | Whether this node is allowed to have inputs. | K2Node_Tunnel.h | |
| bCanHaveOutputs | uint32 | Whether this node is allowed to have outputs. | K2Node_Tunnel.h | |
| InputSinkNode | TObjectPtr< UK2Node_Tunnel > | The input pins of this tunnel go to the output pins of InputSinkNode. | K2Node_Tunnel.h | |
| MetaData | FKismetUserDeclaredFunctionMetadata | 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. | K2Node_Tunnel.h | |
| OutputSourceNode | TObjectPtr< UK2Node_Tunnel > | The output pins of this tunnel node came from the input pins of OutputSourceNode. | K2Node_Tunnel.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual UK2Node_Tunnel * GetInputSink() |
The input pins of this tunnel go to the output pins of InputSinkNode (can be NULL). | K2Node_Tunnel.h | |
virtual UK2Node_Tunnel * GetOutputSource() |
The output pins of this tunnel node came from the input pins of OutputSourceNode (can be NULL). | K2Node_Tunnel.h |
Overridden from UK2Node_EditablePinBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool CanCreateUserDefinedPin
(
const FEdGraphPinType& InPinType, |
Queries if a user defined pin of the passed type can be constructed on this node. | K2Node_Tunnel.h | |
virtual bool CanModifyExecutionWires() |
Can this node have execution wires added or removed? | K2Node_Tunnel.h | |
virtual bool CanUseRefParams() |
Can this node have pass-by-reference parameters? | K2Node_Tunnel.h | |
virtual UEdGraphPin * CreatePinFromUserDefinition
(
const TSharedPtr< FUserPinInfo > NewPinInfo |
Creates a new pin on the node from the specified user pin info. | K2Node_Tunnel.h | |
virtual 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 | K2Node_Tunnel.h |
Overridden from UK2Node
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void ClearCachedBlueprintData
(
UBlueprint* Blueprint |
Clears out any cached data that needs to be regenerated after a structural blueprint change | K2Node_Tunnel.h | |
virtual bool DrawNodeAsEntry() |
Return whether to draw this node as an entry | K2Node_Tunnel.h | |
virtual bool DrawNodeAsExit() |
Return whether to draw this node as an entry | K2Node_Tunnel.h | |
virtual void FixupPinStringDataReferences
(
FArchive* SavingArchive |
Fixes up structure/soft object ref pins, on both save and load | K2Node_Tunnel.h | |
virtual bool IsNodeSafeToIgnore() |
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). | K2Node_Tunnel.h | |
virtual bool NodeCausesStructuralBlueprintChange() |
Return true if adding/removing this node requires calling MarkBlueprintAsStructurallyModified on the Blueprint | K2Node_Tunnel.h | |
virtual 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) | K2Node_Tunnel.h | |
virtual ERenamePinResult RenameUserDefinedPinImpl
(
const FName OldName, |
Implementation function that renames an existing pin on the node. Does not broadcast notifications. | K2Node_Tunnel.h |
Overridden from UEdGraphNode
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool CanDuplicateNode() |
K2Node_Tunnel.h | ||
virtual bool CanUserDeleteNode() |
K2Node_Tunnel.h | ||
| K2Node_Tunnel.h | |||
virtual void DestroyNode() |
K2Node_Tunnel.h | ||
virtual UObject * GetJumpTargetForDoubleClick() |
K2Node_Tunnel.h | ||
virtual FText GetNodeTitle
(
ENodeTitleType::Type TitleType |
K2Node_Tunnel.h | ||
virtual FText GetTooltipText() |
K2Node_Tunnel.h | ||
virtual bool IsCompatibleWithGraph
(
const UEdGraph* InGraph |
K2Node_Tunnel.h | ||
virtual void PostPasteNode() |
K2Node_Tunnel.h | ||
virtual void ValidateNodeDuringCompilation
(
FCompilerResultsLog& MessageLog |
K2Node_Tunnel.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void CacheWildcardPins() |
Utility function that subclasses must call after allocating their default pins. | K2Node_Tunnel.h | |
virtual void PostFixupAllWildcardPins
(
bool bInAllWildcardPinsUnlinked |
Handles any work needed to be done after fixing up all wildcard pins during reconstruction | K2Node_Tunnel.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static bool ShouldDoSmartWildcardInference() |
Feature flag for 'smart' wildcard inference which allows for multiple types to be inferred. | K2Node_Tunnel.h |