Documentation
    Preparing search index...

    Interface PickHit

    One intersection between a pick ray and a Pickable.

    interface PickHit {
        distance: number;
        node: Node;
        point: Vector3;
    }
    Index
    distance: number

    World-space distance from the ray origin (the near plane) to PickHit.point. Zero when the ray starts inside the box.

    node: Node

    The candidate's node.

    point: Vector3

    World-space entry point. A pooled vector owned by the hit — read it or copy it, never keep it across the next pick into the same array.