NewtonWorldListenerGetBodyDestroyCallback

From Newton Wiki
Jump to: navigation, search

NewtonWorldListenerGetBodyDestroyCallback

NewtonWorldListenerBodyDestroyCallback NewtonWorldListenerGetBodyDestroyCallback (const NewtonWorld* const newtonWorld, void* const listener)

Usage

Returns pointer to currently set body destroy callback for a listener, that was set via NewtonWorldListenerSetBodyDestroyCallback.

Parameters

  • const NewtonWorld* const newtonWorld - instance of newton world
  • void* const listener - pointer to a listener created with NewtonWorldAddListener

Return

  • NewtonWorldListenerBodyDestroyCallback pointer

Description

See also

NewtonWorldAddListener, NewtonWorldGetListenerUserData, NewtonWorldListenerDebug, NewtonWorldListenerGetBodyDestroyCallback, NewtonWorldListenerSetBodyDestroyCallback, NewtonWorldListenerSetDebugCallback, NewtonWorldListenerSetDestroctorCallback, NewtonWorldListenerSetPostUpdateCallback, NewtonWorldListenerSetPreUpdateCallback