NewtonJointGetUserData

From Newton Wiki
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