Navigation
Unreal Engine C++ API Reference > Editor > BlueprintGraph > UEdGraphSchema_K2
References
|
|
Module |
BlueprintGraph |
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](API\Runtime\Engine\EdGraph\FGraphActionListBuilderBase\ActionGroup) & InCurrentAction, |
| const [TArray](API\Runtime\Core\Containers\TArray)< [FString](API\Runtime\Core\Containers\FString) > & InFilterTerms, |
| const [TArray](API\Runtime\Core\Containers\TArray)< [FString](API\Runtime\Core\Containers\FString) > & InSanitizedFilterTerms, |
| const [TArray](API\Runtime\Core\Containers\TArray)< [UEdGraphPin](API\Runtime\Engine\EdGraph\UEdGraphPin) * > & DraggedFromPins |
| ) const |
| |
Calculate the weight priority of a given action for the context menu.
Parameters
Name |
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 |