| ContactSetCollectionTryGet Method (CollisionObject, CollisionObject, ContactSet) |
Gets the contact sets 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(
CollisionObject objectA,
CollisionObject objectB,
out ContactSet contactSet
)
Public Function TryGet (
objectA As CollisionObject,
objectB As CollisionObject,
<OutAttribute> ByRef contactSet As ContactSet
) As Boolean
public:
bool TryGet(
CollisionObject^ objectA,
CollisionObject^ objectB,
[OutAttribute] ContactSet^% contactSet
)
member TryGet :
objectA : CollisionObject *
objectB : CollisionObject *
contactSet : ContactSet byref -> bool
Parameters
- objectA
- Type: DigitalRune.Geometry.CollisionsCollisionObject
The first collision object. - objectB
- Type: DigitalRune.Geometry.CollisionsCollisionObject
The second collision object. - contactSet
- Type: DigitalRune.Geometry.CollisionsContactSet
The contact set with contacts between objectA and
objectB, 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