Difference between revisions of "NewtonBodyGetUserData"

From Newton Wiki
Jump to: navigation, search
 
m (1 revision imported)
 
(No difference)

Latest revision as of 08:02, 10 June 2019

NewtonBodyGetUserData

void* NewtonBodyGetUserData(const NewtonBody* bodyPtr)

Usage

Retrieve a user defined data value stored with the body.

Parameters

  • const NewtonBody *bodyPtr - pointer to the body.

Return

  • The user defined data.

Remarks

  • The application can store a user defined value with a rigid body. This value can be the pointer to a structure which is the graphical representation of the rigid body.

See also

NewtonBodySetUserData