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

Last Updated: 14 November, 2024