UMaterialExpressionMaterialFunctionCall::SetMaterialFunctionEx

Set a new material function, given an old function so that links can be passed over if the name matches.

Windows
MacOS
Linux

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

Syntax

bool SetMaterialFunctionEx
(
    UMaterialFunctionInterface * OldFunctionResource,
    UMaterialFunctionInterface * NewResource
)

Remarks

Set a new material function, given an old function so that links can be passed over if the name matches.

Returns

true if setting the function was a success, false if it failed.

Parameters

Parameter

Description

OldFunctionResource

The function it was set to.

NewResource

The function to be set to.

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