NewtonJointGetUserData

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

NewtonJointGetUserData

void* NewtonJointGetUserData(const NewtonJoint* joint)

Usage

Retrieve a user defined data value stored with the joint.

Parameters

  • const NewtonJoint *joint - pointer to the joint.

Return

  • The user defined data.

Remarks

  • The application can store a user defined value with a joint. This value can be the pointer to a structure to store some game play data for special effect.

See also

NewtonJointSetUserData