| RayShapeStopsAtFirstHit Property |
Gets or sets a value indicating whether the ray stops at the first (closest) object that was
hit.
Namespace: DigitalRune.Geometry.ShapesAssembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax public bool StopsAtFirstHit { get; set; }
Public Property StopsAtFirstHit As Boolean
Get
Set
public:
property bool StopsAtFirstHit {
bool get ();
void set (bool value);
}
member StopsAtFirstHit : bool with 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