Documentation - v19.16.0-dev
    Preparing search index...

    A leaf found by a BoxTreeReader query: its id, and where it was found.

    interface BoxTreeIntersection {
        box: Box3;
        distance: number;
        id: number;
        point: Vector3;
    }
    Index

    Properties

    Properties

    box: Box3

    The leaf's box.

    distance: number

    From the ray's origin to point; from the point to the box's centre for intersectPoint.

    id: number

    The leaf's id (in the scene's tree, a part's or a sprite's: see LeafIds).

    point: Vector3

    Where the ray enters the box; the point given to intersectPoint.