SGraphActionMenu::SelectItemByName

Selects an non-creation item in the list, searching by [FName](API\Runtime\Core\UObject\FName), deselects if name is none

Windows
MacOS
Linux

References

Module

GraphEditor

Header

/Engine/Source/Editor/GraphEditor/Public/SGraphActionMenu.h

Include

#include "SGraphActionMenu.h"

Source

/Engine/Source/Editor/GraphEditor/Private/SGraphActionMenu.cpp

Syntax

bool SelectItemByName
(
    const FName & ItemName,
    ESelectInfo::Type SelectInfo,
    int32 SectionId,
    bool bIsCategory
)

Remarks

Selects an non-creation item in the list, searching by FName, deselects if name is none

Returns

TRUE if the item was successfully selected or the tree cleared, FALSE if unsuccessful

Parameters

Parameter

Description

ItemName

The name of the item to select

SelectInfo

The selection type

SectionId

If known, the section Id to restrict the selection to, useful in the case of categories where they can exist multiple times

bIsCategory

TRUE if the selection is a category, categories obey different rules and it's hard to re-select properly without this knowledge

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