FDatasmithImporter::FinalizeTexture

Copy a texture from its transient package into its final public package and builds it.

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 UTexture * FinalizeTexture
(
    UTexture * SourceTexture,
    const TCHAR * TexturesFolderPath,
    UTexture * ExistingTexture,
    TMap< UObject *, UObject * > * ReferencesToRemap
)

Remarks

Copy a texture from its transient package into its final public package and builds it.

Returns

The resulting texture

Parameters

Parameter

Description

SourceTexture

The texture to finalize.

TexturesFolderPath

The path where to put the final texture, if we don't have an ExistingTexture

ExistingTexture

An optional existing texture on which we will finalize over.

ReferencesToRemap

A map of migrated objects. If SourceTexture 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