NewtonWorldListenerSetPreUpdateCallback

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

NewtonWorldListenerSetPreUpdateCallback

void NewtonWorldListenerSetPreUpdateCallback (const NewtonWorld* const newtonWorld, void* const listener, NewtonWorldUpdateListenerCallback update)

Usage

Adds a pre-update callback to newton world, this callback will be called when your application calls newtonupdate, but before any physics simulation begins.

Parameters

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

Return

  • (Procedure)

Description

See also

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