UMaterialGraphNode_Base

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Classes/MaterialGraph/MaterialGraphNode_Base.h

Include

#include "MaterialGraph/MaterialGraphNode_Base.h"

Syntax

class UMaterialGraphNode_Base : public UEdGraphNode

Constructors

Name Description

Public function

UMaterialGraphNode_Base

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function Virtual

void

 

CreateInputPins()

Create all of the input pins required

Public function Virtual

void

 

CreateOutputPins()

Create all of the output pins required

Protected function

void

 

EmptyPins()

Public function Const

UEdGraphPin ...

 

GetExecInputPin()

Gets the exec input pin

Public function Const

UEdGraphPin ...

 

GetExecOutputPin

(
    int32 OutputIndex
)

Get a single exec Output Pin via its index

Public function Const

UEdGraphPin ...

 

GetInputPin

(
    int32 InputIndex
)

Get a single Input Pin via its index

Public function Const

uint32

 

GetInputType

(
    const UEdGraphPin* InputPin
)

Get the Material value type of an input pin

Public function Const

UEdGraphPin ...

 

GetOutputPin

(
    int32 OutputIndex
)

Get a single Output Pin via its index

Public function Const

uint32

 

GetOutputType

(
    const UEdGraphPin* OutputPin
)

Get the Material value type of an output pin

Protected function Virtual Const

uint32

 

GetPinMaterialType

(
    const UEdGraphPin* Pin
)

Public function

void

 

InsertNewNode

(
    UEdGraphPin* FromPin,
    UEdGraphPin* NewLinkPin,
    TSet< UEdGraphNode* >& OutNod...
)

Handles inserting the node between the FromPin and what the FromPin was original connected to

Public function Virtual Const

bool

 

IsRootNode()

Is this the undeletable root node

Protected function Const

void

 

ModifyAndCopyPersistentPinData

(
    UEdGraphPin& TargetPin,
    const UEdGraphPin& SourcePin
)

Public function

void

 

ReplaceNode

(
    UMaterialGraphNode_Base* OldNo...
)

Replace a given node with this one, changing all pin links

Overridden from UEdGraphNode

Name Description

Public function Virtual

void

 

AllocateDefaultPins()

Allocate default pins for a given node, based only the NodeType, which should already be filled in.

Public function Virtual

void

 

AutowireNewNode

(
    UEdGraphPin* FromPin
)

Autowire a newly created node.

Public function Virtual Const

bool

 

CanCreateUnderSpecifiedSchema

(
    const UEdGraphSchema* Schema
)

Determine if this node can be created under the specified schema

Public function Virtual Const

FString

 

GetDocumentationLink()

Returns the link used for external documentation for the graph node

Public function Virtual

void

 

PostPasteNode()

Perform any fixups (deep copies of associated data, etc...) necessary after a node has been pasted in the editor

Public function Virtual

void

 

ReconstructNode()

Refresh the connectors on a node, preserving as many connections as it can.

Public function Virtual

void

 

RemovePinAt

(
    const int32 PinIndex,
    const EEdGraphPinDirection PinDirec...
)

Removes the specified pin from the node, preserving remaining pin ordering.