Exemplo n.º 1
0
 private void SetFbxSharpProgressCallback(FbxSharpProgressCallback callback)
 {
     NativeMethods.FbxImporter_SetFbxSharpProgressCallback(swigCPtr, FbxSharpProgressCallback.getCPtr(callback));
     if (NativeMethods.SWIGPendingException.Pending)
     {
         throw NativeMethods.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 2
0
 public void SetProgressCallback(Globals.FbxProgressCallback callback)
 {
     if (m_progressCallback != null)
     {
         m_progressCallback.Dispose();
     }
     m_progressCallback = (callback == null) ? null : new FbxSharpProgressCallback.Wrapper(callback);
     SetFbxSharpProgressCallback(m_progressCallback);
 }
Exemplo n.º 3
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(FbxSharpProgressCallback obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }