Firelight Technologies FMOD Studio API
Sets a user value that the SoundGroup object will store internally. Can be retrieved with SoundGroup::getUserData.
FMOD_RESULT SoundGroup::setUserData(
void *userdata
);
FMOD_RESULT FMOD_SoundGroup_SetUserData(
FMOD_SOUNDGROUP *soundgroup,
void *userdata
);
If the function succeeds then the return value is FMOD_OK.
If the function fails then the return value will be one of the values defined in the FMOD_RESULT enumeration.
This function is primarily used in case the user wishes to 'attach' data to an FMOD object.
It can be useful if an FMOD callback passes an object of this type as a parameter, and the user does not know which
object it is (if many of these types of objects exist). Using SoundGroup::getUserData would help in the
identification of the object.
Version 1.03.06 Built on Apr 17, 2014