UK2Node_Select

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

BlueprintGraph

Header

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

Include

#include "K2Node_Select.h"

Syntax

class UK2Node_Select :
    public UK2Node,
    public INodeDependingOnEnumInterface,
    public IK2Node_AddPinInterface

Constructors

Name Description

Public function

UK2Node_Select

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function Const

bool

 

CanChangePinType

(
    UEdGraphPin* Pin
)

Whether the user can change the pintype on a selected pin

Public function Virtual Const

bool

 

CanRemoveOptionPinToNode()

Return whether an option pin can be removed to the node

Public function

void

 

ChangePinType

(
    UEdGraphPin* Pin
)

Notification from the editor that the user wants to change the PinType on a selected pin

Public function

void

 

GetConditionalFunction

(
    FName& FunctionName,
    UClass** FunctionClass
)

Gets the name and class of the EqualEqual_IntInt function

Public function Virtual Const

UEdGraphPin ...

 

GetIndexPin()

Get the condition pin

Public function Virtual Const

void

 

GetOptionPins

(
    TArray< UEdGraphPin* >& Optio...
)

Returns a list of pins that represent the selectable options

Public function Static

void

 

GetPrintStringFunction

(
    FName& FunctionName,
    UClass** FunctionClass
)

Gets the name and class of the PrintString function

Public function Const

UEdGraphPin ...

 

GetReturnValuePin()

Get the return value pin

Public function

void

 

RemoveOptionPinToNode()

Removes the last option pin from the node

Public function Virtual

void

 

SetEnum

(
    UEnum* InEnum,
    bool bForceRegenerate
)

Bind the options to a named enum.

Overridden from UK2Node

Name Description

Public function Virtual Const

FNodeHandlin...

 

CreateNodeHandler

(
    FKismetCompilerContext& CompilerCo...
)

Public function Virtual Const

ERedirectTyp...

 

DoPinsMatchForReconstruction

(
    const UEdGraphPin* NewPin,
    int32 NewPinIndex,
    const UEdGraphPin* OldPin,
    int32 OldPinIndex
)

Whether or not two pins match for purposes of reconnection after reconstruction.

Public function Virtual

void

 

ExpandNode

(
    FKismetCompilerContext& CompilerCo...,
    UEdGraph* SourceGraph
)

Expands a node while compiling, which may add additional nodes or delete this node

Public function Virtual Const

void

 

GetMenuActions

Replacement for GetMenuEntries().

Public function Virtual Const

FText

 

GetMenuCategory()

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

Public function Virtual Const

int32

 

GetNodeRefreshPriority()

Public function Virtual Const

bool

 

IsConnectionDisallowed

(
    const UEdGraphPin* MyPin,
    const UEdGraphPin* OtherPin,
    FString& OutReason
)

Public function Virtual Const

bool

 

IsNodePure()

Returns whether this node is considered 'pure' by the compiler

Public function Virtual Const

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).

Public function Virtual

void

 

NotifyPinConnectionListChanged

(
    UEdGraphPin* Pin
)

Determine if any pins are connected, if so make all the other pins the same type, if not, make sure pins are switched back to wildcards

Public function Virtual

void

 

PostReconstructNode()

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

Public function Virtual

void

 

ReallocatePinsDuringReconstruction

(
    TArray< UEdGraphPin* >& OldPi...
)

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)

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

void

 

AutowireNewNode

(
    UEdGraphPin* FromPin
)

Autowire a newly created node.

Public function Virtual Const

FSlateIcon

 

GetIconAndTint

(
    FLinearColor& OutColor
)

Public function Virtual Const

FText

 

GetNodeTitle

(
    ENodeTitleType::Type TitleType
)

Gets the name of this node, shown in 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

 

PinTypeChanged

(
    UEdGraphPin* Pin
)

Called when one of the pins of this node has had its' pin type changed from an external source (like the SPinTypeSelector in the case of kismet)

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 INodeDependingOnEnumInterface

Name Description

Public function Virtual Const

UEnum *

 

GetEnum()

Public function Virtual

void

 

ReloadEnum

(
    UEnum* InEnum
)

Public function Virtual Const

bool

 

ShouldBeReconstructedAfterEnumChanged()

Overridden from IK2Node_AddPinInterface

Name Description

Public function Virtual

void

 

AddInputPin()

Add an additional input pin to this node

Public function Virtual Const

bool

 

CanAddPin()

Determines if a pin can be added to this node.