Table of Contents

Class VectorRotationAttribute

Namespace
FixedMathSharp

Displays a Vector2d direction as an angle in degrees with optional display scaling.

public class VectorRotationAttribute : PropertyAttribute
Inheritance
PropertyAttribute
VectorRotationAttribute
Inherited Members
PropertyAttribute.order
PropertyAttribute.applyToCollection

Constructors

VectorRotationAttribute(double)

Initializes a vector rotation attribute with an optional display scale.

public VectorRotationAttribute(double timescale = 1)

Parameters

timescale double

The scale applied while displaying and editing the angle.

Properties

Timescale

Gets the scale applied while displaying and editing the angle.

public double Timescale { get; }

Property Value

double