# Rotation.FromYaw

```csharp
static Rotation FromYaw(float yaw)
```

Create a Rotation (quaternion) from yaw (degrees)

### Parameters

- `yaw` (`float`)

### Returns

`Rotation`

Declared in [Rotation](/api/Rotation).
Assembly: `Sandbox.System`.
