Inheritance: AkMIDIEvent
Beispiel #1
0
    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));
        }
    }
Beispiel #2
0
 public void Clone(AkMIDIPost other)
 {
     AkSoundEnginePINVOKE.CSharp_AkMIDIPost_Clone(swigCPtr, getCPtr(other));
 }
Beispiel #3
0
 internal static IntPtr getCPtr(AkMIDIPost obj)
 {
     return((obj == null) ? IntPtr.Zero : obj.swigCPtr);
 }
Beispiel #4
0
 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;
        }
    }
Beispiel #6
0
 internal static IntPtr getCPtr(AkMIDIPost obj)
 {
     return (obj == null) ? IntPtr.Zero : obj.swigCPtr;
 }