Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/UTextureAssetActionsBlueprintFns
Description
Resizes the texture Source to less or equal to ResizeToLessOrEqualToTargetSize
Texture LODBias is automatically adjusted to try to keep output size the same when possible.
Only acts on textures larger than ResizeToLessOrEqualToTargetSize.
Returns Success if the action was done, returns AlreadyDone if the action did not need to be done because texture already met the goal. Returns Error if the operation could not be applied because the texture is not a suitable type, or an unexpected error was encountered during processing.
| Name | ResizeTextureSource |
| Type | function |
| Header File | /Engine/Source/Editor/UnrealEd/Public/TextureAssetActionsBP.h |
| Include Path | #include "TextureAssetActionsBP.h" |
| Source | /Engine/Source/Editor/UnrealEd/Private/TextureAssetActionsBP.cpp |
UFUNCTION (BlueprintCallable, Category="TextureAssetActions")
static ETextureAssetActionsBlueprintReturn ResizeTextureSource
(
UTexture * Texture,
int ResizeToLessOrEqualToTargetSize
)