| CollisionAlgorithmMatrixItem Property (CollisionObject, CollisionObject) |
Namespace: DigitalRune.Geometry.CollisionsAssembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax public CollisionAlgorithm this[
CollisionObject objectA,
CollisionObject objectB
] { get; set; }
Public Default Property Item (
objectA As CollisionObject,
objectB As CollisionObject
) As CollisionAlgorithm
Get
Set
public:
property CollisionAlgorithm^ default[CollisionObject^ objectA, CollisionObject^ objectB] {
CollisionAlgorithm^ get (CollisionObject^ objectA, CollisionObject^ objectB);
void set (CollisionObject^ objectA, CollisionObject^ objectB, CollisionAlgorithm^ value);
}
member Item : CollisionAlgorithm with get, set
Parameters
- objectA
- Type: DigitalRune.Geometry.CollisionsCollisionObject
The first collision object. - objectB
- Type: DigitalRune.Geometry.CollisionsCollisionObject
The second collision object.
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