Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Materials > API/Runtime/Engine/Materials/UMaterialExpressionMaterialFunct-
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Materials/MaterialExpressionMaterialFunctionCall.h |
| Include | #include "Materials/MaterialExpressionMaterialFunctionCall.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Materials/MaterialExpressions.cpp |
bool SetMaterialFunctionEx
&40;
UMaterialFunctionInterface &42; OldFunctionResource,
UMaterialFunctionInterface &42; NewResource
&41;
Remarks
Set a new material function, given an old function so that links can be passed over if the name matches. true if setting the function was a success, false if it failed.
Parameters
| Name | Description |
|---|---|
| OldFunctionResource | The function it was set to. |
| NewResource | The function to be set to. |