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...
|
Dungeon | dungeon |
|
bool | mode2D = false |
|
|
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) |
|
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.
◆ 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
-
positionGrid | The grid position (out) |
scaleGrid | The grid scale (out) |
Definition at line 43 of file Volume.cs.
The documentation for this class was generated from the following file:
- C:/gamedev/unity/DA20.1X/Assets/CodeRespawn/DungeonArchitect/Scripts/Core/Dungeon/Volumes/Volume.cs