Skip to content

Class Biome

Represents a biome

Namespace: VoxelTycoon

Constructor

Biome()

Creates new biome with default values.

Declaration

public Biome()

Properties

Ambient

Audioclip used as an ambient sound.

Declaration

public AudioClip Ambient { get; set; }
Type Description
AudioClip Audio clip used for the biome

AssetId

The biome asset's ID.

Declaration

public int AssetId { get; set; }
Type Description
int ID of the biome

BodyColor

Color of the biome.

Declaration

public Color BodyColor { get; set; }
Type Description
Color Biome's color

Bumpiness

Biome's bumpiness.

Declaration

public float Bumpiness { get; set; }
Type Description
float Value of the bumpiness

CoverColor

Biome's cover color.

Declaration

public Color CoverColor { get; set; }
Type Description
Color Biome's cover color

DisplayName

Biome's display name.

Declaration

public DisplayString DisplayName { get; set; }
Type Description
DisplayString String (and optional format) representing the biome's name

Hidden

Indicates whether the biome is hidden or not.

Declaration

public bool Hidden { get; set; }
Type Description
bool Whether the biome is hidden

Humidity

Represents the biome's humidity.

Declaration

public float Humidity { get; set; }
Type Description
float Biome's humidity

LiveryTag

Biome's livery tag.

Declaration

public string LiveryTag { get; set; }
Type Description
string Biome's livery tag

Plants

Biome's plants.

Declaration

public ImmutableList<PlantProbability> Plants { get; }
Type Description
ImmutableList List of Plants

Sounds

Represents the biome's sounds.

Declaration

public Audio.SoundProbabilityCollection Sounds { get; set; }
Type Description
Audio.SoundProbabilityCollection Biome's sounds

Tags

Biome's tags.

Declaration

public ImmutableUniqueList<string> Tags { get; }
Type Description
ImmutableUniqueList Biome's tags list

Temperature

Biome's temperature.

Declaration

public float Temperature { get; set;}
Type Description
float Biome's temperature

Methods

SetPlants(IList)

Sets the biome's plants.

Declaration

public void SetPlants(IList<PlantProbability> plants)

Parameters

Type Name Description
IList plants Biome's plants

SetTags(IList)

Sets the biome's tags.

Declaration

public void SetTags(IList<string> tags)

Parameters

Type Name Description
IList tags Biome's tags