Click or drag to resize
DigitalRuneContactFeatureA Property
Gets or sets the index of the shape feature of object A that was hit.

Namespace: DigitalRune.Geometry.Collisions
Assembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax
public int FeatureA { get; set; }

Property Value

Type: Int32
The index of the feature of object A that was hit. The default value is -1.
Remarks
This property indicates which feature of the Shape of object A created this contact. This value is an index that depends on the type of Shape. For most shapes, this value is not used (in this cases it is -1). See the shape documentation of individual shapes (for example, CompositeShape or TriangleMeshShape) to find out how it is used.
See Also