Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Materials > API/Runtime/Engine/Materials/UpdateParameterSet
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/Materials/MaterialInstanceUpdateParameterSet.h |
| Include | #include "Materials/MaterialInstanceUpdateParameterSet.h" |
template<typename ParameterType, typename ExpressionType>
bool UpdateParameterSet
(
TArray < ParameterType > & Parameters,
UMaterial * ParentMaterial
)
Remarks
This function takes a array of parameter structs and attempts to establish a reference to the expression object each parameter represents. If a reference exists, the function checks to see if the parameter has been renamed. Returns whether or not any of the parameters was changed.
Parameters
| Name | Description |
|---|---|
| Parameters | Array of parameters to operate on. |
| ParentMaterial | Parent material to search in for expressions. |