Class FixedNumberAngleAttribute
- Namespace
- FixedMathSharp
Displays a Fixed64 sine value as an angle in degrees with optional display scaling and a maximum angle.
public class FixedNumberAngleAttribute : PropertyAttribute
- Inheritance
-
PropertyAttributeFixedNumberAngleAttribute
- Inherited Members
-
PropertyAttribute.orderPropertyAttribute.applyToCollection
Constructors
FixedNumberAngleAttribute(double, double)
Initializes a new instance of the FixedNumberAngleAttribute class.
public FixedNumberAngleAttribute(double timescale = 1, double max = -1)
Parameters
timescaledoubleThe scale applied while displaying and editing the angle.
maxdoubleThe maximum allowable value for the angle in degrees. Default is -1 (no limit).
Properties
Max
Gets the maximum allowable value for the angle in degrees. A value of -1 indicates no maximum limit.
public double Max { get; }
Property Value
Timescale
Gets the scale applied while displaying and editing the angle.
public double Timescale { get; }