Module |
|
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
(
UMaterialFunctionInterface * OldFunctionResource,
UMaterialFunctionInterface * NewResource
)
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.
Parameter |
Description |
---|---|
OldFunctionResource |
The function it was set to. |
NewResource |
The function to be set to. |