Class Biome¶
Represents a biome
Namespace: VoxelTycoon
Constructor¶
Biome()¶
Creates new biome with default values.
Declaration
Properties¶
Ambient¶
Audioclip used as an ambient sound.
Declaration
| Type | Description |
|---|---|
| AudioClip | Audio clip used for the biome |
AssetId¶
The biome asset's ID.
Declaration
| Type | Description |
|---|---|
| int | ID of the biome |
BodyColor¶
Color of the biome.
Declaration
| Type | Description |
|---|---|
| Color | Biome's color |
Bumpiness¶
Biome's bumpiness.
Declaration
| Type | Description |
|---|---|
| float | Value of the bumpiness |
CoverColor¶
Biome's cover color.
Declaration
| Type | Description |
|---|---|
| Color | Biome's cover color |
DisplayName¶
Biome's display name.
Declaration
| Type | Description |
|---|---|
| DisplayString | String (and optional format) representing the biome's name |
Hidden¶
Indicates whether the biome is hidden or not.
Declaration
| Type | Description |
|---|---|
| bool | Whether the biome is hidden |
Humidity¶
Represents the biome's humidity.
Declaration
| Type | Description |
|---|---|
| float | Biome's humidity |
LiveryTag¶
Biome's livery tag.
Declaration
| Type | Description |
|---|---|
| string | Biome's livery tag |
Plants¶
Biome's plants.
Declaration
| Type | Description |
|---|---|
| ImmutableList | List of Plants |
Sounds¶
Represents the biome's sounds.
Declaration
| Type | Description |
|---|---|
| Audio.SoundProbabilityCollection | Biome's sounds |
Tags¶
Biome's tags.
Declaration
| Type | Description |
|---|---|
| ImmutableUniqueList | Biome's tags list |
Temperature¶
Biome's temperature.
Declaration
| Type | Description |
|---|---|
| float | Biome's temperature |
Methods¶
SetPlants(IList)¶
Sets the biome's plants.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| IList | plants | Biome's plants |
SetTags(IList)¶
Sets the biome's tags.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| IList | tags | Biome's tags |