Skip to main content

CleanRange

A class in Alta.Attributes, the global namespace.

Inspector attribute for a range slider on a number field, with an optional line under it.

Constructors​

MemberWhat it is
CleanRange(float min, float max, bool hasLine = false, float lineHeight = 0)Creates a CleanRange from min, max, hasLine and lineHeight.

Properties​

MemberWhat it is
bool HasLine { get; private set; }Whether to draw a line with the slider.
float LineHeight { get; private set; }Height of that line.
float Max { get; private set; }Highest value on the slider.
float Min { get; private set; }Lowest value on the slider.