# GH_RotationalTuningData<T> class

Namespace: [Grasshopper.GUI](https://developer.rhino3d.com/api/gh1/namespace/grasshopper.gui.md) · Assembly: [Grasshopper](https://developer.rhino3d.com/api/gh1/assembly/grasshopper.md)

```cs
public class GH_RotationalTuningData<T>
```

Utility class for keeping track of rotational mouse events.

**Type parameters:**

- `T`: Basic type for initial conditions.

## Constructors

- [GH_RotationalTuningData<T>](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.gh-rotationaltuningdata-1/ctor.md): (2 overloads) Create a new instance of the rotational tuning data.

## Properties

- [FrameCount](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.gh-rotationaltuningdata-1/framecount.md): Gets the total number of recorded frames.
- [InitialValue](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.gh-rotationaltuningdata-1/initialvalue.md): Gets the initial value.
- [Pivot](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.gh-rotationaltuningdata-1/pivot.md): Gets or sets the rotational pivot. You only need to set this if the pivot changes.

## Indexers

- [Frame](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.gh-rotationaltuningdata-1/item.md): Gets the frame at the given index.

## Methods

- [AddFrame](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.gh-rotationaltuningdata-1/addframe.md): Grow the tuning track by one point and compute the angle.
- [TotalAngle](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.gh-rotationaltuningdata-1/totalangle.md): Compute the total angle from the first to the last frame.
- [TotalTurns](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.gh-rotationaltuningdata-1/totalturns.md): Compute the total number of full turns from the first to the last frame.
