UpdateParameterSet

This function takes a array of parameter structs and attempts to establish a reference to the expression object each parameter represents.

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "Materials/MaterialInstance.h"

Syntax

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

Returns whether or not any of the parameters was changed.

Parameters

Parameter

Description

Parameters

Array of parameters to operate on.

ParentMaterial

Parent material to search in for expressions.

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