Skip to content

PickHit beta ​

Interface of @v12-engine/client/lite-views

ts
export interface PickHit

What a ray hit by its triangles

Members ​

distance ​

ts
distance: number;

How far from the ray's start, in world units

id ​

ts
id: number;

Its id among those of its kind

kind ​

ts
kind: PickKind;

What kind of thing was hit

point ​

ts
point: {
        x: number;
        y: number;
        z: number;
    };

Where, in the world