Navigation
API > API/Editor > API/Editor/MaterialEditor
References
| Module | MaterialEditor |
| Header | /Engine/Source/Editor/MaterialEditor/Public/FindInMaterial.h |
| Include | #include "FindInMaterial.h" |
Syntax
class FFindInMaterialResult
Remarks
Item that matched the search results
Variables
| Type | Name | Description | |
|---|---|---|---|
| TArray< TSharedPtr< FFindInMaterialResult > > | Children | Any children listed under this category | |
| UClass * | Class | The class this item refers to | |
| FString | CommentText | Display text for comment information | |
| int | DuplicationIndex | The graph may have multiple instances of whatever we are looking for, this tells us which instance # we refer to | |
| TWeakObjectPtr< UEdGraphNode > | GraphNode | The graph node that this search result refers to (if not by asset registry or UK2Node) | |
| TWeakPtr< FFindInMaterialResult > | Parent | Search result Parent | |
| FEdGraphPinReference | Pin | The pin that this search result refers to | |
| FString | Value | The meta string that was stored in the asset registry for this item |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FFindInMaterialResult
(
const FString& InValue |
Create a root (or only text) result | ||
FFindInMaterialResult
(
const FString& InValue, |
Create a listing for a pin result | ||
FFindInMaterialResult
(
const FString& InValue, |
Create a listing for a node result | ||
FFindInMaterialResult
(
const FString& InValue, |
Create a listing for a search result |
Functions
| Type | Name | Description | |
|---|---|---|---|
| TSharedRef< SWidget > | CreateIcon () |
Create an icon to represent the result | |
| FText | GetCategory () |
Get Category for this search result | |
| FString | Gets the comment on this node if any | ||
| FString | GetValueText () |
Gets the value of the pin if any | |
| FReply | Called when user clicks on the search item |