FExpressionInput

[FExpressionInput](API\Runtime\Engine\FExpressionInput)

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/MaterialExpressionIO.h

Include

#include "MaterialExpressionIO.h"

Syntax

struct FExpressionInput

Remarks

Variables

Name Description

Public variable

UMaterialExpres...

 

Expression

Material expression that this input is connected to, or NULL if not connected.

Public variable

FName

 

ExpressionName

Material expression name that this input is connected to, or None if not connected.

Public variable

FName

 

InputName

Optional name of the input.

Public variable

int32

 

Mask

Public variable

int32

 

MaskA

Public variable

int32

 

MaskB

Public variable

int32

 

MaskG

Public variable

int32

 

MaskR

Public variable

int32

 

OutputIndex

Index into Expression's outputs array that this input is connected to.

Constructors

Name Description

Public function

FExpressionInput()

Functions

Name Description

Public function

int32

 

Compile

(
    FMaterialCompiler* Compiler
)

Public function

void

 

Connect

(
    int32 InOutputIndex,
    UMaterialExpression* InExpress...
)

Connects output of InExpression to this input

Public function Const

FExpressionI...

 

GetTracedInput()

If this input goes through reroute nodes or other paths that should not affect code, trace back on the input chain.

Public function Const

bool

 

IsConnected()

Tests if the input has a material expression connected to it

Public function

bool

 

Serialize

(
    FArchive& Ar
)

ICPPStructOps interface

Public function

void

 

SetMask

(
    int32 UseMask,
    int32 R,
    int32 G,
    int32 B,
    int32 A
)

Helper for setting component mask.

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