Show / Hide Table of Contents

Class BiomeComponent

Inheritance
System.Object
BiomeComponent
Namespace: Content.Shared.Parallax.Biomes
Assembly: Content.Shared.dll
Syntax
public sealed class BiomeComponent : Component

Fields

| Improve this Doc View Source

Layers

The underlying entity, decal, and tile layers for the biome.

Declaration
public List<IBiomeLayer> Layers
Field Value
Type Description
List<IBiomeLayer>
| Improve this Doc View Source

LoadedChunks

Currently active chunks

Declaration
public HashSet<Vector2i> LoadedChunks
Field Value
Type Description
HashSet<Vector2i>
| Improve this Doc View Source

LoadedDecals

Decals that have been loaded as a part of this biome.

Declaration
public Dictionary<Vector2i, Dictionary<uint, Vector2i>> LoadedDecals
Field Value
Type Description
Dictionary<Vector2i, Dictionary<System.UInt32, Vector2i>>
| Improve this Doc View Source

LoadedEntities

Declaration
public Dictionary<Vector2i, Dictionary<EntityUid, Vector2i>> LoadedEntities
Field Value
Type Description
Dictionary<Vector2i, Dictionary<EntityUid, Vector2i>>
| Improve this Doc View Source

LoadedMarkers

Track what markers we've loaded already to avoid double-loading.

Declaration
public Dictionary<string, HashSet<Vector2i>> LoadedMarkers
Field Value
Type Description
Dictionary<System.String, HashSet<Vector2i>>
| Improve this Doc View Source

MarkerLayers

Declaration
public List<string> MarkerLayers
Field Value
Type Description
List<System.String>
| Improve this Doc View Source

ModifiedTiles

If we've already generated a tile and couldn't deload it then we won't ever reload it in future. Stored by [Chunkorigin, Tiles]

Declaration
public Dictionary<Vector2i, HashSet<Vector2i>> ModifiedTiles
Field Value
Type Description
Dictionary<Vector2i, HashSet<Vector2i>>
| Improve this Doc View Source

Noise

Declaration
public FastNoiseLite Noise
Field Value
Type Description
Robust.Shared.Noise.FastNoiseLite
| Improve this Doc View Source

PendingMarkers

Work out entire marker tiles in advance but only load the entities when in range.

Declaration
public Dictionary<Vector2i, Dictionary<string, List<Vector2i>>> PendingMarkers
Field Value
Type Description
Dictionary<Vector2i, Dictionary<System.String, List<Vector2i>>>
| Improve this Doc View Source

Seed

Declaration
public int Seed
Field Value
Type Description
System.Int32
| Improve this Doc View Source

Template

Templates to use for Layers. Optional as this can be set elsewhere.

Declaration
public string? Template
Field Value
Type Description
System.Nullable<System.String>
Remarks

This is really just here for prototype reload support.

  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾