| FWorkflowCentricApplication | ||
| IHasMenuExtensibility | ||
| IHasToolBarExtensibility
|
Module |
|
Header |
/Engine/Source/Editor/MaterialEditor/Public/IMaterialEditor.h |
Include |
#include "IMaterialEditor.h" |
class IMaterialEditor :
public FWorkflowCentricApplication,
public IHasMenuExtensibility,
public IHasToolBarExtensibility
Public interface to Material Editor
Name | Description | ||
---|---|---|---|
|
void |
AddToSelection ( |
Add the specified material expression's graph node to the list of selected nodes |
|
bool |
ApproveSetPreviewAsset ( |
Allows editor to veto the setting of a preview mesh |
|
bool |
CanPasteNodes() |
Checks whether nodes can currently be pasted |
|
UMaterialExp... |
CreateNewMaterialExpression |
Creates a new material expression of the specified class. |
|
UMaterialExp... |
CreateNewMaterialExpressionComment ( |
Creates a new material expression comment |
|
UMaterialExp... |
CreateNewMaterialExpressionComposite ( |
Creates a new material expression composite, along with related child pinbase expressions |
|
void |
DeleteNodes ( |
Delete an array of Material Graph Nodes and their corresponding expressions/comments |
|
void |
DeleteSelectedNodes() |
Disconnects and removes the selected material graph nodes. |
|
void |
DrawMessages |
Draws messages on the specified viewport and canvas. |
|
void |
ForceRefreshExpressionPreviews() |
Refreshes all material expression previews, regardless of whether or not realtime previews are enabled. |
|
void |
GenerateInheritanceMenu ( |
Fills inheritance drop down menu |
|
void |
GetBoundsForNode ( |
Get the visible bounds of the given graph node |
|
FMaterialRen... |
GetExpressionPreview ( |
Gets the preview for an expression |
|
UMaterialInt... |
GetMaterialInterface() |
The material instance applied to the preview mesh. |
|
int32 |
GetNumberOfSelectedNodes() |
Gets the number of selected nodes |
|
GetOriginalObjectName() |
Gets the name of the material or material function that we are editing |
|
|
GetSelectedNodes() |
Get the currently selected set of nodes |
|
|
void |
JumpToExpression ( |
Jumps to the node for this expression, if possible |
|
void |
JumpToHyperlink ( |
Jumps to a specific node or graph |
|
void |
NotifyExternalMaterialChange() |
Call this to notify the editor that the edited material changed from outside |
|
FMaterialEdi... |
OnMaterialEditorClosed() |
|
|
FRegisterTab... |
OnRegisterTabSpawners() |
|
|
FUnregisterT... |
OnUnregisterTabSpawners() |
|
|
void |
PasteNodesHere ( |
Paste nodes at a specific location |
|
void |
UpdateDetailView() |
|
|
void |
UpdateMaterialAfterGraphChange() |
Re-links the material and updates its representation in the editor, used when graph is changed outside of editor code. |
|
void |
UpdateSearch ( |
Updates the SearchResults array based on the search query |
Name |
Description |
|
---|---|---|
|
FMaterialEditorClosedEvent |
Delegate to be called when this IMaterialEditor is about to be destroyed |
|
FRegisterTabSpawnersEvent |
Delegate to be called when the tabs are being registered |
|
FUnregisterTabSpawnersEvent |
Delegate to be called when the tabs are being unregistered |