Module |
|
Header |
/Engine/Source/Editor/GraphEditor/Public/SGraphActionMenu.h |
Include |
#include "SGraphActionMenu.h" |
Source |
/Engine/Source/Editor/GraphEditor/Private/SGraphActionMenu.cpp |
float GetActionFilteredWeight
(
const FGraphActionListBuilderBase::ActionGroup & InCurrentAction,
const TArray< FString > & InFilterTerms,
const TArray< FString > & InSanitizedFilterTerms,
FContextMenuWeightDebugInfo & OutDebugInfo
)
Get the 'weight' of the given action relevance to a given filter list
the weight of this action group
Parameter |
Description |
---|---|
InCurrentAction |
The action to check how good of a match it is |
InFilterTerms |
The filter terms that the user has typed in to go off of |
InSanitizedFilterTerms |
The sanitized filter terms to go off of |
OutDebugInfo |
Debug info about the weight so that the user can tweak how things are matched |