# RotateY(float)

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

## Definition

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

```csharp
public static float4x4 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                                                  |
| ------------------------------------------------------------------------- | ------------------------------------------------------------ |
| [float4x4](/engine/6000.5/script-reference/unity/mathematics/float4x4.md) | The float4x4 rotation matrix that rotates around the y-axis. |
