UMaterialInterface::FStaticParamEvaluationContext::ForEachPendingParameter

Perform an operation on the pending parameters until performed on all pending parameters, or until the operation asks to stop iterating by returning false.

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "Materials/MaterialInterface.h"

Source

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

Syntax

void ForEachPendingParameter
(
    TFunctionRef< bool ParamIndex, const FHashedMaterialParameterInfo &ParamInfo)> Op
)

Remarks

Perform an operation on the pending parameters until performed on all pending parameters, or until the operation asks to stop iterating by returning false.

Parameters

Parameter

Description

Op

The operation to perform on each pending parameter. Accepts the index for the parameter and the parameter info associated with it. If the Op returns true, we keep iterating if there are more pending parameters, if it returns false, we stop immediately after this Op.

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