FMOD_Studio_EventDescription_GetParameter() private method

private FMOD_Studio_EventDescription_GetParameter ( IntPtr eventdescription, byte name, PARAMETER_DESCRIPTION_INTERNAL &parameter ) : RESULT
eventdescription System.IntPtr
name byte
parameter PARAMETER_DESCRIPTION_INTERNAL
return RESULT
コード例 #1
0
        public RESULT getParameter(string name, out PARAMETER_DESCRIPTION parameter)
        {
            parameter = default(PARAMETER_DESCRIPTION);
            PARAMETER_DESCRIPTION_INTERNAL pARAMETER_DESCRIPTION_INTERNAL;
            RESULT rESULT = EventDescription.FMOD_Studio_EventDescription_GetParameter(this.rawPtr, Encoding.UTF8.GetBytes(name + '\0'), out pARAMETER_DESCRIPTION_INTERNAL);

            if (rESULT != RESULT.OK)
            {
                return(rESULT);
            }
            pARAMETER_DESCRIPTION_INTERNAL.assign(out parameter);
            return(rESULT);
        }