//BIOQUIRK: This junk should ideally be handled by a source generator or something // (If it does get handled by a source generator it also needs to be threadsafe, which this is not.) public WheelContactModifyCallback() { if (VTable.IsDefault) { VTable = new PxContactModifyCallback.VirtualMethodTable() { onContactModify = &onContactModify, //BIOQUIRK: Method is missing so vtable entry is untyped __DeletingDestructorPointer = (delegate * unmanaged[Cdecl] < PxContactModifyCallback *, void >) & Destructor }; } Base = new() { VirtualMethodTablePointer = VTable }; }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(PxContactModifyCallback obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }