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