---
title: "init(yaw:pitch:roll:)"
framework: avfaudio
role: symbol
role_heading: Initializer
path: "avfaudio/avaudio3dangularorientation/init(yaw:pitch:roll:)"
---

# init(yaw:pitch:roll:)

Creates a 3D angular orientation using the yaw, pitch, and roll values you specify.

## Declaration

```swift
init(yaw: Float, pitch: Float, roll: Float)
```

## Parameters

- `yaw`: The side-to-side movement of the listener’s head.
- `pitch`: The up-and-down movement of the listener’s head.
- `roll`: The tilt of the listener’s head.

## See Also

### Creating an Angular Orientation

- [init()](avfaudio/avaudio3dangularorientation/init().md)
- [AVAudioMake3DAngularOrientation(_:_:_:)](avfaudio/avaudiomake3dangularorientation(_:_:_:).md)
