UMaterialExpressionFunctionOutput

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Engine

Header

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

Include

#include "Materials/MaterialExpressionFunctionOutput.h"

Syntax

class UMaterialExpressionFunctionOutput : public UMaterialExpression

Variables

Name Description

Public variable

FExpressionInpu...

 

A

Stores the expression in the material function connected to this output.

Public variable

uint32: 1

 

bLastPreviewed

Whether this output was previewed the last time this function was edited.

Public variable

FString

 

Description

The output's description, which will be used as a tooltip on the connector in function call expressions that use this function.

Public variable

FGuid

 

Id

Id of this input, used to maintain references through name changes.

Public variable

FName

 

OutputName

The output's name, which will be drawn on the connector in function call expressions that use this function.

Public variable

int32

 

SortPriority

Controls where the output is displayed relative to the other outputs.

Constructors

Name Description

Public function

UMaterialExpressionFunctionOutput

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function

void

 

ConditionallyGenerateId

(
    bool bForce
)

Generate the Id for this input.

Public function

void

 

ValidateName()

Validate OutputName. Must be called after OutputName is changed to prevent duplicate outputs.

Overridden from UMaterialExpression

Name Description

Public function Virtual

int32

 

Compile

(
    FMaterialCompiler* Compiler,
    int32 OutputIndex
)

Create the new shader code chunk needed for the Abs 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

void

 

GetExpressionToolTip

(
    TArray< FString >& OutToolTip
)

Get a tooltip for the expression itself.

Public function Virtual Const

FName

 

GetInputName

(
    int32 InputIndex
)

Public function Virtual

uint32

 

GetInputType

(
    int32 InputIndex
)

Public function Virtual

bool

 

IsResultMaterialAttributes

(
    int32 OutputIndex
)

Marks certain expression types as outputting material attributes.

Overridden from UObject

Name Description

Public function Virtual

void

 

PostDuplicate

(
    bool bDuplicateForPIE
)

Called after duplication & serialization and before PostLoad.

Public function Virtual

void

 

PostEditChangeProperty

(
    FPropertyChangedEvent& PropertyCha...
)

Called when a property on this object has been modified externally

Public function Virtual

void

 

PostEditImport()

Called after importing property values for this object (paste, duplicate or .t3d import) Allow the object to perform any cleanup for properties which shouldn't be duplicated or are unsupported by the script serialization

Public function Virtual

void

 

PostLoad()

Do any object-specific cleanup required immediately after loading an object.

Public function Virtual

void

 

PreEditChange

(
    FProperty* PropertyAboutToChan...
)

This is called when a property is about to be modified externally

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