public virtual PxClothFabric createClothFabric(PxClothFabricDesc desc) { global::System.IntPtr cPtr = physxPINVOKE.PxPhysics_createClothFabric__SWIG_1(swigCPtr, PxClothFabricDesc.getCPtr(desc)); PxClothFabric ret = (cPtr == global::System.IntPtr.Zero) ? null : new PxClothFabric(cPtr, false); if (physxPINVOKE.SWIGPendingException.Pending) { throw physxPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(PxClothFabricDesc obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }