Beispiel #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);
        }
    }
Beispiel #2
0
 internal static HandleRef getCPtr(AkListenerPosition obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
  public static AKRESULT GetListenerPosition(uint in_uIndex, AkListenerPosition out_rPosition) {
    AKRESULT ret = (AKRESULT)AkSoundEnginePINVOKE.CSharp_GetListenerPosition(in_uIndex, AkListenerPosition.getCPtr(out_rPosition));

    return ret;
  }
Beispiel #4
0
 internal static IntPtr getCPtr(AkListenerPosition obj)
 {
     return((obj != null) ? obj.swigCPtr : IntPtr.Zero);
 }
Beispiel #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;
 }