| ContactSetCollectionTryGet Method (PairCollisionObject, ContactSet) |
Gets the contact set for the given pair of collision objects.
Namespace: DigitalRune.Geometry.CollisionsAssembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax public bool TryGet(
Pair<CollisionObject> collisionObjectPair,
out ContactSet contactSet
)
Public Function TryGet (
collisionObjectPair As Pair(Of CollisionObject),
<OutAttribute> ByRef contactSet As ContactSet
) As Boolean
public:
bool TryGet(
Pair<CollisionObject^> collisionObjectPair,
[OutAttribute] ContactSet^% contactSet
)
member TryGet :
collisionObjectPair : Pair<CollisionObject> *
contactSet : ContactSet byref -> bool
Parameters
- collisionObjectPair
- Type: DigitalRune.CollectionsPairCollisionObject
The collision object pair. - contactSet
- Type: DigitalRune.Geometry.CollisionsContactSet
The contact set with contacts between the given collision object pair, if such a contact set
exists in the collection - otherwise, .
Return Value
Type:
Boolean if the collections contains a contact set for the specified pair of
collision objects; otherwise,
.
See Also