Navigation
API > API/Editor > API/Editor/Kismet
DragDropAction class for dropping a Variable onto a graph
| Name | FKismetVariableDragDropAction |
| Type | class |
| Header File | /Engine/Source/Editor/Kismet/Public/BPVariableDragDropAction.h |
| Include Path | #include "BPVariableDragDropAction.h" |
Syntax
class FKismetVariableDragDropAction : public FMyBlueprintItemDragDropAction
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → FDragDropOperation → FGraphEditorDragDropAction → FGraphSchemaActionDragDropAction → FMyBlueprintItemDragDropAction → FKismetVariableDragDropAction
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FKismetVariableDragDropAction() |
Construct a FKismetVariableDragDropAction | BPVariableDragDropAction.h |
Structs
| Name | Remarks |
|---|---|
| FNodeConstructionParams | Structure for required node construction parameters |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FReply DroppedOnNode
(
const FVector2f& ScreenPosition, |
BPVariableDragDropAction.h | ||
virtual FReply DroppedOnPanel
(
const TSharedRef< class SWidget >& Panel, |
BPVariableDragDropAction.h | ||
virtual FReply DroppedOnPin
(
const FVector2f& ScreenPosition, |
BPVariableDragDropAction.h | ||
FProperty * GetVariableProperty() |
BPVariableDragDropAction.h |
Overridden from FMyBlueprintItemDragDropAction
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void HoverTargetChanged() |
BPVariableDragDropAction.h | ||
virtual bool IsOfTypeImpl
(
const FString& Type |
BPVariableDragDropAction.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool CanVariableBeDropped
(
const FProperty* InVariableProperty, |
Checks if the property can be dropped in a graph | BPVariableDragDropAction.h | |
virtual void GetDefaultStatusSymbol
(
const FSlateBrush*& PrimaryBrushOut, |
BPVariableDragDropAction.h | ||
void GetLinksThatWillBreak
(
UEdGraphNode* Node, |
Test new variable type against existing links for node and get any links that will break | BPVariableDragDropAction.h | |
UStruct * GetLocalVariableScope() |
Returns the local variable's scope, if any | BPVariableDragDropAction.h | |
bool WillBreakLinks
(
UEdGraphNode* Node, |
Indicates if replacing the variable node, with the new property will require any links to be broken | BPVariableDragDropAction.h |
Overridden from FMyBlueprintItemDragDropAction
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual UBlueprint * GetSourceBlueprint() |
BPVariableDragDropAction.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static bool CanExecuteMakeSetter
(
FNodeConstructionParams InParams, |
Called too check if we can execute a setter on a given property | BPVariableDragDropAction.h | |
static const FString & GetTypeId() |
BPVariableDragDropAction.h | ||
static void MakeGetter
(
FNodeConstructionParams InParams |
Called when user selects to create a Getter for the variable | BPVariableDragDropAction.h | |
static void MakeSetter
(
FNodeConstructionParams InParams |
Called when user selects to create a Setter for the variable | BPVariableDragDropAction.h | |
static TSharedRef< FKismetVariableDragDropAction > New
(
TSharedPtr< FEdGraphSchemaAction > InAction, |
BPVariableDragDropAction.h |