Difference between pages "NewtonOnJointDeserializationCallback" and "NewtonContactJointGetNextContact"
(Difference between pages)
m (1 revision imported) |
|||
Line 1: | Line 1: | ||
− | == | + | == NewtonContactJointGetNextContact == |
− | + | void* NewtonContactJointGetNextContact (const NewtonJoint* contactJoint, void* contact); | |
== Usage == | == Usage == | ||
− | + | Returns a pointer to the next contact point's data of the contact joint. | |
== Parameters == | == Parameters == | ||
− | * | + | * const NewtonJoint* contactJoint - pointer to the contact joint. |
− | * | + | * void * - pointer to the previous contact point data. |
− | |||
− | |||
== Return == | == Return == | ||
− | * | + | |
+ | * Pointer to the next contact point data or NULL in case there are no further contact points. | ||
== Description == | == Description == | ||
+ | |||
+ | Returns a pointer to the next contact point's data of the contact joint. | ||
+ | |||
+ | The function acts like an iterator together with [[NewtonContactJointGetFirstContact]]. | ||
== Remarks == | == Remarks == | ||
− | + | Added in Newton 2.0 | |
== See also == | == See also == | ||
− | [[ | + | [[NewtonContactJointGetFirstContact]] |
+ | [[NewtonContactJointGetContactCount]] | ||
+ | [[NewtonContactJointRemoveContact]] | ||
− | [[Category: | + | [[Category:contact joints interface]] [[Category:Newton Functions]] [[Category:Newton 3 Functions]] [[Category:Joint functions]] |
Latest revision as of 08:02, 10 June 2019
Contents
NewtonContactJointGetNextContact
void* NewtonContactJointGetNextContact (const NewtonJoint* contactJoint, void* contact);
Usage
Returns a pointer to the next contact point's data of the contact joint.
Parameters
- const NewtonJoint* contactJoint - pointer to the contact joint.
- void * - pointer to the previous contact point data.
Return
- Pointer to the next contact point data or NULL in case there are no further contact points.
Description
Returns a pointer to the next contact point's data of the contact joint.
The function acts like an iterator together with NewtonContactJointGetFirstContact.
Remarks
Added in Newton 2.0
See also
NewtonContactJointGetFirstContact NewtonContactJointGetContactCount NewtonContactJointRemoveContact