Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Materials
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Materials/MaterialExpression.h |
| Include | #include "Materials/MaterialExpression.h" |
Syntax
struct FMaterialExpressionCollection
Variables
| Type | Name | Description | |
|---|---|---|---|
| TArray< TObjectPtr< UMaterialExpressionComment > > | EditorComments | Array of comments associated with this material; viewed in the material editor. | |
| TObjectPtr< UMaterialExpressionExecBegin > | ExpressionExecBegin | The execution begin expression, if material is using an exec wire | |
| TObjectPtr< UMaterialExpressionExecEnd > | ExpressionExecEnd | ||
| TArray< TObjectPtr< UMaterialExpression > > | Expressions | Array of material expressions, excluding Comments. Used by the material editor. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddComment
(
UMaterialExpressionComment* InExpression |
||
| void | AddExpression
(
UMaterialExpression* InExpression |
||
| void | Empty () |
||
| void | RemoveComment
(
UMaterialExpressionComment* InExpression |
||
| void | RemoveExpression
(
UMaterialExpression* InExpression |