FDatasmithImporter::ImportTexture

Choose your operating system:

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 * ImportTexture
(
    FDatasmithImportContext & ImportContext,
    class FDatasmithTextureImporter & DatasmithTextureImporter,
    TSharedRef< IDatasmithTextureElement > TextureElement,
    UTexture * ExistingTexture,
    const TArray< uint8 > & TextureData,
    const FString & Extension
)

Returns

The imported texture