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(); } }
public void bufferContacts(PxContactPair newPair, SWIGTYPE_p_uint8_t bufferMemory) { physxPINVOKE.PxContactPair_bufferContacts(swigCPtr, PxContactPair.getCPtr(newPair), SWIGTYPE_p_uint8_t.getCPtr(bufferMemory)); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(PxContactPair obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }