Skip to main content

FloatRangeSettings

A class in Alta.Attributes, the global namespace.

Property attribute that stores a min and max for an inspector float range.

Constructors​

MemberWhat it is
FloatRangeSettings(float min, float max, bool hasValues = true)Creates a FloatRangeSettings from min, max and hasValues.

Properties​

MemberWhat it is
bool HasValues { get; private set; }Whether min and max were given. Defaults to true.
float Max { get; private set; }Upper limit.
float Min { get; private set; }Lower limit.