Choose your operating system:
Windows
macOS
Linux
| UEdGraphSchema::GetActionFilteredWeight()
|
Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/EdGraph/EdGraphSchema.h |
Include |
#include "EdGraph/EdGraphSchema.h" |
Source |
/Engine/Source/Runtime/Engine/Private/EdGraph/EdGraphSchema.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 |