UMaterialGraphNode_Root

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

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

Name Description

Public variable

TObjectPtr< cla...

 

Material

Material whose inputs this root node represents

Constructors

Name Description

Public function

UMaterialGraphNode_Root

(
    const FObjectInitializer& ObjectIn...
)

Overridden from UMaterialGraphNode_Base

Name Description

Public function Virtual

void

 

CreateInputPins()

Create all of the input pins required

Public function Virtual Const

uint32

 

GetPinMaterialType

(
    const UEdGraphPin* Pin
)

Public function Virtual Const

bool

 

IsRootNode()

Is this the undeletable root node

Overridden from UEdGraphNode

Name Description

Public function Virtual Const

bool

 

CanDuplicateNode()

Whether or not this node can be safely duplicated (via copy/paste, etc...) in the graph

Public function Virtual Const

bool

 

CanUserDeleteNode()

Whether or not this node can be deleted by user action

Public function Virtual Const

FText

 

GetNodeTitle

(
    ENodeTitleType::Type TitleType
)

Gets the name of this node, shown in title bar

Public function Virtual Const

FLinearColor

 

GetNodeTitleColor()

Gets the draw color of a node's title bar

Public function Virtual Const

FText

 

GetTooltipText()

Gets the tooltip to display when over the node

Public function Virtual

void

 

PostPlacedNewNode()

A chance to initialize a new node; called just once when a new node is created, before AutowireNewNode or AllocateDefaultPins is called.