<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "tvOS: -",
    "visionOS: -",
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFAudio",
  "identifier" : "/documentation/AVFAudio/AVAudioMake3DAngularOrientation(_:_:_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "AVFAudio"
    ],
    "preciseIdentifier" : "c:@F@AVAudioMake3DAngularOrientation"
  },
  "title" : "AVAudioMake3DAngularOrientation(_:_:_:)"
}
-->

# AVAudioMake3DAngularOrientation(_:_:_:)

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

```
func AVAudioMake3DAngularOrientation(_ yaw: Float, _ pitch: Float, _ roll: Float) -> AVAudio3DAngularOrientation
```

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

## Return Value

A new [`AVAudio3DAngularOrientation`](/documentation/AVFAudio/AVAudio3DAngularOrientation) instance.

## 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)