public RESULT getVCAList(out VCA[] array) { array = null; int num; RESULT rESULT = Bank.FMOD_Studio_Bank_GetVCACount(this.rawPtr, out num); if (rESULT != RESULT.OK) { return(rESULT); } if (num == 0) { array = new VCA[0]; return(rESULT); } IntPtr[] array2 = new IntPtr[num]; int num2; rESULT = Bank.FMOD_Studio_Bank_GetVCAList(this.rawPtr, array2, num, out num2); if (rESULT != RESULT.OK) { return(rESULT); } if (num2 > num) { num2 = num; } array = new VCA[num2]; for (int i = 0; i < num2; i++) { array[i] = new VCA(array2[i]); } return(RESULT.OK); }
public RESULT getVCACount(out int count) { return(Bank.FMOD_Studio_Bank_GetVCACount(this.rawPtr, out count)); }