 | CollisionAlgorithmMatrixItem Property (Type, Type) |
Namespace: DigitalRune.Geometry.CollisionsAssembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntaxpublic CollisionAlgorithm this[
Type typeA,
Type typeB
] { get; set; }
Public Default Property Item (
typeA As Type,
typeB As Type
) As CollisionAlgorithm
Get
Set
public:
property CollisionAlgorithm^ default[Type^ typeA, Type^ typeB] {
CollisionAlgorithm^ get (Type^ typeA, Type^ typeB);
void set (Type^ typeA, Type^ typeB, CollisionAlgorithm^ value);
}
member Item : CollisionAlgorithm with get, set
Parameters
- typeA
- Type: SystemType
The first shape type. - typeB
- Type: SystemType
The second shape type.
Property Value
Type:
CollisionAlgorithmThe collision algorithm.
Exceptions
Remarks
Collision algorithms can be defined per pair of shape types (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