#if !(UNITY_QNX) // Disable under unsupported platforms. //------------------------------------------------------------------------------ // // // This file was automatically generated by SWIG (https://www.swig.org). // Version 4.4.0 // // Do not make changes to this file unless you know what you are doing - modify // the SWIG interface file instead. //------------------------------------------------------------------------------ public class AkMIDINoteAftertouch : global::System.IDisposable { private global::System.IntPtr swigCPtr; protected bool swigCMemOwn; internal AkMIDINoteAftertouch(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; swigCPtr = cPtr; } internal static global::System.IntPtr getCPtr(AkMIDINoteAftertouch obj) { return (obj == null) ? global::System.IntPtr.Zero : obj.swigCPtr; } internal virtual void setCPtr(global::System.IntPtr cPtr) { Dispose(); swigCPtr = cPtr; } ~AkMIDINoteAftertouch() { Dispose(false); } public void Dispose() { Dispose(true); global::System.GC.SuppressFinalize(this); } protected virtual void Dispose(bool disposing) { lock(this) { if (swigCPtr != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; AkUnitySoundEnginePINVOKE.CSharp_delete_AkMIDINoteAftertouch(swigCPtr); } swigCPtr = global::System.IntPtr.Zero; } global::System.GC.SuppressFinalize(this); } } public byte byNote { set { AkUnitySoundEnginePINVOKE.CSharp_AkMIDINoteAftertouch_byNote_set(swigCPtr, value); } get { return AkUnitySoundEnginePINVOKE.CSharp_AkMIDINoteAftertouch_byNote_get(swigCPtr); } } public byte byValue { set { AkUnitySoundEnginePINVOKE.CSharp_AkMIDINoteAftertouch_byValue_set(swigCPtr, value); } get { return AkUnitySoundEnginePINVOKE.CSharp_AkMIDINoteAftertouch_byValue_get(swigCPtr); } } public AkMIDINoteAftertouch() : this(AkUnitySoundEnginePINVOKE.CSharp_new_AkMIDINoteAftertouch(), true) { } } #endif // #if !(UNITY_QNX) // Disable under unsupported platforms.