ThreePipe
    Preparing search index...

    Interface GPUPickResult

    interface GPUPickResult {
        distance: number;
        normal: Vector3;
        object: IObject3D;
        point: Vector3;
    }
    Index
    distance: number

    Distance along the camera ray, as Raycaster.setFromCamera makes it (from the camera, or its plane for an orthographic camera)

    normal: Vector3

    World-space unit normal of the surface at the hit, on the side that the camera sees (flipped on the back face of a double-sided or back-sided material). It is the interpolated vertex normal (with skinning, morph targets, instancing and batching), or the flat face normal for a flat-shaded material or a geometry without normals. Normal and bump maps are not applied.

    object: IObject3D

    The front-most mesh under the point

    point: Vector3

    World position of the hit, at the centre of the pixel under the point