Class FloatRangeAttribute
- Namespace
- OmegaEngine.Foundation.Design
- Assembly
- OmegaEngine.Foundation.dll
Stores the minimum and maximum values allowed for a float field or property. Controls the behaviour of AngleEditor.
[AttributeUsage(AttributeTargets.Property|AttributeTargets.Field)]
public sealed class FloatRangeAttribute : Attribute, _Attribute
- Inheritance
-
objectFloatRangeAttribute
- Implements
- Inherited Members
Constructors
FloatRangeAttribute(double, double)
Creates a new float range attribute.
public FloatRangeAttribute(double minimum, double maximum)
Parameters
minimumdoubleThe minimum value the field or property may have.
maximumdoubleThe maximum value the field or property may have.
Properties
Maximum
The maximum value the field or property may have.
public double Maximum { get; }
Property Value
Minimum
The minimum value the field or property may have.
public double Minimum { get; }