audio_emitter_create


描述

This function creates a new audio emitter and returns the index for it. This index should be stored in a variable for all further functions that relate to this emitter, and then when it is no longer needed it should be removed from memory using the function audio_emitter_free to prevent memory leaks which may eventually crash your game.


语法:

audio_emitter_create();


返回:

Real(实数)


例如:

s_emit = audio_emitter_create();

The above code creates a new audio emitter and assigns its index to the variable "s_emit".