| ContactHelperMerge Method (ContactSet, ContactSet, CollisionQueryType, Single) |
Merges a new set of contacts into the given contact set.
Namespace: DigitalRune.Geometry.CollisionsAssembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax public static void Merge(
ContactSet target,
ContactSet newContacts,
CollisionQueryType type,
float contactPositionTolerance
)
Public Shared Sub Merge (
target As ContactSet,
newContacts As ContactSet,
type As CollisionQueryType,
contactPositionTolerance As Single
)
public:
static void Merge(
ContactSet^ target,
ContactSet^ newContacts,
CollisionQueryType type,
float contactPositionTolerance
)
static member Merge :
target : ContactSet *
newContacts : ContactSet *
type : CollisionQueryType *
contactPositionTolerance : float32 -> unit
Parameters
- target
- Type: DigitalRune.Geometry.CollisionsContactSet
The target contact. (Must not be .) - newContacts
- Type: DigitalRune.Geometry.CollisionsContactSet
The contact set to merge. (Must not be .)
- type
- Type: DigitalRune.Geometry.CollisionsCollisionQueryType
The type of collision query. - contactPositionTolerance
- Type: SystemSingle
The contact position tolerance.
Exceptions Remarks See Also