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.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback