NewtonWorldListenerSetDebugCallback

From Newton Wiki
Jump to: navigation, search

NewtonWorldListenerSetDebugCallback

void NewtonWorldListenerSetDebugCallback (const NewtonWorld* const newtonWorld, void* const listener, NewtonWorldListenerDebugCallback debugCallback)

Usage

Sets an universal debug callback

Parameters

  • const NewtonWorld* const newtonWorld
  • void* const listener
  • NewtonWorldListenerDebugCallback debugCallback

Return

  • (Procedure)

Description

DebugCallback will be called for each body, can be used as an body iterator, you trigger this callback by calling NewtonWorldListenerDebug

See also

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