| UEdGraphSchema::GetActionFilteredWeight()
|
Module |
|
Header |
/Engine/Source/Editor/BlueprintGraph/Classes/EdGraphSchema_K2.h |
Include |
#include "EdGraphSchema_K2.h" |
Source |
/Engine/Source/Editor/BlueprintGraph/Private/EdGraphSchema_K2.cpp |
virtual float GetActionFilteredWeight
(
const FGraphActionListBuilderBase::ActionGroup & InCurrentAction,
const TArray< FString > & InFilterTerms,
const TArray< FString > & InSanitizedFilterTerms,
const TArray< UEdGraphPin * > & DraggedFromPins
) const
Calculate the weight priority of a given action for the context menu.
Parameter |
Description |
---|---|
InCurrentAction |
The current graph action to calculate the weight of. Higher weight = higher preference |
InFilterTerms |
Filter terms that the user has entered into the search box |
InSanitizedFilterTerms |
Sanitized search filters in all caps with no symbols or spaces |
DraggedFromPins |
Any pins that this action was dragged off of |