# SetActivePivotRotation

> Sets the active pivot rotation to the specified type.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor](/engine/6000.3/script-reference/unityeditor.md)
* **Assembly:** UnityEditor

## SetActivePivotRotation\<T>()

Sets the active pivot rotation to the specified type.

```csharp
public static void SetActivePivotRotation<T>() where T : CustomPivotRotation
```

## SetActivePivotRotation(Type)

Sets the active pivot rotation to the specified type.

```csharp
public static void SetActivePivotRotation(Type pivotRotationType)
```

### Parameters

**** (\[Type]\(https\://learn.microsoft.com/dotnet/api/system.type)): The type of the pivot rotation to set as active.
