Skip to content

API reference Obsidian.API.World.Generator

ClimateRange record struct

A range of a climate parameter, from -2 to 2. A single value converts to the range of that value alone.

public readonly record struct ClimateRange : IEquatable<ClimateRange>

In Obsidian.API.

Constructors

ClimateRange(float, float)

public ClimateRange(float Min, float Max);

A range of a climate parameter, from -2 to 2. A single value converts to the range of that value alone.

Properties

public float Max { get; init; }public float Min { get; init; }

Operators

public static implicit operator ClimateRange(float value);

On this page