Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/Factories > API/Editor/UnrealEd/Factories/UUDIMTextureFunctionLibrary
References
| Module | UnrealEd |
| Header | /Engine/Source/Editor/UnrealEd/Classes/Factories/TextureFactory.h |
| Include | #include "Factories/TextureFactory.h" |
| Source | /Engine/Source/Editor/UnrealEd/Private/Factories/EditorFactories.cpp |
static UTexture2D &42; MakeUDIMVirtualTextureFromTexture2Ds
&40;
FString OutputPathName,
const TArray< UTexture2D &42; > & SourceTextures,
const TArray< FIntPoint > & BlockCoords,
bool bKeepExistingSettings,
bool bCheckOutAndSave
&41;
Remarks
Make a UDIM virtual texture from a list of regular 2D textures UTexture2D* Pointer to the UDIM texture or null if failed
Parameters
| Name | Description |
|---|---|
| OutputPathName | Path name of the UDIM texture (e.g. /Game/MyTexture) |
| SourceTextures | List of regular 2D textures to be packed into the atlas |
| BlockCoords | Coordinates of the corresponding texture in the atlas |
| bKeepExistingSettings | Whether to keep existing settings if a texture with the same path name exists. Otherwise, settings will be copied from the first source texture |
| bCheckOutAndSave | Whether to check out and save the UDIM texture |