UMaterialExpressionComposite

Composite (subgraph) expression.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Materials/MaterialExpressionComposite.h

Include

#include "Materials/MaterialExpressionComposite.h"

Syntax

class UMaterialExpressionComposite : public UMaterialExpression

Remarks

  ^                |                       
  |                v                                        

Variables

Name Description

Public variable

TObjectPtr< UMa...

 

InputExpressions

Public variable

TObjectPtr< UMa...

 

OutputExpressions

Public variable

FString

 

SubgraphName

Constructors

Name Description

Public function

UMaterialExpressionComposite

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function Virtual Const

TArray< UMat...

 

GetCurrentReroutes()

Get all reroute expressions used by this composite & its pin bases

Overridden from UMaterialExpression

Name Description

Public function Virtual Const

bool

 

CanRenameNode()

Can this node be renamed?

Public function Virtual

void

 

ConnectExpression

(
    FExpressionInput* Input,
    int32 OutputIndex
)

Connects the specified input expression to the specified output of this expression.

Public function Virtual Const

void

 

GetCaption

(
    TArray< FString >& OutCaptions
)

Returns the text to display on the material expression (in the material editor).

Public function Virtual Const

FString

 

GetEditableName()

Returns the current 'name' of the node (typically a parameter name).

Public function Virtual

FExpressionI...

 

GetInput

(
    int32 InputIndex
)

Public function Virtual Const

FName

 

GetInputName

(
    int32 InputIndex
)

Public function Virtual

const TArray...

 

GetInputs()

Public function Virtual

uint32

 

GetInputType

(
    int32 InputIndex
)

Public function Virtual

TArray< FExp...

 

GetOutputs()

Get the outputs supported by this expression.

Public function Virtual

uint32

 

GetOutputType

(
    int32 OutputIndex
)

Public function Virtual

bool

 

IsExpressionConnected

(
    FExpressionInput* Input,
    int32 OutputIndex
)

Check if input exppresion is directly connected to the material.

Public function Virtual

void

 

SetEditableName

(
    const FString& NewName
)

Sets the current 'name' of the node (typically a parameter name) Only valid to call on a node that previously returned CanRenameNode() = true.

Overridden from UObject

Name Description

Public function Virtual

bool

 

Modify

(
    bool bAlwaysMarkDirty
)

That the object will be modified.

Public function Virtual

void

 

PostEditChangeProperty

(
    FPropertyChangedEvent& PropertyCha...
)

Called when a property on this object has been modified externally