UMaterial::RecursiveUpdateRealtimePreview

Recursively update the bRealtimePreview for each expression based on whether it is connected to something that is time-varying.

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "Materials/Material.h"

Source

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

Syntax

void RecursiveUpdateRealtimePreview
(
    UMaterialExpression * InExpression,
    TArray< UMaterialExpression * > & InOutExpressionsToProcess
)

Remarks

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();

Parameters

Parameter

Description

InExpression

The expression to start at.

InOutExpressionsToProcess

Array of expressions we still need to process.

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