| CollisionAlgorithmMatrixItem Property (ContactSet) |
Namespace: DigitalRune.Geometry.CollisionsAssembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax public CollisionAlgorithm this[
ContactSet pair
] { get; set; }
Public Default Property Item (
pair As ContactSet
) As CollisionAlgorithm
Get
Set
public:
property CollisionAlgorithm^ default[ContactSet^ pair] {
CollisionAlgorithm^ get (ContactSet^ pair);
void set (ContactSet^ pair, CollisionAlgorithm^ value);
}
member Item : CollisionAlgorithm with get, set
Parameters
- pair
- Type: DigitalRune.Geometry.CollisionsContactSet
A contact set containing a pair of collision objects.
Property Value
Type:
CollisionAlgorithmThe collision algorithm.
Exceptions Remarks
Collision algorithms can be defined per pair of shape classes (not per pair of shape
instances). If an algorithm is set for [A, B], the same algorithm is automatically set for
[B, A].
See Also