API Reference > imodeljs-frontend > LocatingElements > SnapDetail > constructor constructor Method Constructor for SnapDetail. SnapDetail(from: HitDetail, snapMode: SnapMode = SnapMode.Nearest, heat: SnapHeat = SnapHeat.None, snapPoint?: XYZProps): SnapDetail Parameter Type Description from HitDetail The HitDetail that created this snap snapMode SnapMode The SnapMode used to create this SnapDetail heat SnapHeat The SnapHeat of this SnapDetail snapPoint XYZProps The snapped point in the element Returns - SnapDetail Defined in core/frontend/src/HitDetail.ts Line 194 Last Updated: 13 June, 2024