A structure representing the angular orientation of the listener in 3D space.


struct AVAudio3DAngularOrientation


Defining an Angular Orientation


Initializes a 3D angular orientation instance.

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

Initialize a 3D angular orientation with yaw, pitch, and roll values.

Getting Angular Orientation Properties

var pitch: Float

The up-down movement of the listener’s head.

var roll: Float

The tilt of the listener’s head.

var yaw: Float

The side-to-side movement of the listener’s head.

See Also

3D Environment Options

class AVAudioEnvironmentDistanceAttenuationParameters

A class that specifies the attenuation distance, the gradual loss in audio intensity, and other characteristics.

class AVAudioEnvironmentNode

A mixer node that simulates a 3D audio environment.

class AVAudioEnvironmentReverbParameters

A class that encapsulates the parameters that you use to control the reverb of the environment node class.

protocol AVAudio3DMixing

A protocol defining 3D mixing properties.

struct AVAudio3DPoint

A structure representing a point in 3D space.

struct AVAudio3DVectorOrientation

A structure representing two orthogonal vectors that describe the orientation of the listener in 3D space.

typealias AVAudio3DVector

A structure representing a vector in 3D space.