FFindInMaterialResult

Item that matched the search results

Unreal Engine C++ API Reference > 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< TShared... 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<... GraphNode The graph node that this search result refers to (if not by asset registry or UK2Node)
TWeakPtr< FFind... Parent Search result Parent
FEdGraphPinRefe... 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, TSharedPtr< FFindInMaterialResult >..., UEdGraphPin* InPin ) Create a listing for a pin result
  FFindInMaterialResult ( const FString& InValue, TSharedPtr< FFindInMaterialResult >..., UEdGraphNode* InNode ) Create a listing for a node result
  FFindInMaterialResult ( const FString& InValue, TSharedPtr< FFindInMaterialResult >..., UClass* InClass, int InDuplicationIndex ) Create a listing for a search result

Functions

Type Name Description
TSharedRef< ... CreateIcon () Create an icon to represent the result
FText GetCategory () Get Category for this search result
FString GetCommentText () Gets the comment on this node if any
FString GetValueText () Gets the value of the pin if any
FReply OnClick ( TWeakPtr< class FMaterialEditor > M... ) Called when user clicks on the search item

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library