UK2Node_MacroInstance

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

BlueprintGraph

Header

/Engine/Source/Editor/BlueprintGraph/Classes/K2Node_MacroInstance.h

Include

#include "K2Node_MacroInstance.h"

Syntax

class UK2Node_MacroInstance : public UK2Node_Tunnel

Variables

Name Description

Public variable

bool

 

bReconstructNode

Whether we need to reconstruct the node after the pins have changed

Public variable

FEdGraphPinType

 

ResolvedWildcardType

Stored type info for what type the wildcard pins in this macro should become.

Constructors

Name Description

Public function

UK2Node_MacroInstance

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function Static

void

 

FindInContentBrowser

Public function Static

FKismetUserD...

 

GetAssociatedGraphMetadata

(
    const UEdGraph* AssociatedMacr...
)

Finds the associated metadata for the macro instance if there is any; this function is not particularly fast.

Public function Const

UEdGraph ...

 

GetMacroGraph()

Public function Const

UBlueprint &...

 

GetSourceBlueprint()

Public function

void

 

SetMacroGraph

(
    UEdGraph* Graph
)

Overridden from UK2Node_Tunnel

Name Description

Public function Virtual

void

 

PostFixupAllWildcardPins

(
    bool bInAllWildcardPinsUnlinked
)

Handles any work needed to be done after fixing up all wildcard pins during reconstruction

Overridden from UK2Node_EditablePinBase

Name Description

Public function Virtual

bool

 

CanCreateUserDefinedPin

(
    const FEdGraphPinType& InPinType,
    EEdGraphPinDirection InDesiredDirec...,
    FText& OutErrorMessage
)

Queries if a user defined pin of the passed type can be constructed on this node.

Overridden from UK2Node

Name Description

Public function Virtual Const

bool

 

DrawNodeAsEntry()

Return whether to draw this node as an entry

Public function Virtual Const

bool

 

DrawNodeAsExit()

Return whether to draw this node as an entry

Public function Virtual Const

FText

 

GetCompactNodeTitle()

Return title if drawing this node in 'compact' mode

Public function Virtual Const

FName

 

GetCornerIcon()

Public function Virtual Const

FText

 

GetMenuCategory()

Override to provide a default category for specific node types to be listed under.

Public function Virtual Const

void

 

GetNodeAttributes

(
    TArray< TKeyValuePair< FString, FSt...
)

This function returns an arbitrary number of attributes that describe this node for analytics events

Public function Virtual Const

int32

 

GetNodeRefreshPriority()

Public function Virtual Const

FBlueprintNo...

 

GetSignature()

Retrieves a unique identifier for this node type.

Public function Virtual Const

bool

 

HasExternalDependencies

(
    TArray< class UStruct* >*...
)

Returns whether or not this node has dependencies on an external structure If OptionalOutput isn't null, it should be filled with the known dependencies objects (Classes, Structures, Functions, etc).

Public function Virtual

bool

 

IsActionFilteredOut

(
    FBlueprintActionFilter const& Filt...
)

Determine if the node of this type should be filtered in the actions menu

Public function Virtual

void

 

NotifyPinConnectionListChanged

(
    UEdGraphPin* Pin
)

Called when the connection list of one of the pins of this node is changed in the editor, after the pin has had it's literal cleared

Public function Virtual

void

 

PostReconstructNode()

Called at the end of ReconstructNode, allows node specific work to be performed

Public function Virtual

void

 

PreloadRequiredAssets()

Called before compilation begins, giving a blueprint time to force the linker to load data

Public function Virtual Const

bool

 

ShouldDrawCompact()

Should draw compact

Overridden from UEdGraphNode

Name Description

Public function Virtual

void

 

AllocateDefaultPins()

Allocate default pins for a given node, based only the NodeType, which should already be filled in.

Public function Virtual Const

bool

 

CanPasteHere

(
    const UEdGraph* TargetGraph
)

Determine if this node can live in the specified graph

Public function Virtual Const

bool

 

CanUserDeleteNode()

Whether or not this node can be deleted by user action

Public function Virtual Const

FString

 

GetDocumentationExcerptName()

Returns the name of the excerpt to display from the specified external documentation link for the graph node Default behavior is to return the class name (including prefix)

Public function Virtual Const

FString

 

GetDocumentationLink()

Returns the link used for external documentation for the graph node

Public function Virtual Const

FSlateIcon

 

GetIconAndTint

(
    FLinearColor& OutColor
)

Public function Virtual Const

UObject *...

 

GetJumpTargetForDoubleClick()

Returns the object that should be focused when double-clicking on this node (the object can be an actor, which selects it in the world, or a node/graph/pin)

Public function Virtual Const

FText

 

GetKeywords()

Returns the keywords that should be used when searching for this node

Public function Virtual Const

void

 

GetNodeContextMenuActions

(
    UToolMenu* Menu,
    UGraphNodeContextMenuContext* ...
)

Gets a list of actions that can be done to this particular node

Public function Virtual Const

FText

 

GetNodeTitle

(
    ENodeTitleType::Type TitleType
)

Gets the name of this node, shown in title bar

Public function Virtual Const

FLinearColor

 

GetNodeTitleColor()

Gets the draw color of a node's title bar

Public function Virtual Const

FText

 

GetTooltipText()

Gets the tooltip to display when over the node

Public function Virtual

void

 

NodeConnectionListChanged()

Called when something external to this node has changed the connection list of any of the pins in the node

Public function Virtual

void

 

PostPasteNode()

Perform any fixups (deep copies of associated data, etc...) necessary after a node has been pasted in the editor

Overridden from UObject

Name Description

Public function Virtual

void

 

Serialize

(
    FArchive& Ar
)

Handles reading, writing, and reference collecting using FArchive.