@twinfinity/core
    Preparing search index...

    Type Alias PickResult

    PickResult:
        | PickResultMesh
        | PickResultIcon
        | PickResultIfcProductMesh
        | PickResultEmpty

    The result of a "pick" operation. For example if user clicks something on screen a pick operation can be issued to determine what the click, if anything, hit. It is a discriminant union. Use the type property or instanceof to determine what kind of result the pick operation gives. It can be

    • Empty.
    • A BabylonJS mesh
    • A Icon. Includes the BabylonJS mesh that the Icon belongs to.
    • A IFC product and the IFC mesh in it. Includes the BabylonJS mesh that the Icon belongs to.