UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FMaterialExpressionCollection Struct Reference

#include <MaterialExpression.h>

Public Member Functions

ENGINE_API void AddExpression (UMaterialExpression *InExpression)
 
ENGINE_API void RemoveExpression (UMaterialExpression *InExpression)
 
ENGINE_API void AddComment (UMaterialExpressionComment *InExpression)
 
ENGINE_API void RemoveComment (UMaterialExpressionComment *InExpression)
 
ENGINE_API void Empty ()
 

Public Attributes

TArray< TObjectPtr< UMaterialExpression > > Expressions
 
TArray< TObjectPtr< UMaterialExpressionComment > > EditorComments
 
TObjectPtr< UMaterialExpressionExpressionExecBegin = nullptr
 
TObjectPtr< UMaterialExpressionExpressionExecEnd = nullptr
 

Member Function Documentation

◆ AddComment()

void FMaterialExpressionCollection::AddComment ( UMaterialExpressionComment InExpression)

◆ AddExpression()

void FMaterialExpressionCollection::AddExpression ( UMaterialExpression InExpression)

◆ Empty()

void FMaterialExpressionCollection::Empty ( )

◆ RemoveComment()

void FMaterialExpressionCollection::RemoveComment ( UMaterialExpressionComment InExpression)

◆ RemoveExpression()

void FMaterialExpressionCollection::RemoveExpression ( UMaterialExpression InExpression)

Member Data Documentation

◆ EditorComments

TArray<TObjectPtr<UMaterialExpressionComment> > FMaterialExpressionCollection::EditorComments

Array of comments associated with this material; viewed in the material editor.

◆ ExpressionExecBegin

TObjectPtr<UMaterialExpression> FMaterialExpressionCollection::ExpressionExecBegin = nullptr

The execution begin expression, if material is using an exec wire

◆ ExpressionExecEnd

TObjectPtr<UMaterialExpression> FMaterialExpressionCollection::ExpressionExecEnd = nullptr

◆ Expressions

TArray<TObjectPtr<UMaterialExpression> > FMaterialExpressionCollection::Expressions

Array of material expressions, excluding Comments. Used by the material editor.


The documentation for this struct was generated from the following files: