BIM.works SDKs - v3.0.0-b.115
    Preparing search index...

    Interface PickResult

    What is under a position on the canvas, from Viewer3d.pick or the third argument of the rightMouseClick setting. The vectors are copies, they stay valid after later picks.

    interface PickResult {
        coordinate: vec3 | null;
        normal: vec3 | null;
        qid: Qid | null;
    }
    Index

    Properties

    Properties

    coordinate: vec3 | null

    The point hit in render space (millimetres, globalBaseTranslation included), the frame SectionPlanes.startPlaneAt and MovablePlanes.addPlane take. Null when nothing was hit

    normal: vec3 | null

    The unit normal of the surface at the coordinate, facing the camera. Null when no surface was hit

    qid: Qid | null

    The object hit, null over empty space, the reference grid or a check overlay item