Represents an attribute that specifies a range of values for a field or property. More...
Inherits DrawerPropertyAttribute.
Public Member Functions | |
RangeExAttribute (double min, double max) | |
Initializes a new instance of the RangeExAttribute class with the specified minimum and maximum values. More... | |
Public Attributes | |
bool | ClampMax = true |
Gets or sets a value indicating whether the maximum value should be clamped. More... | |
bool | ClampMin = true |
Gets or sets a value indicating whether the minimum value should be clamped. More... | |
bool | UseSlider = true |
Gets or sets a value indicating whether a slider should be used for the range. More... | |
Properties | |
double | Max [get] |
Gets the maximum value of the range. More... | |
double | Min [get] |
Gets the minimum value of the range. More... | |
Represents an attribute that specifies a range of values for a field or property.
RangeExAttribute | ( | double | min, |
double | max | ||
) |
Initializes a new instance of the RangeExAttribute class with the specified minimum and maximum values.
min | The minimum value of the range. |
max | The maximum value of the range. |
bool ClampMax = true |
Gets or sets a value indicating whether the maximum value should be clamped.
bool ClampMin = true |
Gets or sets a value indicating whether the minimum value should be clamped.
bool UseSlider = true |
Gets or sets a value indicating whether a slider should be used for the range.
|
get |
Gets the maximum value of the range.
|
get |
Gets the minimum value of the range.