# RotateY(float)

> Returns a quaternion that rotates around the y-axis by a given number of radians.

## Definition

* **Type:** Method
* **Namespace:** [Unity.Mathematics](/engine/6000.7/script-reference/unity/mathematics.md)
* **Assembly:** UnityEngine.MathematicsModule

```csharp
public static quaternion RotateY(float angle)
```

### Parameters

**** (\[float]\(https\://learn.microsoft.com/dotnet/api/system.single)): The clockwise rotation angle when looking along the y-axis towards the origin in radians.

### Returns

| Type                                                                          | Description                                               |
| ----------------------------------------------------------------------------- | --------------------------------------------------------- |
| [quaternion](/engine/6000.7/script-reference/unity/mathematics/quaternion.md) | The quaternion representing a rotation around the y-axis. |
