public AkMIDIPost this[int index] { get { if (index >= m_Count) { throw new IndexOutOfRangeException("Out of range access in AkMIDIPostArray"); } return(new AkMIDIPost(GetObjectPtr(index), false)); } set { if (index >= m_Count) { throw new IndexOutOfRangeException("Out of range access in AkMIDIPostArray"); } AkSoundEnginePINVOKE.CSharp_AkMIDIPost_Clone(GetObjectPtr(index), AkMIDIPost.getCPtr(value)); } }
public void Clone(AkMIDIPost other) { AkSoundEnginePINVOKE.CSharp_AkMIDIPost_Clone(swigCPtr, getCPtr(other)); }
internal static IntPtr getCPtr(AkMIDIPost obj) { return((obj == null) ? IntPtr.Zero : obj.swigCPtr); }
internal static global::System.IntPtr getCPtr(AkMIDIPost obj) { return((obj == null) ? global::System.IntPtr.Zero : obj.swigCPtr); }
public static AKRESULT PostMIDIOnEvent(uint in_eventID, UnityEngine.GameObject in_gameObjectID, AkMIDIPost in_pPosts, ushort in_uNumPosts) { AkAutoObject tempObj = null; uint tempin_gameObjectID = (uint)AutoRegisterAkGameObj(in_gameObjectID, ref tempObj); { AKRESULT ret = (AKRESULT)AkSoundEnginePINVOKE.CSharp_PostMIDIOnEvent(in_eventID, tempin_gameObjectID, AkMIDIPost.getCPtr(in_pPosts), in_uNumPosts); return ret; } }
internal static IntPtr getCPtr(AkMIDIPost obj) { return (obj == null) ? IntPtr.Zero : obj.swigCPtr; }