Orbdale Terrain · OrbdaleTerrainEditor module · member function
UOrbdaleTerrainMaterialLibrary::
MakeTextureArray
Editor onlyBlueprintCreate or refill a Texture2DArray from same-sized source textures (a python script cannot reach the array's source-building path).
Declaration
UFUNCTION(BlueprintCallable, Category="Orbdale|Terrain|Materials")
static UTexture2DArray* MakeTextureArray(const FString& PackageName, const TArray<UTexture2D*>& Layers);Blueprint Make Texture Array
The graph as text
- Make Texture Array (function call)
- In Package Name (String): empty
- In Layers (array of Texture2D object): not connected
- Out Return Value (Texture2DArray object): not connected
- Header
#include "OrbdaleTerrainMaterialLibrary.h"- Module
PublicDependencyModuleNames.Add("OrbdaleTerrainEditor");in an editor module’s Build.cs: an editor module, not in packaged games.- Stability
- Stable: changes within a major version only add.
- Thread
- Editor, game thread. (the rule of UOrbdaleTerrainMaterialLibrary)
- Blueprint
- Make Texture Array, in Orbdale › Terrain › Materials
Description
The asset is not saved.
Parameters
| Name | Type | Default | Meaning |
|---|---|---|---|
PackageName | const FString& | — | Long package name of the array. |
Layers | const TArray< | — | Slice 0..N-1; equal size and format. |
Returns
The array, or null on a mismatch.