Represents an attribute that specifies a range of values for a field or property.
More...
Inherits DrawerPropertyAttribute.
|
| | RangeExAttribute (double min, double max) |
| | Initializes a new instance of the RangeExAttribute class with the specified minimum and maximum values.
|
|
| PropertyAttribute (bool applyToCollection=false) |
|
|
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.
|
|
double[] | Values |
| | Possible values.
|
|
|
double | Max [get] |
| | Gets the maximum value of the range.
|
|
double | Min [get] |
| | Gets the minimum value of the range.
|
|
new bool | applyToCollection [get] |
|
|
| DrawerPropertyAttribute (bool applyToCollection=false) |
Represents an attribute that specifies a range of values for a field or property.
◆ RangeExAttribute()
| RangeExAttribute |
( |
double | min, |
|
|
double | max ) |
Initializes a new instance of the RangeExAttribute class with the specified minimum and maximum values.
- Parameters
-
| min | The minimum value of the range. |
| max | The maximum value of the range. |