Difference between revisions of "NewtonCollisionDestructor"
m (1 revision imported) |
|
(No difference)
|
Latest revision as of 08:02, 10 June 2019
NewtonCollisionDestructor
typedef void (*NewtonCollisionDestructor) (const NewtonWorld* world, const NewtonCollision* collision);
Usage
This callback is set using NewtonSetCollisionDestructor and will notify you whenever a newton collision is destroyed (when the collision reference count reaches zero - see NewtonAddCollisionReference and NewtonReleaseCollision)
Parameters
- const NewtonWorld* world - the newton world that the newton collision was created in.
- const NewtonCollision* collision - the newton collision which was freed.
Remarks
- This is not a library function, but a callback event.
See also
NewtonSetCollisionDestructor NewtonCollisionMakeUnique NewtonAddCollisionReference NewtonReleaseCollision