Navigation
API > API/Runtime > API/Runtime/Engine
This struct provides a way to iterate over the outputs of a given UMaterialExpression. It starts from the first output and advances through subsequent outputs until all are iterated through.
Usage:
UMaterialExpression*MyExpression=...;for(FExpressionOutputIteratorIt{MyExpression};It;++It){//Processtheoutput,e.g.It->Output->IsConnected();}
| Name | FExpressionOutputIterator |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Public/Materials/MaterialExpression.h |
| Include Path | #include "Materials/MaterialExpression.h" |
Syntax
struct FExpressionOutputIterator
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FExpressionOutputIterator
(
UMaterialExpression* InExpression |
Materials/MaterialExpression.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Expression | UMaterialExpression * | The expression whose outputs to iterate through. | Materials/MaterialExpression.h | |
| Index | int | Current output index. | Materials/MaterialExpression.h | |
| Output | FExpressionOutput * | Current output. | Materials/MaterialExpression.h |
Functions
Public
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
operator bool() |
Materials/MaterialExpression.h | ||
FExpressionOutputIterator & operator++() |
Materials/MaterialExpression.h | ||
FExpressionOutput * operator->() |
Materials/MaterialExpression.h |