NewtonBodyGetUserData

From Newton Wiki
Jump to: navigation, search

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