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

Editor tooling for the grid based dungeon builder. Lets you paint with a grid based brush More...

Inheritance diagram for DungeonArchitect.Builders.Grid.DungeonPaintModeGrid:
DungeonArchitect.DungeonPaintMode

Public Member Functions

float GetCursorHeight ()
 
void SetElevationDelta (int delta)
 
GridDungeonModel GetDungeonModelGrid ()
 
- Public Member Functions inherited from DungeonArchitect.DungeonPaintMode
DungeonConfig GetDungeonConfig ()
 Gets the configuration of the dungeon More...
 
DungeonModel GetDungeonModel ()
 Gets the model used by the owning dungeon More...
 
Dungeon GetDungeon ()
 Gets the owning dungeon More...
 
GetSiblingComponent< T > ()
 

Public Attributes

int cursorLogicalHeight = 0
 The height of the cursor in grid cooridnates. Can also be changed with the mouse wheel in the editor when activated More...
 
float overlayOpacity = 0.1f
 The opacity of the overlay colored tiles More...
 
bool mode2D = false
 Indicates if the painting is to be done in 2D mode (for 2D dungeons) This flag is used for the editor tooling. The model still stores it in 3D More...
 
int brushSize = 1
 The size of the brush. This would create a brush of size NxN More...
 

Additional Inherited Members

- Protected Attributes inherited from DungeonArchitect.DungeonPaintMode
Dungeon dungeon
 
DungeonModel dungeonModel
 
DungeonConfig dungeonConfig
 

Detailed Description

Editor tooling for the grid based dungeon builder. Lets you paint with a grid based brush

Definition at line 11 of file DungeonPaintModeGrid.cs.

Member Data Documentation

◆ brushSize

int DungeonArchitect.Builders.Grid.DungeonPaintModeGrid.brushSize = 1

The size of the brush. This would create a brush of size NxN

Definition at line 32 of file DungeonPaintModeGrid.cs.

◆ cursorLogicalHeight

int DungeonArchitect.Builders.Grid.DungeonPaintModeGrid.cursorLogicalHeight = 0

The height of the cursor in grid cooridnates. Can also be changed with the mouse wheel in the editor when activated

Definition at line 16 of file DungeonPaintModeGrid.cs.

◆ mode2D

bool DungeonArchitect.Builders.Grid.DungeonPaintModeGrid.mode2D = false

Indicates if the painting is to be done in 2D mode (for 2D dungeons) This flag is used for the editor tooling. The model still stores it in 3D

Definition at line 27 of file DungeonPaintModeGrid.cs.

◆ overlayOpacity

float DungeonArchitect.Builders.Grid.DungeonPaintModeGrid.overlayOpacity = 0.1f

The opacity of the overlay colored tiles

Definition at line 21 of file DungeonPaintModeGrid.cs.


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