Navigation
API > API/Editor > API/Editor/BlueprintGraph
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UEdGraphNode
- UK2Node
- UK2Node_Switch
- UGameplayTagsK2Node_SwitchGameplayTag
- UGameplayTagsK2Node_SwitchGameplayTagContainer
- UK2Node_SwitchEnum
- UK2Node_SwitchInteger
- UK2Node_SwitchName
- UK2Node_SwitchString
References
| Module | BlueprintGraph |
| Header | /Engine/Source/Editor/BlueprintGraph/Classes/K2Node_Switch.h |
| Include | #include "K2Node_Switch.h" |
Syntax
class UK2Node_Switch : public UK2Node
Variables
| Type | Name | Description | |
|---|---|---|---|
| uint32: 1 | bHasDefaultPin | If true switch has a default pin | |
| TSubclassOf< class UObject > | FunctionClass | The class that the function is from. | |
| FName | FunctionName | The function underpining the switch, if required |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UK2Node_Switch
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Adds a new execution pin to a switch node | ||
| bool | CanRemoveExecutionPin
(
UEdGraphPin* TargetPin |
Whether an execution pin can be removed from the node or not | |
| void | |||
| void | |||
| void | |||
| UEdGraphPin * | |||
| FString | GetExportTextForPin
(
const UEdGraphPin* Pin |
||
| UEdGraphPin * | |||
| FEdGraphPinType | |||
| FName | GetPinNameGivenIndex
(
int32 Index |
||
| FEdGraphPinType | GetPinType () |
Gets the pin type from the schema for the subclass | |
| UEdGraphPin * | Getting pin access | ||
| FName | |||
| FName | Gets a unique pin name, the next in the sequence | ||
| void | RemovePin
(
UEdGraphPin* TargetPin |
||
| 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 | ||
| FNodeHandlingFunctor * | CreateNodeHandler
(
FKismetCompilerContext& CompilerContext |
||
| ERedirectType | DoPinsMatchForReconstruction
(
const UEdGraphPin* NewPin, |
Whether or not two pins match for purposes of reconnection after reconstruction. | |
| FText | Override to provide a default category for specific node types to be listed under. |
Overridden from UEdGraphNode
| Type | Name | Description | |
|---|---|---|---|
| void | Allocate default pins for a given node, based only the NodeType, which should already be filled in. | ||
| FSlateIcon | GetIconAndTint
(
FLinearColor& OutColor |
||
| FLinearColor | Gets the draw color of a node's title bar |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Called when a property on this object has been modified externally |