Пример #1
0
    public virtual void Dispose()
    {
        AkListenerPosition position = this;

        lock (position)
        {
            if (this.swigCPtr != IntPtr.Zero)
            {
                if (this.swigCMemOwn)
                {
                    this.swigCMemOwn = false;
                    AkSoundEnginePINVOKE.CSharp_delete_AkListenerPosition(this.swigCPtr);
                }
                this.swigCPtr = IntPtr.Zero;
            }
            GC.SuppressFinalize(this);
        }
    }
Пример #2
0
 internal static HandleRef getCPtr(AkListenerPosition obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
Пример #3
0
  public static AKRESULT GetListenerPosition(uint in_uIndex, AkListenerPosition out_rPosition) {
    AKRESULT ret = (AKRESULT)AkSoundEnginePINVOKE.CSharp_GetListenerPosition(in_uIndex, AkListenerPosition.getCPtr(out_rPosition));

    return ret;
  }
Пример #4
0
 internal static IntPtr getCPtr(AkListenerPosition obj)
 {
     return((obj != null) ? obj.swigCPtr : IntPtr.Zero);
 }
Пример #5
0
 internal static HandleRef getCPtr(AkListenerPosition obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
 internal static IntPtr getCPtr(AkListenerPosition obj)
 {
     return((obj == null) ? IntPtr.Zero : obj.swigCPtr);
 }
 internal static IntPtr getCPtr(AkListenerPosition obj) {
   return (obj == null) ? IntPtr.Zero : obj.swigCPtr;
 }