public virtual bool onHit(PxSpatialIndexItem item, float distance, SWIGTYPE_p_float shrunkDistance) { bool ret = physxPINVOKE.PxSpatialLocationCallback_onHit(swigCPtr, PxSpatialIndexItem.getCPtr(item), distance, SWIGTYPE_p_float.getCPtr(shrunkDistance)); if (physxPINVOKE.SWIGPendingException.Pending) { throw physxPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public virtual bool onHit(PxSpatialIndexItem item) { bool ret = physxPINVOKE.PxSpatialOverlapCallback_onHit(swigCPtr, PxSpatialIndexItem.getCPtr(item)); if (physxPINVOKE.SWIGPendingException.Pending) { throw physxPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public virtual SWIGTYPE_p_uint32_t insert(PxSpatialIndexItem item, PxBounds3 bounds) { SWIGTYPE_p_uint32_t ret = new SWIGTYPE_p_uint32_t(physxPINVOKE.PxSpatialIndex_insert(swigCPtr, PxSpatialIndexItem.getCPtr(item), PxBounds3.getCPtr(bounds)), true); if (physxPINVOKE.SWIGPendingException.Pending) { throw physxPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(PxSpatialIndexItem obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }