Structure

AVAudio3DVectorOrientation

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

Declaration

struct AVAudio3DVectorOrientation

Topics

Defining a Vector Orientation

init()

Initializes a 3D vector orientation instance.

init(forward: AVAudio3DVector, up: AVAudio3DVector)

Initializes a 3D vector orientation instance with forward and up 3D vectors.

Getting Vector Orientation Properties

var forward: AVAudio3DVector

The forward vector points in the direction that the listener is facing.

var up: AVAudio3DVector

The up vector is orthogonal to the forward vector and points upwards from 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 AVAudio3DAngularOrientation

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

struct AVAudio3DPoint

A structure representing a point in 3D space.

typealias AVAudio3DVector

A structure representing a vector in 3D space.