Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UMaterial
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void PropagateExpressionParameterChanges
(
const UMaterialExpression* Parameter |
A parameter with duplicates has to update its peers so that they all have the same value. | Materials/Material.h | |
virtual void PropagateExpressionParameterChanges
(
const FName& ParameterName, |
A parameter with duplicates has to update its peers so that they all have the same value. | Materials/Material.h |
PropagateExpressionParameterChanges(const UMaterialExpression *)
Description
A parameter with duplicates has to update its peers so that they all have the same value. If this step isn't performed then the expression nodes will not accurately display the final compiled material.
| Name | PropagateExpressionParameterChanges |
| 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 |
virtual void PropagateExpressionParameterChanges
(
const UMaterialExpression * Parameter
)
Parameters
| Name | Remarks |
|---|---|
| Parameter | Pointer to the expression node whose state needs to be propagated. |
PropagateExpressionParameterChanges(const FName &, const FMaterialParameterMetadata &)
Description
A parameter with duplicates has to update its peers so that they all have the same value. If this step isn't performed then the expression nodes will not accurately display the final compiled material.
| Name | PropagateExpressionParameterChanges |
| 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 |
virtual void PropagateExpressionParameterChanges
(
const FName & ParameterName,
const FMaterialParameterMetadata & Meta
)
Parameters
| Name | Remarks |
|---|---|
| ParameterName | Name of the parameter to update |
| Meta | New value of the parameter |