Instance Property

listenerVectorOrientation

The listener's vector orientation in the environment.

Declaration

var listenerVectorOrientation: AVAudio3DVectorOrientation { get set }

Discussion

The default orientation is with the listener looking directly along the negative z-axis (forward).

A forward vector orientation is expressed as (0, 0, -1). An up vector is expressed as (0, 1, 0).

Changing this property results in a corresponding change in the listenerAngularOrientation property.

See Also

Getting and Setting Environment Parameters

var distanceAttenuationParameters: AVAudioEnvironmentDistanceAttenuationParameters

The distance attenuation parameters for the environment.

var listenerAngularOrientation: AVAudio3DAngularOrientation

The listener's angular orientation in the environment.

var listenerPosition: AVAudio3DPoint

The listener's position in the 3D environment.

var reverbParameters: AVAudioEnvironmentReverbParameters

The reverb parameters for the environment.

var outputVolume: Float

The mixer's output volume.