public virtual void onContact(PxContactPairHeader pairHeader, PxContactPair pairs, SWIGTYPE_p_uint32_t nbPairs) { physxPINVOKE.PxSimulationEventCallback_onContact(swigCPtr, PxContactPairHeader.getCPtr(pairHeader), PxContactPair.getCPtr(pairs), SWIGTYPE_p_uint32_t.getCPtr(nbPairs)); if (physxPINVOKE.SWIGPendingException.Pending) { throw physxPINVOKE.SWIGPendingException.Retrieve(); } }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(PxContactPairHeader obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }