public virtual SWIGTYPE_p_physx__PxTriangleMesh createTriangleMesh(SWIGTYPE_p_physx__PxInputStream stream) { global::System.IntPtr cPtr = physxPINVOKE.PxPhysics_createTriangleMesh(swigCPtr, SWIGTYPE_p_physx__PxInputStream.getCPtr(stream)); SWIGTYPE_p_physx__PxTriangleMesh ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_physx__PxTriangleMesh(cPtr, false); if (physxPINVOKE.SWIGPendingException.Pending) { throw physxPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public virtual PxClothFabric createClothFabric(SWIGTYPE_p_physx__PxInputStream stream) { global::System.IntPtr cPtr = physxPINVOKE.PxPhysics_createClothFabric__SWIG_0(swigCPtr, SWIGTYPE_p_physx__PxInputStream.getCPtr(stream)); 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(SWIGTYPE_p_physx__PxInputStream obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }