# Rotation.FromAxis

```csharp
static Rotation FromAxis(Vector3 axis, float degrees)
```

Create from angle and an axis

## Remarks

`axis` vector must be normalized before calling this method or the resulting [Rotation](/api/Rotation) will be incorrect.

### Parameters

- `axis` (`Vector3`)
- `degrees` (`float`)

### Returns

`Rotation`

Declared in [Rotation](/api/Rotation).
Assembly: `Sandbox.System`.
