#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
/* ----------------------------------------------------------------------------
 * This file was automatically generated by SWIG (http://www.swig.org).
 * Version 2.0.11
 *
 * Do not make changes to this file unless you know what you are doing--modify
 * the SWIG interface file instead.
 * ----------------------------------------------------------------------------- */


using System;
using System.Runtime.InteropServices;

public class EnvelopePoint : IDisposable {
  private IntPtr swigCPtr;
  protected bool swigCMemOwn;

  internal EnvelopePoint(IntPtr cPtr, bool cMemoryOwn) {
    swigCMemOwn = cMemoryOwn;
    swigCPtr = cPtr;
  }

  internal static IntPtr getCPtr(EnvelopePoint obj) {
    return (obj == null) ? IntPtr.Zero : obj.swigCPtr;
  }

  ~EnvelopePoint() {
    Dispose();
  }

  public virtual void Dispose() {
    lock(this) {
      if (swigCPtr != IntPtr.Zero) {
        if (swigCMemOwn) {
          swigCMemOwn = false;
          AkSoundEnginePINVOKE.CSharp_delete_EnvelopePoint(swigCPtr);
        }
        swigCPtr = IntPtr.Zero;
      }
      GC.SuppressFinalize(this);
    }
  }

  public uint uPosition {
    set {
      AkSoundEnginePINVOKE.CSharp_EnvelopePoint_uPosition_set(swigCPtr, value);
    } 
    get {
      uint ret = AkSoundEnginePINVOKE.CSharp_EnvelopePoint_uPosition_get(swigCPtr);
      return ret;
    } 
  }

  public ushort uAttenuation {
    set {
      AkSoundEnginePINVOKE.CSharp_EnvelopePoint_uAttenuation_set(swigCPtr, value);
    } 
    get {
      ushort ret = AkSoundEnginePINVOKE.CSharp_EnvelopePoint_uAttenuation_get(swigCPtr);
      return ret;
    } 
  }

  public EnvelopePoint() : this(AkSoundEnginePINVOKE.CSharp_new_EnvelopePoint(), true) {

  }

}
#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.