Dungeon Architect  17.0.0
DungeonArchitect.Landscape.DungeonLandscapeRestorationCache Class Reference

Before building a dungeon, we find the bounds of the dungeon and save the heightmap data within that bounds before we modify the landscape This way, the next rebuild of dungeon with another layout would first restore this data (thereby removing the older layout that was baked in the landscape) and apply the new layout on the landscape More...

Inheritance diagram for DungeonArchitect.Landscape.DungeonLandscapeRestorationCache:

Public Member Functions

void SaveLandscapeData (Terrain terrain, Rect worldBounds)
 
void RestoreLandscapeData (Terrain terrain, Rect worldBounds)
 

Detailed Description

Before building a dungeon, we find the bounds of the dungeon and save the heightmap data within that bounds before we modify the landscape This way, the next rebuild of dungeon with another layout would first restore this data (thereby removing the older layout that was baked in the landscape) and apply the new layout on the landscape

Definition at line 33 of file DungeonLandscapeRestorationCache.cs.


The documentation for this class was generated from the following file: