Navigation
Unreal Engine C++ API Reference > Editor > MaterialEditor
Inheritance Hierarchy
References
Module | MaterialEditor |
Header | /Engine/Source/Editor/MaterialEditor/Public/FindInMaterial.h |
Include | #include "FindInMaterial.h" |
Syntax
class SFindInMaterial : public [SCompoundWidget](API\Runtime\SlateCore\Widgets\SCompoundWidget)
Remarks
Widget for searching for items that are part of a UEdGraph
Variables
Type | Name | Description |
---|---|---|
FText | HighlightText | The string to highlight in the results |
TArray< FSearch... | ItemsFound | This buffer stores the currently displayed results |
TWeakPtr< class... | MaterialEditorPtr | Pointer back to the Material editor that owns us |
FSearchResult | RootSearchResult | We need to keep a handle on the root result, because it won't show up in the tree |
TSharedPtr< cla... | SearchTextField | The search text box |
FString | SearchValue | The string to search for |
TSharedPtr< STr... | TreeView | The tree view displays the results |
Functions
Type | Name | Description |
---|---|---|
void | Construct ( const FArguments& InArgs, TSharedPtr< class FMaterialEditor >... ) | |
void | FocusForUse () | Focuses this widget's search box |
void | InitiateSearch () | Begins the search based on the SearchValue |
void | MatchTokens ( const TArray< FString >& Tokens ) | Find any results that contain all of the tokens |
void | MatchTokensInGraph ( const UEdGraph* Graph, const TArray< FString >& Tokens ) | Find any results that contain all of the tokens in provided graph and subgraphs |
TSharedRef< ... | OnGenerateRow ( FSearchResult InItem, const TSharedRef< STableViewBase > ... ) | Called when a new row is being generated |
void | OnGetChildren ( FSearchResult InItem, TArray< FSearchResult >& OutChildr... ) | Get the children of a row |
void | OnSearchTextChanged ( const FText& Text ) | Called when user changes the text they are searching for |
void | OnSearchTextCommitted ( const FText& Text, ETextCommit::Type CommitType ) | Called when user changes commits text to the search box |
void | OnTreeSelectionChanged ( FSearchResult Item, ESelectInfo::Type SelectInfo ) | Called when user clicks on a new result |
void | OnTreeSelectionDoubleClick ( FSearchResult Item ) | Called when user double clicks on a new result |
bool | StringMatchesSearchTokens ( const TArray< FString >& Tokens, const FString& ComparisonString ) | Determines if a string matches the search tokens |
Classes
Type | Name | Description |
---|---|---|
Public struct | FArguments |
Typedefs
Name | Description |
---|---|
FSearchResult | |
STreeViewType |