Contents

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

The node expresses a forward vector orientation as (0, 0, -1), and an up vector as (0, 1, 0).

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

See Also

Getting and Setting Positional Properties