Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Materials/MaterialExpression.h |
Include |
#include "Materials/MaterialExpression.h" |
Source |
/Engine/Source/Runtime/Engine/Private/Materials/MaterialExpressions.cpp |
bool ContainsInputLoopInternal
(
TArray< class FMaterialExpressionKey > & ExpressionStack,
TSet< class FMaterialExpressionKey > & VisitedExpressions,
const bool bStopOnFunctionCall
)
Checks whether any inputs to this expression create a loop by recursively calling itself and keeping a list of inputs as expression keys.
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 |