public PxShape createShape(PxGeometry geometry, PxMaterial material, SWIGTYPE_p_physx__PxFlagsT_physx__PxShapeFlag__Enum_uint8_t_t shapeFlags) { global::System.IntPtr cPtr = physxPINVOKE.PxRigidActor_createShape__SWIG_2(swigCPtr, PxGeometry.getCPtr(geometry), PxMaterial.getCPtr(material), SWIGTYPE_p_physx__PxFlagsT_physx__PxShapeFlag__Enum_uint8_t_t.getCPtr(shapeFlags)); PxShape ret = (cPtr == global::System.IntPtr.Zero) ? null : new PxShape(cPtr, false); if (physxPINVOKE.SWIGPendingException.Pending) { throw physxPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public PxShape createShape(PxGeometry geometry, PxMaterial material) { global::System.IntPtr cPtr = physxPINVOKE.PxRigidActor_createShape__SWIG_3(swigCPtr, PxGeometry.getCPtr(geometry), PxMaterial.getCPtr(material)); PxShape ret = (cPtr == global::System.IntPtr.Zero) ? null : new PxShape(cPtr, false); if (physxPINVOKE.SWIGPendingException.Pending) { throw physxPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }