UMaterialExpressionRerouteBase::TraceInputsToRealExpression

Trace through the graph to find the first non Reroute node connected to this input.

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "Materials/MaterialExpressionRerouteBase.h"

Source

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

Syntax

UMaterialExpression * TraceInputsToRealExpression
(
    int32 & OutputIndex
) const

Remarks

Trace through the graph to find the first non Reroute node connected to this input. If there is a loop for some reason, we will bail out and return nullptr.

Returns

The final traced material expression.

Parameters

Parameter

Description

OutputIndex

The output index of the connection that was traced back.

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