Skip to content

Function: computePickInfo() ​

ts
function computePickInfo(raycaster, mesh): PickInfo;

Defined in: 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.