Dungeon Architect  17.0.0
DungeonArchitect.Volume Class Reference

A volume is an abstract representation of space in the world.
A volume can be scaled and moved around like any other game object and custom functionality can be added to volumes to influence the dungeon with it's spatial volume More...

Inheritance diagram for DungeonArchitect.Volume:
DungeonArchitect.Builders.Grid.PlatformVolume DungeonArchitect.MarkerReplaceVolume DungeonArchitect.MirrorVolume DungeonArchitect.NegationVolume DungeonArchitect.ThemeOverrideVolume

Public Member Functions

Bounds GetBounds ()
 Gets the bounds of the volume More...
 
void GetVolumeGridTransform (out IntVector positionGrid, out IntVector scaleGrid, Vector3 LogicalGridSize)
 Gets the position and scale of the volume in grid space More...
 

Public Attributes

Dungeon dungeon
 
bool mode2D = false
 

Protected Attributes

Color COLOR_WIRE = Color.yellow
 
Color COLOR_SOLID_DESELECTED = new Color(1, 1, 0, 0.0f)
 
Color COLOR_SOLID = new Color(1, 1, 0, 0.1f)
 

Detailed Description

A volume is an abstract representation of space in the world.
A volume can be scaled and moved around like any other game object and custom functionality can be added to volumes to influence the dungeon with it's spatial volume

Definition at line 13 of file Volume.cs.

Member Function Documentation

◆ GetBounds()

Bounds DungeonArchitect.Volume.GetBounds ( )

Gets the bounds of the volume

Returns
The bounds of the dungeon

Definition at line 22 of file Volume.cs.

◆ GetVolumeGridTransform()

void DungeonArchitect.Volume.GetVolumeGridTransform ( out IntVector  positionGrid,
out IntVector  scaleGrid,
Vector3  LogicalGridSize 
)

Gets the position and scale of the volume in grid space

Parameters
positionGridThe grid position (out)
scaleGridThe grid scale (out)

Definition at line 43 of file Volume.cs.


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