Dungeon Architect  17.0.0
DungeonArchitect.Builders.Grid.LandscapeTransformerGrid Class Reference

The terrain modifier that works with the grid based dungeon builder (DungeonBuilderGrid) It modifies the terrain by adjusting the height around the layout of the dungeon and painting it based on the specified texture settings More...

Inheritance diagram for DungeonArchitect.Builders.Grid.LandscapeTransformerGrid:
DungeonArchitect.Landscape.LandscapeTransformerBase DungeonArchitect.DungeonEventListener

Public Attributes

LandscapeTexture[] textures
 
float layoutLevelOffset = 0
 
int smoothingDistance = 5
 
AnimationCurve roomElevationCurve
 
AnimationCurve corridorElevationCurve
 
int roadBlurDistance = 6
 
float corridorBlurThreshold = 0.5f
 
float roomBlurThreshold = 0.5f
 
- Public Attributes inherited from DungeonArchitect.Landscape.LandscapeTransformerBase
Terrain terrain
 
DungeonLandscapeRestorationCache landscapeRestorationCache
 

Protected Member Functions

override void BuildTerrain (DungeonModel model)
 
override Rect GetDungeonBounds (DungeonModel model)
 
virtual void ApplySmoothing (GridDungeonModel model, LandscapeDataRasterizer rasterizer)
 

Additional Inherited Members

- Public Member Functions inherited from DungeonArchitect.Landscape.LandscapeTransformerBase
override void OnPostDungeonLayoutBuild (Dungeon dungeon, DungeonModel model)
 Called after the layout is built in memory, but before the markers are emitted More...
 
override void OnDungeonDestroyed (Dungeon dungeon)
 Called after the dungeon is destroyed More...
 
- Public Member Functions inherited from DungeonArchitect.DungeonEventListener
virtual void OnDungeonMarkersEmitted (Dungeon dungeon, DungeonModel model, LevelMarkerList markers)
 Called after all the markers have been emitted for the level (but before the theming engine is run on those markers) This gives you an opportunity to modify the markers More...
 
virtual void OnPreDungeonBuild (Dungeon dungeon, DungeonModel model)
 Called before the dungeon is built More...
 
virtual void OnPostDungeonBuild (Dungeon dungeon, DungeonModel model)
 Called after the dungeon is completely built More...
 
virtual void OnPreDungeonDestroy (Dungeon dungeon)
 Called after the dungeon is destroyed More...
 

Detailed Description

The terrain modifier that works with the grid based dungeon builder (DungeonBuilderGrid) It modifies the terrain by adjusting the height around the layout of the dungeon and painting it based on the specified texture settings

Definition at line 15 of file LandscapeTransformerGrid.cs.


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