Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UMaterial
Description
Recursively update the bRealtimePreview for each expression based on whether it is connected to something that is time-varying. This is determined based on the result of UMaterialExpression::NeedsRealtimePreview();
| Name | RecursiveUpdateRealtimePreview |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/Materials/Material.h |
| Include Path | #include "Materials/Material.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Materials/Material.cpp |
void RecursiveUpdateRealtimePreview
(
UMaterialExpression * InExpression,
TArray < UMaterialExpression * > & InOutExpressionsToProcess
)
Parameters
| Name | Remarks |
|---|---|
| InExpression | The expression to start at. |
| InOutExpressionsToProcess | Array of expressions we still need to process. |