Class VectorRotationAttribute
- Namespace
- FixedMathSharp
Displays a Vector2d direction as an angle in degrees with optional display scaling.
public class VectorRotationAttribute : PropertyAttribute
- Inheritance
-
PropertyAttributeVectorRotationAttribute
- Inherited Members
-
PropertyAttribute.orderPropertyAttribute.applyToCollection
Constructors
VectorRotationAttribute(double)
Initializes a vector rotation attribute with an optional display scale.
public VectorRotationAttribute(double timescale = 1)
Parameters
timescaledoubleThe scale applied while displaying and editing the angle.
Properties
Timescale
Gets the scale applied while displaying and editing the angle.
public double Timescale { get; }