UMaterialGraphNode_Root

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

UMaterial *

 

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

int32

 

GetInputIndex

(
    const UEdGraphPin* InputPin
)

Get the Material Expression input index from an input pin

Public function Virtual Const

uint32

 

GetInputType

(
    const UEdGraphPin* InputPin
)

Get the Material value type of an input 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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss