PHASESource
An object that plays audio from a 3D location and orientation in a scene.
Declaration
class PHASESourceMentioned in
Overview
This class represents a sound-emitting point or area in a virtual environment, positioned and oriented by a 3D transform.
A spatial mixer, PHASESpatialMixerDefinition, adds environmental effects to sound sources. To tie a mixer to a sound source, create a PHASEMixerParameters object and pass it into the mixerParameters argument of a sound event’s init(engine:assetIdentifier:mixerParameters:) initializer.
For an example that demonstrates sound sources, see Playing sound from a location in a 3D scene.