Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Engine > UTexture
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Engine/Texture.h |
Include | #include "Engine/Texture.h" |
Source | /Engine/Source/Runtime/Engine/Private/TextureDerivedData.cpp |
bool DownsizeImageUsingTextureSettings
&40;
const ITargetPlatform &42; TargetPlatform,
FImage & InOutImage,
int32 TargetSize,
int32 LayerIndex
&41;
Remarks
Downsize the 2D Image with the build setting of the texture. Try to get as close as it can to the target resolution but it will stay above it if it can reach it