Class PostProcessingUtilsGrid3D
Builtin post-processing logic for the Grid3D generator.
Inheritance
System.Object
PostProcessingUtilsGrid3D
Namespace: Edgar.Unity
Assembly: cs.temp.dll.dll
Syntax
public static class PostProcessingUtilsGrid3D
Methods
CenterLevel(DungeonGeneratorLevelGrid3D)
Moves the level so that it is centered.
Declaration
public static void CenterLevel(DungeonGeneratorLevelGrid3D level)
Parameters
Type | Name | Description |
---|---|---|
DungeonGeneratorLevelGrid3D | level |
GetLevelCenter(DungeonGeneratorLevelGrid3D)
Gets the center of a given level.
Declaration
public static Vector3 GetLevelCenter(DungeonGeneratorLevelGrid3D level)
Parameters
Type | Name | Description |
---|---|---|
DungeonGeneratorLevelGrid3D | level |
Returns
Type | Description |
---|---|
Vector3 |
ProcessConnectorsAndBlockers(DungeonGeneratorLevelGrid3D, ConnectorsModeGrid3D, Boolean)
Processes connector and blockers of a given level.
Declaration
public static void ProcessConnectorsAndBlockers(DungeonGeneratorLevelGrid3D level, ConnectorsModeGrid3D addConnectors, bool addBlockers)
Parameters
Type | Name | Description |
---|---|---|
DungeonGeneratorLevelGrid3D | level | |
ConnectorsModeGrid3D | addConnectors | |
System.Boolean | addBlockers |
ProcessConnectorsAndBlockers(DungeonGeneratorLevelGrid3D, RoomInstanceGrid3D, ConnectorsModeGrid3D, Boolean)
Process connectors and blockers of a given room instance.
Declaration
public static void ProcessConnectorsAndBlockers(DungeonGeneratorLevelGrid3D level, RoomInstanceGrid3D roomInstance, ConnectorsModeGrid3D addConnectors, bool addBlockers)
Parameters
Type | Name | Description |
---|---|---|
DungeonGeneratorLevelGrid3D | level | |
RoomInstanceGrid3D | roomInstance | |
ConnectorsModeGrid3D | addConnectors | |
System.Boolean | addBlockers |