Click or drag to resize
DigitalRuneContactSetReset Method
Resets this contact set to default values.

Namespace: DigitalRune.Geometry.Collisions
Assembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax
public void Reset(
	CollisionObject objectA,
	CollisionObject objectB
)

Parameters

objectA
Type: DigitalRune.Geometry.CollisionsCollisionObject
The first collision object.
objectB
Type: DigitalRune.Geometry.CollisionsCollisionObject
The second collision object.
Remarks
This method allows to re-use an existing contact set instead of allocating a new instance on the heap. This avoids garbage on the heap. In general, this method must only be used by the creator of this instance. If the ContactSet was created by the collision detection, this method should not be used.
See Also