FMOD_Studio_System_GetBusByID() private method

private FMOD_Studio_System_GetBusByID ( IntPtr studiosystem, byte guid, IntPtr &bus ) : RESULT
studiosystem System.IntPtr
guid byte
bus System.IntPtr
return RESULT
Exemplo n.º 1
0
        public RESULT getBusByID(Guid guid, out Bus bus)
        {
            bus = null;
            IntPtr raw    = 0;
            RESULT rESULT = System.FMOD_Studio_System_GetBusByID(this.rawPtr, guid.ToByteArray(), out raw);

            if (rESULT != RESULT.OK)
            {
                return(rESULT);
            }
            bus = new Bus(raw);
            return(rESULT);
        }