Navigation
API > API/Editor > API/Editor/BlueprintGraph
Inheritance Hierarchy
- UEdGraphNode
- UK2Node
- UK2Node_Switch
- UK2Node_SwitchEnum
References
| Module | BlueprintGraph |
| Header | /Engine/Source/Editor/BlueprintGraph/Classes/K2Node_SwitchEnum.h |
| Include | #include "K2Node_SwitchEnum.h" |
Syntax
UCLASS (MinimalAPI)
class UK2Node_SwitchEnum :
public UK2Node_Switch ,
public INodeDependingOnEnumInterface
Variables
| Type | Name | Description | |
|---|---|---|---|
| TObjectPtr< UEnum > | Enum | Name of the enum being switched on | |
| TArray< FName > | EnumEntries | List of the current entries in the enum | |
| TArray< FText > | EnumFriendlyNames | List of the current entries in the enum |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UK2Node_SwitchEnum
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddPinSearchMetaDataInfo
(
const UEdGraphPin* Pin, |
||
| bool | |||
| FText | GetNodeTitle
(
ENodeTitleType::Type TitleType |
||
| FText | |||
| void | SetEnum
(
UEnum* InEnum |
Bind the switch to a named enum |
Overridden from UK2Node_Switch
| Type | Name | Description | |
|---|---|---|---|
| void | Adds a new execution pin to a switch node | ||
| void | Helper method to set-up pins | ||
| void | Helper method to set-up correct selection pin | ||
| FEdGraphPinType | GetPinType () |
Gets the pin type from the schema for the subclass | |
| void | RemovePin
(
UEdGraphPin* TargetPin |
Don't support removing pins from an enum | |
| void | RemovePinFromSwitchNode
(
UEdGraphPin* TargetPin |
Removes the specified execution pin from an switch node | |
| bool | Determines whether the add button should be enabled |
Overridden from UK2Node
| Type | Name | Description | |
|---|---|---|---|
| bool | Return whether the node's execution pins should support the remove execution pin action | ||
| ERedirectType | DoPinsMatchForReconstruction
(
const UEdGraphPin* NewPin, |
Whether or not two pins match for purposes of reconnection after reconstruction. | |
| void | GetMenuActions
(
FBlueprintActionDatabaseRegistrar& ActionRegistrar |
Replacement for GetMenuEntries(). | |
| bool | IsConnectionDisallowed
(
const UEdGraphPin* MyPin, |
||
| void | Called before compilation begins, giving a blueprint time to force the linker to load data |
Overridden from INodeDependingOnEnumInterface
| Type | Name | Description | |
|---|---|---|---|
| UEnum * | GetEnum () |
||
| void | ReloadEnum
(
UEnum* InEnum |
||
| bool |