Instance Method

removeAudioPlayer:

Removes the specified audio player from the node, stopping playback.

Declaration

- (void)removeAudioPlayer:(SCNAudioPlayer *)player;

Parameters

player

An audio player attached to the node.

Discussion

This method has no effect if the player parameter does not reference an audio player directly attached to the node.

See Also

Working with Positional Audio

- addAudioPlayer:

Adds the specified auto player to the node and begins playback.

audioPlayers

The audio players currently attached to the node.

- removeAllAudioPlayers

Removes all audio players attached to the node, stopping playback.