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.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback