getSoundName
Script::getSoundName
Returns the name of the sound.
Declaration
std::string getSoundName(const Sound* sound);
Parameters
Name |
Type |
Description |
---|---|---|
sound |
const Sound* |
The Sound to get the name of. |
Returns
The name of the Sound if it exists, else, returns the empty string ""
.