Search Results for

    Show / Hide Table of Contents

    Struct LakeSettings

    The settings to be used for lake generation.

    Namespace: Global
    Assembly: cs.temp.dll.dll
    Syntax
    public struct LakeSettings

    Constructors

    LakeSettings(TerrainGenerator.TerrainType)

    The constructor for the lake randomised settings. Sets all variables.

    Declaration
    public LakeSettings(TerrainGenerator.TerrainType tType)
    Parameters
    Type Name Description
    TerrainGenerator.TerrainType tType

    The type of terrain.

    LakeSettings(TerrainGenerator.TerrainType, Boolean, LakeGenerator.NumberOfLakes, LakeGenerator.MaxLakeSize)

    The constructor for the lake user settings. Sets all variables.

    Declaration
    public LakeSettings(TerrainGenerator.TerrainType tType, bool lGenerationEnabled, LakeGenerator.NumberOfLakes lNum, LakeGenerator.MaxLakeSize lMaxSize)
    Parameters
    Type Name Description
    TerrainGenerator.TerrainType tType

    The type of terrain.

    Boolean lGenerationEnabled

    Whether lake generation is enabled.

    LakeGenerator.NumberOfLakes lNum

    The scale for the number of lakes.

    LakeGenerator.MaxLakeSize lMaxSize

    The scale for the maximum lake size.

    Fields

    lGenerationEnabled

    Whether lake generation is enabled.

    Declaration
    public readonly bool lGenerationEnabled
    Field Value
    Type Description
    Boolean

    lMaxSize

    The scale for the maximum lake size.

    Declaration
    public readonly LakeGenerator.MaxLakeSize lMaxSize
    Field Value
    Type Description
    LakeGenerator.MaxLakeSize

    lNum

    The scale for the number of lakes.

    Declaration
    public readonly LakeGenerator.NumberOfLakes lNum
    Field Value
    Type Description
    LakeGenerator.NumberOfLakes

    tType

    The type of terrain.

    Declaration
    public readonly TerrainGenerator.TerrainType tType
    Field Value
    Type Description
    TerrainGenerator.TerrainType
    In This Article
    Back to top Project documentation