Click or drag to resize
DigitalRuneRayShapeStopsAtFirstHit Property
Gets or sets a value indicating whether the ray stops at the first (closest) object that was hit.

Namespace: DigitalRune.Geometry.Shapes
Assembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax
public bool StopsAtFirstHit { get; set; }

Property Value

Type: Boolean
if the ray stops at the closest hit object; otherwise, if the ray shoots through objects and hits all objects along the ray.
Remarks
Note: This property is currently not applied if a ray is contained in a CompositeShape.
See Also