IBiomeLayer.cs 587 B

12345678910111213141516171819202122
  1. using Robust.Shared.Noise;
  2. namespace Content.Shared.Parallax.Biomes.Layers;
  3. [ImplicitDataDefinitionForInheritors]
  4. public partial interface IBiomeLayer
  5. {
  6. /// <summary>
  7. /// Seed is used an offset from the relevant BiomeComponent's seed.
  8. /// </summary>
  9. FastNoiseLite Noise { get; }
  10. /// <summary>
  11. /// Threshold for this layer to be present. If set to 0 forces it for every tile.
  12. /// </summary>
  13. float Threshold { get; }
  14. /// <summary>
  15. /// Is the thresold inverted so we need to be lower than it.
  16. /// </summary>
  17. public bool Invert { get; }
  18. }