public FbxWriter CreateWriter(FbxManager pManager, FbxExporter pExporter, int pPluginID) { global::System.IntPtr cPtr = FbxWrapperNativePINVOKE.FbxIOPluginRegistry_CreateWriter(swigCPtr, FbxManager.getCPtr(pManager), FbxExporter.getCPtr(pExporter), pPluginID); FbxWriter ret = (cPtr == global::System.IntPtr.Zero) ? null : new FbxWriter(cPtr, false); if (FbxWrapperNativePINVOKE.SWIGPendingException.Pending) { throw FbxWrapperNativePINVOKE.SWIGPendingException.Retrieve(); } return(ret); }