| ContactSetRecycle Method (Boolean) |
Namespace: DigitalRune.Geometry.CollisionsAssembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax public void Recycle(
bool recycleContacts
)
Public Sub Recycle (
recycleContacts As Boolean
)
public:
void Recycle(
bool recycleContacts
)
member Recycle :
recycleContacts : bool -> unit
Parameters
- recycleContacts
- Type: SystemBoolean
If set to , the contained Contacts are also recycled;
If set to , the contacts are not recycled.
Remarks
This method resets this instance and returns it to a resource pool if resource pooling is
enabled (see
ResourcePool.Enabled).
See Also