Firelight Technologies FMOD Studio API
System::getUserData
Retrieves the user value that that was set by calling the System::setUserData function.
C++ Syntax
FMOD_RESULT System::getUserData(
void **userdata
);
C Syntax
FMOD_RESULT FMOD_System_GetUserData(
FMOD_SYSTEM *system,
void **userdata
);
C# Syntax
RESULT System.getUserData(
out IntPtr userdata
);
JavaScript Syntax
System.getUserData(
userdata // writes value to userdata.val
);
Parameters
- userdata
- Address of a pointer that receives the data specified with the System::setUserData function.
Return Values
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.
See Also
Version 1.10.03 Built on Feb 1, 2018