Navigation
API > API/Editor > API/Editor/Kismet
Inheritance Hierarchy
- TSharedFromThis
- FDragDropOperation
- FGraphEditorDragDropAction
- FGraphSchemaActionDragDropAction
- FMyBlueprintItemDragDropAction
- FKismetVariableDragDropAction
References
| Module | Kismet |
| Header | /Engine/Source/Editor/Kismet/Public/BPVariableDragDropAction.h |
| Include | #include "BPVariableDragDropAction.h" |
Syntax
class FKismetVariableDragDropAction : public FMyBlueprintItemDragDropAction
Remarks
DragDropAction class for dropping a Variable onto a graph
Variables
| Type | Name | Description | |
|---|---|---|---|
| FName | VariableName | Name of variable being dragged | |
| TWeakObjectPtr< UStruct > | VariableSource | Scope this variable belongs to |
Constructors
| Type | Name | Description | |
|---|---|---|---|
| Construct a FKismetVariableDragDropAction |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | CanExecuteMakeSetter
(
FNodeConstructionParams InParams, |
Called too check if we can execute a setter on a given property | |
| bool | CanVariableBeDropped
(
const FProperty* InVariableProperty, |
Checks if the property can be dropped in a graph | |
| void | GetLinksThatWillBreak
(
UEdGraphNode* Node, |
Test new variable type against existing links for node and get any links that will break | |
| UStruct * | Returns the local variable's scope, if any | ||
| const FString & | GetTypeId () |
||
| FProperty * | |||
| void | MakeGetter
(
FNodeConstructionParams InParams |
Called when user selects to create a Getter for the variable | |
| void | MakeSetter
(
FNodeConstructionParams InParams |
Called when user selects to create a Setter for the variable | |
| TSharedRef< FKismetVariableDragDropAction > | New
(
TSharedPtr< FEdGraphSchemaAction > InAction, |
||
| bool | WillBreakLinks
(
UEdGraphNode* Node, |
Indicates if replacing the variable node, with the new property will require any links to be broken |
Overridden from FMyBlueprintItemDragDropAction
| Type | Name | Description | |
|---|---|---|---|
| UBlueprint * |
Overridden from FGraphSchemaActionDragDropAction
| Type | Name | Description | |
|---|---|---|---|
| void | GetDefaultStatusSymbol
(
const FSlateBrush*& PrimaryBrushOut, |
Overridden from FGraphEditorDragDropAction
| Type | Name | Description | |
|---|---|---|---|
| FReply | DroppedOnNode
(
FVector2D ScreenPosition, |
||
| FReply | DroppedOnPanel
(
const TSharedRef< class SWidget >& Panel, |
||
| FReply | DroppedOnPin
(
FVector2D ScreenPosition, |
||
| void | Interface to override. |
Overridden from FDragDropOperation
| Type | Name | Description | |
|---|---|---|---|
| bool | IsOfTypeImpl
(
const FString& Type |
Checks whether this drag and drop operation can cast safely to the specified type. |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FNodeConstructionParams | Structure for required node construction parameters |