IEnumerable<GeometryRayCastHit> SelectionHelper.CastRayOnGeometry(BoundVector castVector, GeometryRayCastSettings settings)

Finds geometry entities intersecting input BoundVector and returns them in list of GeometryRayCastHit. These are returned in the order they are hit, each item containing the entity and BoundVector normal to point hit.

Parameters

  • castVector
    Starting location and direction of cast ray.
  • settings
    Optional settings containing what geometry entity types hits will return.

Return Value

Type: IEnumerable<GeometryRayCastHit>