public PxShape createShape(PxGeometry geometry, PxMaterial material) { global::System.IntPtr cPtr = physxPINVOKE.PxPhysics_createShape__SWIG_2(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); }
public virtual PxShape createShape(PxGeometry geometry, SWIGTYPE_p_p_physx__PxMaterial materials, SWIGTYPE_p_uint16_t materialCount) { global::System.IntPtr cPtr = physxPINVOKE.PxPhysics_createShape__SWIG_5(swigCPtr, PxGeometry.getCPtr(geometry), SWIGTYPE_p_p_physx__PxMaterial.getCPtr(materials), SWIGTYPE_p_uint16_t.getCPtr(materialCount)); 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, bool isExclusive, SWIGTYPE_p_physx__PxFlagsT_physx__PxShapeFlag__Enum_uint8_t_t shapeFlags) { global::System.IntPtr cPtr = physxPINVOKE.PxPhysics_createShape__SWIG_0(swigCPtr, PxGeometry.getCPtr(geometry), PxMaterial.getCPtr(material), isExclusive, 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); }