Navigation
API > API/Editor > API/Editor/BlueprintGraph
| Name | UK2Node_Switch |
| Type | class |
| Header File | /Engine/Source/Editor/BlueprintGraph/Classes/K2Node_Switch.h |
| Include Path | #include "K2Node_Switch.h" |
Syntax
UCLASS (MinimalAPI, Abstract)
class UK2Node_Switch : public UK2Node
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UEdGraphNode → UK2Node → UK2Node_Switch
Derived Classes
UK2Node_Switch derived class hierarchy
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UK2Node_Switch
(
const FObjectInitializer& ObjectInitializer |
K2Node_Switch.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bHasDefaultPin | uint32 | If true switch has a default pin | K2Node_Switch.h |
|
| FunctionClass | TSubclassOf< class UObject > | The class that the function is from. | K2Node_Switch.h | |
| FunctionName | FName | The function underpining the switch, if required | K2Node_Switch.h |
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bHasDefaultPinValueChanged | bool | Editor-only field that signals a default pin setting change. | K2Node_Switch.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void AddPinToSwitchNode() |
Adds a new execution pin to a switch node | K2Node_Switch.h | |
virtual bool CanRemoveExecutionPin
(
UEdGraphPin* TargetPin |
Whether an execution pin can be removed from the node or not | K2Node_Switch.h | |
UEdGraphPin * GetDefaultPin() |
K2Node_Switch.h | ||
virtual FString GetExportTextForPin
(
const UEdGraphPin* Pin |
K2Node_Switch.h | ||
UEdGraphPin * GetFunctionPin() |
K2Node_Switch.h | ||
virtual FEdGraphPinType GetInnerCaseType() |
K2Node_Switch.h | ||
virtual FName GetPinNameGivenIndex
(
int32 Index |
K2Node_Switch.h | ||
virtual FEdGraphPinType GetPinType() |
Gets the pin type from the schema for the subclass | K2Node_Switch.h | |
UEdGraphPin * GetSelectionPin() |
Getting pin access | K2Node_Switch.h | |
virtual FName GetUniquePinName() |
Gets a unique pin name, the next in the sequence | K2Node_Switch.h | |
virtual void RemovePinFromSwitchNode
(
UEdGraphPin* TargetPin |
Removes the specified execution pin from an switch node | K2Node_Switch.h | |
virtual bool SupportsAddPinButton() |
Determines whether the add button should be enabled | K2Node_Switch.h |
Overridden from UK2Node
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool CanEverRemoveExecutionPin() |
Return whether the node's execution pins should support the remove execution pin action | K2Node_Switch.h | |
virtual FNodeHandlingFunctor * CreateNodeHandler
(
FKismetCompilerContext& CompilerContext |
K2Node_Switch.h | ||
virtual ERedirectType DoPinsMatchForReconstruction
(
const UEdGraphPin* NewPin, |
Whether or not two pins match for purposes of reconnection after reconstruction. | K2Node_Switch.h | |
virtual FText GetMenuCategory() |
Override to provide a default category for specific node types to be listed under. | K2Node_Switch.h |
Overridden from UEdGraphNode
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void AllocateDefaultPins() |
K2Node_Switch.h | ||
virtual FSlateIcon GetIconAndTint
(
FLinearColor& OutColor |
K2Node_Switch.h | ||
virtual FLinearColor GetNodeTitleColor() |
K2Node_Switch.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
K2Node_Switch.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void CreateCasePins() |
K2Node_Switch.h | ||
virtual void CreateFunctionPin() |
K2Node_Switch.h | ||
virtual void CreateSelectionPin() |
K2Node_Switch.h | ||
virtual void RemovePin
(
UEdGraphPin* TargetPin |
K2Node_Switch.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FName GetSelectionPinName() |
K2Node_Switch.h |