unreal.UDIMTextureFunctionLibrary
¶
- class unreal.UDIMTextureFunctionLibrary(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
BlueprintFunctionLibrary
UDIMTexture Function Library
C++ Source:
Module: UnrealEd
File: TextureFactory.h
- classmethod make_udim_virtual_texture_from_texture2_ds(output_path_name, source_textures, block_coords, keep_existing_settings=False, check_out_and_save=False) Texture2D ¶
Make a UDIM virtual texture from a list of regular 2D textures
- Parameters:
output_path_name (str) – Path name of the UDIM texture (e.g. /Game/MyTexture)
source_textures (Array[Texture2D]) – List of regular 2D textures to be packed into the atlas
block_coords (Array[IntPoint]) – Coordinates of the corresponding texture in the atlas
keep_existing_settings (bool) – Whether to keep existing settings if a texture with the same path name exists. Otherwise, settings will be copied from the first source texture
check_out_and_save (bool) – Whether to check out and save the UDIM texture
- Returns:
UTexture2D* Pointer to the UDIM texture or null if failed
- Return type: