Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UMaterialInterface
Description
Overrides the default value of the given parameter (transient). This is used to implement realtime previewing of parameter defaults. Handles updating dependent MI's and cached uniform expressions.
| Name | OverrideNumericParameterDefault |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/Materials/MaterialInterface.h |
| Include Path | #include "Materials/MaterialInterface.h" |
virtual void OverrideNumericParameterDefault
(
EMaterialParameterType Type,
const FHashedMaterialParameterInfo & ParameterInfo,
const UE::Shader::FValue & Value,
bool bOverride,
ERHIFeatureLevel::Type FeatureLevel
)