Skip to content

Function: computePickInfo()

ts
function computePickInfo(raycaster, mesh): PickInfo;

Defined in: src/utils/Picking.ts:13

Basic raycast helper to get the closest intersection on a mesh.

Parameters

raycaster

Raycaster

mesh

Mesh

Returns

PickInfo

Released under the MIT License.