Contents

audioEnvironmentNode

The 3D audio mixing node SceneKit uses for positional audio effects.

Declaration

var audioEnvironmentNode: AVAudioEnvironmentNode { get }

Discussion

SceneKit uses this audio node to spatialize sounds from SCNAudioPlayer objects attached to nodes in the scene. You can use this object in conjunction with the audioEngine property to rearrange the audio graph to add other, non-spatialized audio sources or mix in audio processing effects.

See Also

Working With Positional Audio