UMaterialExpression::ContainsInputLoopInternal

Checks whether any inputs to this expression create a loop by recursively calling itself and keeping a list of inputs as expression keys.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Materials/MaterialExpression.h

Include

#include "Materials/MaterialExpression.h"

Source

/Engine/Source/Runtime/Engine/Private/Materials/MaterialExpressions.cpp

Syntax

bool ContainsInputLoopInternal
(
    TArray< class FMaterialExpressionKey > & ExpressionStack,
    TSet< class FMaterialExpressionKey > & VisitedExpressions,
    const bool bStopOnFunctionCall
)

Remarks

Checks whether any inputs to this expression create a loop by recursively calling itself and keeping a list of inputs as expression keys.

Parameters

Parameter

Description

ExpressionStack

List of expression keys that have been checked already in the current stack

VisitedExpressions

List of all expression keys that have been visited

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss