Struct WalkpathSettings
Holds the settings used for walkpath generation.
Namespace: Global
Assembly: cs.temp.dll.dll
Syntax
public struct WalkpathSettings
Constructors
WalkpathSettings(TerrainGenerator.TerrainType)
Constructor for WalkpathSettings. Responsible for setting all the varables randomly (except the terrain type).
Declaration
public WalkpathSettings(TerrainGenerator.TerrainType tType)
Parameters
Type | Name | Description |
---|---|---|
TerrainGenerator.TerrainType | tType | The type of terrain to be generated. |
WalkpathSettings(TerrainGenerator.TerrainType, Boolean, WalkpathGenerator.NumberOfWalkpaths, Boolean)
Constructor for WalkpathSettings. Responsible for setting all the varables from user options.
Declaration
public WalkpathSettings(TerrainGenerator.TerrainType tType, bool wGenerationEnabled, WalkpathGenerator.NumberOfWalkpaths wNum, bool intersectionsEnabled)
Parameters
Type | Name | Description |
---|---|---|
TerrainGenerator.TerrainType | tType | The type of terrain to be generated. |
Boolean | wGenerationEnabled | Turn on or off the creation of walkpaths. |
WalkpathGenerator.NumberOfWalkpaths | wNum | The number of walkpaths relative to the remaining terrain size. |
Boolean | intersectionsEnabled | Turn on or off whether walkpaths are able to cross paths. |
Fields
intersectionsEnabled
Turn on or off whether walkpaths are able to cross paths.
Declaration
public readonly bool intersectionsEnabled
Field Value
Type | Description |
---|---|
Boolean |
tType
The type of terrain to be generated.
Declaration
public readonly TerrainGenerator.TerrainType tType
Field Value
Type | Description |
---|---|
TerrainGenerator.TerrainType |
wGenerationEnabled
Turn on or off the creation of walkpaths.
Declaration
public readonly bool wGenerationEnabled
Field Value
Type | Description |
---|---|
Boolean |
wNum
The number of walkpaths relative to the remaining terrain size.
Declaration
public readonly WalkpathGenerator.NumberOfWalkpaths wNum
Field Value
Type | Description |
---|---|
WalkpathGenerator.NumberOfWalkpaths |