type HitPointInfo = {
point: Vector3,
distance: number,
faceIndex: number
}On this page
Properties
The closest point on the mesh surface.
distance: number
Distance from the query point to the closest point.
faceIndex: number
Index of the triangle containing the closest point. Can be
passed to getTriangleHitPointInfo to retrieve UV, normal, and material index.