Navigation
Unreal Engine C++ API Reference > Editor > Kismet
Inheritance Hierarchy
References
Module | Kismet |
Header | /Engine/Source/Editor/Kismet/Public/BPVariableDragDropAction.h |
Include | #include "BPVariableDragDropAction.h" |
Syntax
class FKismetVariableDragDropAction : public [FMyBlueprintItemDragDropAction](API\Editor\Kismet\FMyBlueprintItemDragDropAction)
Remarks
DragDropAction class for dropping a Variable onto a graph
Variables
Type | Name | Description |
---|---|---|
FName | VariableName | Name of variable being dragged |
TWeakObjectPtr<... | VariableSource | Scope this variable belongs to |
Constructors
Type | Name | Description |
---|---|---|
FKismetVariableDragDropAction () | Construct a FKismetVariableDragDropAction |
Functions
Type | Name | Description |
---|---|---|
bool | CanExecuteMakeSetter ( FNodeConstructionParams InParams, FProperty* InVariableProperty ) | Called too check if we can execute a setter on a given property |
bool | CanVariableBeDropped ( const FProperty* InVariablePro..., const UEdGraph& InGraph ) | Checks if the property can be dropped in a graph |
void | GetLinksThatWillBreak ( UEdGraphNode* Node, FProperty* NewVariableProperty, TArray< class UEdGraphPin* >&... ) | Test new variable type against existing links for node and get any links that will break |
UStruct *... | GetLocalVariableScope () | Returns the local variable's scope, if any |
const FStrin... | GetTypeId () | |
FProperty &#... | GetVariableProperty () | |
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< ... | New ( TSharedPtr< FEdGraphSchemaAction > ..., FName InVariableName, UStruct* InVariableSource, FNodeCreationAnalytic AnalyticCallb... ) | |
bool | WillBreakLinks ( UEdGraphNode* Node, FProperty* NewVariableProperty ) | Indicates if replacing the variable node, with the new property will require any links to be broken |
Overridden from FMyBlueprintItemDragDropAction
Type | Name | Description |
---|---|---|
UBlueprint &... | GetSourceBlueprint () |
Overridden from FGraphSchemaActionDragDropAction
Type | Name | Description |
---|---|---|
void | GetDefaultStatusSymbol ( const FSlateBrush*& PrimaryBru..., FSlateColor& IconColorOut, FSlateBrush const*& SecondaryB..., FSlateColor& SecondaryColorOut ) |
Overridden from FGraphEditorDragDropAction
Type | Name | Description |
---|---|---|
FReply | DroppedOnNode ( FVector2D ScreenPosition, FVector2D GraphPosition ) | |
FReply | DroppedOnPanel ( const TSharedRef< class SWidget >&..., FVector2D ScreenPosition, FVector2D GraphPosition, UEdGraph& Graph ) | |
FReply | DroppedOnPin ( FVector2D ScreenPosition, FVector2D GraphPosition ) | |
void | HoverTargetChanged () | 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 |
---|---|---|
Protected struct | FNodeConstructionParams | Structure for required node construction parameters |