FREE TRIAL

|

☀
☾
struct

MinMax

A min/max range.

Fields

Max

The maximum allowed measurement in units.

Min

The minimum allowed measurement in units.

Static Fields

Positive

A MinMax where Min == 0 and Max == float.PositiveInfinity.

Unclamped

A MinMax where Min == float.NegativeInfinity and Max == float.PositiveInfinity.

Properties

HasMax

Indicates whether or not this MinMax has a maximum.

HasMin

Indicates whether or not this MinMax has a minimum.

Methods

Clamp

Clamps value to the range defined by Min and Max.

Static Methods

Clamp

Clamps value to the range defined by min and max.

Constructors

MinMax(float, float)

Construct a new MinMax for the given range.

See Also

Length
Length.Calculated
☀
☾
In This Article
Legal EmailContact Github
Copyright © 2022 Supernova Technologies, LLC