pub trait AssertHandler: Sized {
    fn on_assert(&self, expr: &str, file: &str, line: u32, should_ignore: &mut bool);

    unsafe fn into_px(self) -> *mut PxAssertHandler { ... }
}
Expand description

This represents the (deprecated) PxAssertHandler interface.

Required Methods

Called as a result of a failed assert in PhysX.

The should_ignore parameter is a static bool in C++ and can be used to disable asserts when received.

Provided Methods

Safety

Do not override this method.

Implementors