FDatasmithImporter::FinalizeMaterialFunction

Copy a material function from its transient package into its final public package.

Windows
MacOS
Linux

References

Module

DatasmithImporter

Header

/Engine/Plugins/Enterprise/DatasmithImporter/Source/DatasmithImporter/Public/DatasmithImporter.h

Include

#include "DatasmithImporter.h"

Source

/Engine/Plugins/Enterprise/DatasmithImporter/Source/DatasmithImporter/Private/DatasmithImporter.cpp

Syntax

static UMaterialFunction * FinalizeMaterialFunction
(
    UObject * SourceMaterialFunction,
    const TCHAR * MaterialFunctionsFolderPath,
    UMaterialFunction * ExistingMaterialFunction,
    TMap< UObject *, UObject * > * ReferencesToRemap
)

Remarks

Copy a material function from its transient package into its final public package.

Returns

The resulting material function.

Parameters

Parameter

Description

SourceMaterialFunction

The material function to finalize.

MaterialFunctionFolderPath

The path where to put the final material function, if we don't have an ExistingMaterialFunction.

ExistingMaterialFunction

An optional existing material function on which we will finalize over.

ReferencesToRemap

A map of migrated objects. If SourceMaterialFunction refers to any key objects those references will be replaced by the corresponding map value.

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