UMaterialGraphNode_Base

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

Public function Virtual Const

int32

 

GetInputIndex

(
    const UEdGraphPin* InputPin
)

Get the Material Expression input index from an input pin

Public function Const

UEdGraphPin ...

 

GetInputPin

(
    int32 InputIndex
)

Get a single Input Pin via its index

Public function Const

void

 

GetInputPins

(
    TArray< class UEdGraphPin* >&...
)

Get all of the Input Pins

Public function Virtual 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

void

 

GetOutputPins

(
    TArray< class UEdGraphPin* >&...
)

Get all of the Output Pins

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

 

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.

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