Contents

audioListener

The entity which defines the listener position and orientation for spatial audio.

Declaration

var audioListener: Entity? { get set }

Discussion

By default this audioListener property is nil, which means that the active camera entity will be used as the audio listener. The audioListener can be set to any entity in the scene to use the transform of the entity as the audio listener position and orientation.