2023-04-20 10:43:13 +10:00
|
|
|
using Robust.Shared.Noise;
|
|
|
|
|
|
|
|
|
|
namespace Content.Shared.Parallax.Biomes.Layers;
|
|
|
|
|
|
|
|
|
|
[ImplicitDataDefinitionForInheritors]
|
2023-08-22 18:14:33 -07:00
|
|
|
public partial interface IBiomeLayer
|
2023-04-20 10:43:13 +10:00
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Seed is used an offset from the relevant BiomeComponent's seed.
|
|
|
|
|
/// </summary>
|
|
|
|
|
FastNoiseLite Noise { get; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Threshold for this layer to be present. If set to 0 forces it for every tile.
|
|
|
|
|
/// </summary>
|
|
|
|
|
float Threshold { get; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Is the thresold inverted so we need to be lower than it.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public bool Invert { get; }
|
2023-08-22 18:14:33 -07:00
|
|
|
}
|