unreal.TextureAssetActionsBlueprintReturn¶
- class unreal.TextureAssetActionsBlueprintReturn¶
Bases:
EnumBaseUTextureAssetActionsBlueprintFns provides BluePrint exposure of the TextureAssetActions functions.
TextureAssetActions provide utilities to modify the UTexture Source data which is stored in the uasset after import.
They do not modify the original source bitmap files on disk. Those are not used by UE after import unless a reimport is done.
Modifying the UTexture Source data is in contrast to the UTexture Properties, which affect how the runtime GPU is build.
For example the UTexture property “MaxTextureSize” or “StretchToPowerOfTwo” may resize to limit GPU texture size, or stretch the GPU output to power of 2, but they do not modify the Source bitmap in the uasset. To modify the source uasset, use TextureAssetActions::ResizeTextureSource and ResizeTextureSourceToPowerOfTwo.
After these functions modify the Texture Source, the changed asset may need to be saved to retain those changes.
C++ Source:
Module: UnrealEd
File: TextureAssetActionsBP.h
- ALREADY_DONE: TextureAssetActionsBlueprintReturn = Ellipsis¶
2
- ERROR: TextureAssetActionsBlueprintReturn = Ellipsis¶
0
- SUCCESS: TextureAssetActionsBlueprintReturn = Ellipsis¶
1