Table of Contents

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
PropertyAttribute
FixedNumberAngleAttribute
Inherited Members
PropertyAttribute.order
PropertyAttribute.applyToCollection

Constructors

FixedNumberAngleAttribute(double, double)

Initializes a new instance of the FixedNumberAngleAttribute class.

public FixedNumberAngleAttribute(double timescale = 1, double max = -1)

Parameters

timescale double

The scale applied while displaying and editing the angle.

max double

The 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

double

Timescale

Gets the scale applied while displaying and editing the angle.

public double Timescale { get; }

Property Value

double