Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/MaterialGraph
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UEdGraphNode
- UMaterialGraphNode_Base
- UMaterialGraphNode_Root
References
| Module | UnrealEd |
| Header | /Engine/Source/Editor/UnrealEd/Classes/MaterialGraph/MaterialGraphNode_Root.h |
| Include | #include "MaterialGraph/MaterialGraphNode_Root.h" |
Syntax
class UMaterialGraphNode_Root : public UMaterialGraphNode_Base
Variables
| Type | Name | Description | |
|---|---|---|---|
| TObjectPtr< class UMaterial > | Material | Material whose inputs this root node represents |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UMaterialGraphNode_Root
(
const FObjectInitializer& ObjectInitializer |
Overridden from UMaterialGraphNode_Base
| Type | Name | Description | |
|---|---|---|---|
| void | Create all of the input pins required | ||
| UObject * | Gets the object that owns this node, typically either a UMaterial, UMaterialFunction, UMaterialExpression | ||
| uint32 | GetPinMaterialType
(
const UEdGraphPin* Pin |
||
| int32 | GetSourceIndexForInputIndex
(
int32 InputIndex |
Returns the SourceIndex associated with a particular FMaterialConnectionKey::InputIndex | |
| bool | IsRootNode () |
Is this the undeletable root node |
Overridden from UEdGraphNode
| Type | Name | Description | |
|---|---|---|---|
| bool | Whether or not this node can be safely duplicated (via copy/paste, etc...) in the graph | ||
| bool | Whether or not this node can be deleted by user action | ||
| FText | GetNodeTitle
(
ENodeTitleType::Type TitleType |
Gets the name of this node, shown in title bar | |
| FLinearColor | Gets the draw color of a node's title bar | ||
| FText | Gets the tooltip to display when over the node | ||
| void | A chance to initialize a new node; called just once when a new node is created, before AutowireNewNode or AllocateDefaultPins is called. |