| ContactFeatureB Property |
Gets or sets the index of the shape feature of object B that was hit.
Namespace: DigitalRune.Geometry.CollisionsAssembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax public int FeatureB { get; set; }
Public Property FeatureB As Integer
Get
Set
public:
property int FeatureB {
int get ();
void set (int value);
}
member FeatureB : int with get, set
Property Value
Type:
Int32
The index of the feature of object B that was hit. The default value is -1.
Remarks
This property indicates which feature of the
Shape of object B 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