UMaterialExpression::CopyMaterialExpressions

Copy the SrcExpressions into the specified material, preserving internal references.

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "Materials/MaterialExpression.h"

Source

/Engine/Source/Runtime/Engine/Private/Materials/MaterialExpressions.cpp

Syntax

static void CopyMaterialExpressions
(
    const TArray< class UMaterialExpression * > & SrcExpressions,
    const TArray< class UMaterialExpressionComment * > & SrcExpressionComments,
    class UMaterial * Material,
    class UMaterialFunction * Function,
    TArray< class UMaterialExpression * > & OutNewExpressions,
    TArray< class UMaterialExpression * > & OutNewComments
)

Remarks

Copy the SrcExpressions into the specified material, preserving internal references. New material expressions are created within the specified material.

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