This function returns an array of the Audio Emitters that are connected to the given AudioBus Struct.
NOTE To get the audio bus that an audio emitter is connected to, use audio_emitter_get_bus.
audio_bus_get_emitters(bus);
Argument | Type | Description |
---|---|---|
bus | AudioBus Struct | The audio bus to get the connected emitters from |
var _emitters = audio_bus_get_emitters(bus_fx);
The above code calls audio_bus_get_emitters to get the emitters connected to an audio bus bus_fx. The returned array is stored in a temporary variable _emitters.