<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "tvOS: -",
    "visionOS: -",
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFAudio",
  "identifier" : "/documentation/AVFAudio/AVAudio3DAngularOrientation/init(yaw:pitch:roll:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "AVFAudio"
    ],
    "preciseIdentifier" : "s:So27AVAudio3DAngularOrientationV3yaw5pitch4rollABSf_S2ftcfc"
  },
  "title" : "init(yaw:pitch:roll:)"
}
-->

# init(yaw:pitch:roll:)

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

```
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.

## Discussion

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)