UK2Node_SwitchInteger

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

BlueprintGraph

Header

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

Include

#include "K2Node_SwitchInteger.h"

Syntax

class UK2Node_SwitchInteger : public UK2Node_Switch

Variables

Name Description

Public variable

int32

 

StartIndex

Set the starting index for the node

Constructors

Name Description

Public function

UK2Node_SwitchInteger

(
    const FObjectInitializer& ObjectIn...
)

Overridden from UK2Node_Switch

Name Description

Public function Virtual Const

bool

 

CanRemoveExecutionPin

(
    UEdGraphPin* TargetPin
)

Whether an execution pin can be removed from the node or not

Protected function Virtual

void

 

CreateCasePins()

Protected function Virtual

void

 

CreateSelectionPin()

Public function Virtual Const

FName

 

GetPinNameGivenIndex

(
    int32 Index
)

Public function Virtual Const

FEdGraphPinT...

 

GetPinType()

Gets the pin type from the schema for the subclass

Public function Virtual

FName

 

GetUniquePinName()

Gets a unique pin name, the next in the sequence

Protected function Virtual

void

 

RemovePin

(
    UEdGraphPin* TargetPin
)

Overridden from UK2Node

Name Description

Public function Virtual Const

void

 

GetMenuActions

Replacement for GetMenuEntries().

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)

Public function Virtual Const

bool

 

ShouldShowNodeProperties()

Return whether the node's properties display in the blueprint details panel

Overridden from UEdGraphNode

Name Description

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

Overridden from UObject

Name Description

Public function Virtual

void

 

PostEditChangeProperty

(
    FPropertyChangedEvent& PropertyCha...
)

Called when a property on this object has been modified externally