toHitProps Method
Convert this pixel to a HitProps suitable for constructing a HitDetail.
toHitProps(viewport: Viewport): Pixel.HitProps
| Parameter | Type | Description |
|---|---|---|
| viewport | Viewport | The viewport in which the hit originated. |
Returns - Pixel.HitProps
Defined in
- core/frontend/src/render/Pixel.ts Line 121
Last Updated: 05 February, 2026
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.