NewtonBodyGetUserData

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

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