Class GeneratorSettingsGrid3D
Settings of the dungeon generator.
The main purpose right now is to configure the cell size of the grid.
Inheritance
System.Object
GeneratorSettingsGrid3D
Assembly: cs.temp.dll.dll
Syntax
public class GeneratorSettingsGrid3D : ScriptableObject
Fields
CellSize
Cell size of the grid that room templates and generated levels are placed on.
Declaration
Field Value
ColliderSizeTolerance
When blocks are computed directly from colliders, this property specifies the tolerance of this computation.
Declaration
public float ColliderSizeTolerance
Field Value
Type |
Description |
System.Single |
|
OutlineComputationMode
Declaration
public RoomTemplateOutlineComputationModeGrid3D OutlineComputationMode
Field Value
Methods
CellToLocal(Vector3)
Declaration
public Vector3 CellToLocal(Vector3 localPosition)
Parameters
Type |
Name |
Description |
Vector3 |
localPosition |
|
Returns
LocalToCell(Vector3)
Declaration
public Vector3Int LocalToCell(Vector3 localPosition)
Parameters
Type |
Name |
Description |
Vector3 |
localPosition |
|
Returns
Type |
Description |
Vector3Int |
|
LocalToCellInterpolated(Vector3)
Declaration
public Vector3 LocalToCellInterpolated(Vector3 localPosition)
Parameters
Type |
Name |
Description |
Vector3 |
localPosition |
|
Returns