# StyleRotate

> Creates a StyleRotate from a Rotate.

## Definition

* **Type:** Constructor
* **Namespace:** [UnityEngine.UIElements](/engine/6000.6/script-reference/unityengine/uielements.md)
* **Assembly:** UnityEngine.UIElementsModule

## StyleRotate(Rotate)

Creates a StyleRotate from a [Rotate](/engine/6000.6/script-reference/unityengine/uielements/rotate.md).

```csharp
public StyleRotate(Rotate v)
```

### Parameters

**** (\[Rotate]\(/engine/6000.6/script-reference/unityengine/uielements/rotate)):&#x20;

## StyleRotate(StyleKeyword)

Creates a StyleRotate from a [StyleKeyword](/engine/6000.6/script-reference/unityengine/uielements/stylekeyword.md).

```csharp
public StyleRotate(StyleKeyword keyword)
```

### Parameters

**** (\[StyleKeyword]\(/engine/6000.6/script-reference/unityengine/uielements/stylekeyword)):&#x20;

## StyleRotate(Quaternion)

Creates a StyleRotate from a [Quaternion](/engine/6000.6/script-reference/unityengine/quaternion.md).

```csharp
public StyleRotate(Quaternion quaternion)
```

### Parameters

**** (\[Quaternion]\(/engine/6000.6/script-reference/unityengine/quaternion)):&#x20;

### Remarks

3D rotations are only expected to work on world space panels and will cause masking issues on overlay panels.
