UEdGraphSchema_K2::GetActionFilteredWeight

Calculate the weight priority of a given action for the context menu.

Windows
MacOS
Linux

Override Hierarchy

UEdGraphSchema::GetActionFilteredWeight()

UEdGraphSchema_K2::GetActionFilteredWeight()

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

Syntax

virtual float GetActionFilteredWeight
(
    const FGraphActionListBuilderBase::ActionGroup & InCurrentAction,
    const TArray< FString > & InFilterTerms,
    const TArray< FString > & InSanitizedFilterTerms,
    const TArray< UEdGraphPin * > & DraggedFromPins
) const

Remarks

Calculate the weight priority of a given action for the context menu.

Parameters

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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss