public RESULT getParameter(string name, out ParameterInstance instance)
{
instance = null;
IntPtr newPtr = new IntPtr();
RESULT result = FMOD_Studio_EventInstance_GetParameter(rawPtr, Encoding.UTF8.GetBytes(name + Char.MinValue), out newPtr);
if (result != RESULT.OK)
{
return result;
}
instance = new ParameterInstance(newPtr);
return result;
}
public RESULT getParameterCount(out int count)