Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/UTextureFactory
Description
Initializes the given texture from the TextureData text block supplied. The TextureData text block is assumed to have been generated by the UTextureExporterT3D.
| Name | InitializeFromT3DTextureDataText |
| Type | function |
| Header File | /Engine/Source/Editor/UnrealEd/Classes/Factories/TextureFactory.h |
| Include Path | #include "Factories/TextureFactory.h" |
bool InitializeFromT3DTextureDataText
(
UTexture * InTexture,
const FString & Text,
FFeedbackContext * Warn
)
bool true if successful, false if not
Parameters
| Name | Remarks |
|---|---|
| InTexture | The texture to initialize |
| Text | The texture data text generated by the TextureExporterT3D |
| Warn | Where to send warnings/errors |