NewtonWorldGetDestructorCallBack

From Newton Wiki
Jump to: navigation, search

NewtonWorldGetDestructorCallBack

 NewtonDestroyWorld NewtonWorldGetDestructorCallBack (const NewtonWorld* newtonWorld);

Usage

Returns the currently assigned event callback which will be called when the given Newton world is destroyed.

Parameters

  • const NewtonWorld* newtonWorld - pointer to the Newton world.

Return

  • Pointer to the callback function used to handle the destruction of the Newton world.

Description

Returns the currently assigned event callback which will be called when the given Newton world is destroyed.

Remarks

Added since Newton 2.0

See also

NewtonWorldGetUserData, NewtonWorldSetDestructorCallback