NewtonWorldListenerSetDebugCallback

From Newton Wiki
Revision as of 08:02, 10 June 2019 by WikiSysop (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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