HitDetailFeatureProps Interface @beta
Arguments supplied to the HitDetail constructor when identifying the hit using a display feature.
Properties
| Name | Type | Description | |
|---|---|---|---|
| distFraction Readonly | number | The distance in view coordinates between the hit and the near plane. | |
| distXY Readonly | number | The xy distance to the hit in view coordinates. | |
| feature Readonly | IModelDisplayFeature | The feature from which the hit originated. | |
| hitPoint Readonly | Point3d | The approximate location in world coordinates on the hit geometry. | |
| hitSource Readonly | HitSource | The procedure that requested the locate operation. | |
| path Readonly | HitPath | undefined | Describes the path by which the hit was located through a series of attached views. | |
| priority Readonly | HitPriority | The hit geometry priority/classification. | |
| testPoint Readonly | Point3d | The point in world coordinates that was used as the initial locate point. | |
| viewport Readonly | ScreenViewport | The viewport in which the locate operation was performed. |
Defined in
- core/frontend/src/HitDetail.ts Line 195
Last Updated: 26 November, 2026
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.