Instance Property

audioEnvironmentNode

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

Required.

Declaration

@property(nonatomic, readonly) AVAudioEnvironmentNode *audioEnvironmentNode;

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

audioListener

The node representing the listener’s position in the scene for use with positional audio effects.

Required.

audioEngine

The audio engine SceneKit uses for playing scene sounds.

Required.