Navigation
API > API/Runtime > API/Runtime/Engine
| Name | FExpressionInput |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Public/MaterialExpressionIO.h |
| Include Path | #include "MaterialExpressionIO.h" |
Syntax
struct FExpressionInput
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FExpressionInput() |
MaterialExpressionIO.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Expression | UMaterialExpression * | Material expression that this input is connected to, or NULL if not connected. | MaterialExpressionIO.h | |
| InputName | FName | Optional name of the input. | MaterialExpressionIO.h | |
| Mask | int32 | Input value component mask. | MaterialExpressionIO.h | |
| MaskA | int32 | MaterialExpressionIO.h | ||
| MaskB | int32 | MaterialExpressionIO.h | ||
| MaskG | int32 | MaterialExpressionIO.h | ||
| MaskR | int32 | MaterialExpressionIO.h | ||
| OutputIndex | int32 | Index into Expression's outputs array that this input is connected to. | MaterialExpressionIO.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
int32 Compile
(
FMaterialCompiler* Compiler |
MaterialExpressionIO.h | ||
void Connect
(
int32 InOutputIndex, |
Connects output of InExpression to this input | MaterialExpressionIO.h | |
FExpressionOutput * GetConnectedOutput() |
Returns the connected expression output if this input is connected to one, nullptr otherwise. | MaterialExpressionIO.h | |
FExpressionInput GetTracedInput() |
If this input goes through reroute nodes or other paths that should not affect code, trace back on the input chain. | MaterialExpressionIO.h | |
bool IsConnected() |
Tests if the input has a material expression connected to it | MaterialExpressionIO.h | |
bool IsConstant() |
Is the input connected to a constant value | MaterialExpressionIO.h | |
bool Serialize
(
FArchive& Ar |
ICPPStructOps interface | MaterialExpressionIO.h | |
void SetMask
(
int32 UseMask, |
Helper for setting component mask. | MaterialExpressionIO.h |