---
title: "AVAudioMake3DVector(_:_:_:)"
framework: avfaudio
role: symbol
role_heading: Function
path: "avfaudio/avaudiomake3dvector(_:_:_:)"
---

# AVAudioMake3DVector(_:_:_:)

Creates a vector in 3D space, in degrees.

## Declaration

```swift
func AVAudioMake3DVector(_ x: Float, _ y: Float, _ z: Float) -> AVAudio3DVector
```

## Parameters

- `x`: The x position of the vector.
- `y`: The y position of the vector.
- `z`: The z position of the vector.

## Return Value

Return Value A new AVAudio3DVector instance.
