Class TerrainAtlasBuilder
Exports texture atlases for terrains. Provides editor-only methods to export atlases and runtime methods to load them. Prebuilt atlas is faster to load and uses less memory than a fully runtime equivalent. This concept may be expanded to support more atlas types in future.
Namespace: DaggerfallWorkshop.Utility
Assembly: Assembly-CSharp.dll
Syntax
public static class TerrainAtlasBuilder
Methods
| Improve this Doc View SourceLoadTerrainAtlasTextureResource(Int32, String)
Attempts to load a prebuilt atlas texture.
Declaration
public static Texture2D LoadTerrainAtlasTextureResource(int archive, string subFolder)
Parameters
Type | Name | Description |
---|---|---|
Int32 | archive | Terrain archive index |
String | subFolder |
Returns
Type | Description |
---|---|
Texture2D | Texture2D or null if not found. |