Navigation
API > API/Plugins > API/Plugins/DatasmithImporter > API/Plugins/DatasmithImporter/Utility > API/Plugins/DatasmithImporter/Utility/FDatasmithTextureResize
References
| Module | DatasmithImporter |
| Header | /Engine/Plugins/Enterprise/DatasmithImporter/Source/DatasmithImporter/Public/Utility/DatasmithTextureResize.h |
| Include | #include "Utility/DatasmithTextureResize.h" |
static EDSTextureUtilsError ResizeTexture
&40;
const TCHAR &42; Source,
const TCHAR &42; Destination,
EDSResizeTextureMode Mode,
uint32 MaxSize,
bool bGenerateNormalMap
&41;
Remarks
Resizes texture according to resizing method
Parameters
| Name | Description |
|---|---|
| Source | The source file of the texture to resize |
| Destination | The path where to save the resized texture file |
| Mode | The resize mode |
| bGenerateNormalMap | Generate or not the normal map |