Choose your operating system:
Windows
macOS
Linux
| UObjectBase
|
Module |
|
Header |
/Engine/Source/Editor/UnrealEd/Classes/MaterialGraph/MaterialGraph.h |
Include |
#include "MaterialGraph/MaterialGraph.h" |
class UMaterialGraph : public UEdGraph
Name | Description | ||
---|---|---|---|
|
TObjectPtr< cla... |
Material |
Material this Graph represents |
|
MaterialDirtyDelegate |
Marks the Material Editor as dirty so that user prompted to apply change |
|
|
TObjectPtr< cla... |
MaterialFunction |
Material Function this Graph represents (NULL for Materials) |
|
MaterialInputs |
List of Material Inputs (not set up for Material Functions) |
|
|
OriginalMaterialFullName |
The name of the material that we are editing |
|
|
RealtimeDelegate |
Checks if Material Editor is in realtime mode, so we update SGraphNodes every frame |
|
|
TObjectPtr< cla... |
RootNode |
Root node representing Material inputs (NULL for Material Functions) |
|
TObjectPtr< UMa... |
SubgraphExpression |
Expression this subgraph represents (NULL if not subgraph, Material [Function] still populated) |
|
ToggleCollapsedDelegate |
Toggles the bCollapsed flag of a material expression and updates material editor |
Name | Description | |
---|---|---|
|
UMaterialGraph ( |
Name | Description | ||
---|---|---|---|
|
UMaterialGra... |
AddComment ( |
Add a Comment to the Graph |
|
UMaterialGra... |
AddExpression ( |
Add an Expression to the Graph |
|
UMaterialGra... |
AddSubGraph ( |
Add a Subgraph to the Graph |
|
GetUnusedExpressions ( |
Get a list of nodes representing expressions that are not used in the Material |
|
|
IsInputActive ( |
Check whether a material input should be marked as active |
|
|
LinkGraphNodesFromMaterial() |
Link all of the Graph nodes using the Material's connections |
|
|
LinkMaterialExpressionsFromGraph() |
Link the Material using the Graph node's connections |
|
|
RebuildGraph() |
Completely rebuild the graph from the material, removing all old nodes |