Navigation
API > API/Editor > API/Editor/MaterialEditor
Inheritance Hierarchy
- FSlateControlledConstruction
- TSharedFromThis
- SWidget
- SCompoundWidget
- SFindInMaterial
References
| Module | MaterialEditor |
| Header | /Engine/Source/Editor/MaterialEditor/Public/FindInMaterial.h |
| Include | #include "FindInMaterial.h" |
Syntax
class SFindInMaterial : public 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< FSearchResult > | ItemsFound | This buffer stores the currently displayed results | |
| TWeakPtr< class FMaterialEditor > | 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< class SSearchBox > | SearchTextField | The search text box | |
| FString | SearchValue | The string to search for | |
| TSharedPtr< STreeViewType > | TreeView | The tree view displays the results |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Construct
(
const FArguments& InArgs, |
||
| void | FocusForUse () |
Focuses this widget's search box | |
| void | 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, |
Find any results that contain all of the tokens in provided graph and subgraphs | |
| TSharedRef< ITableRow > | OnGenerateRow
(
FSearchResult InItem, |
Called when a new row is being generated | |
| void | OnGetChildren
(
FSearchResult InItem, |
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, |
Called when user changes commits text to the search box | |
| void | OnTreeSelectionChanged
(
FSearchResult Item, |
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, |
Determines if a string matches the search tokens |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FArguments |
Typedefs
| Name | Description |
|---|---|
| FSearchResult | |
| STreeViewType |