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

    Interface OverlayGltfItem

    A glTF 2.0 model (.glb, or .gltf with embedded buffers; no Draco or meshopt) in the overlay's frame: its coordinates taken as raw world mm of the bound model, Z up. Fetched with the viewer's own client, so download URLs that need its credentials work; drawn one mesh per material colour once it has loaded (color or role recolours all of it). A check's helper geometry (docs/ui-api-wp5/README.md §2.5)

    interface OverlayGltfItem {
        color?: string;
        depth?: "always" | "test" | "ghost";
        id: string;
        label?: string;
        labelShow?: "always" | "hover";
        qids?: string[];
        role?: OverlayRole;
        storey?: string;
        tooltip?: string;
        type: "gltf";
        url: string;
        views?: ("2d" | "3d")[];
    }

    Hierarchy (View Summary)

    Index

    Properties

    color?: string

    "#rrggbb" or "#rrggbbaa", overrides the role colour

    depth?: "always" | "test" | "ghost"

    "ghost" draws as "test" until the ghost pass arrives

    id: string

    Unique within the overlay

    label?: string
    labelShow?: "always" | "hover"

    "hover": the label only while the item or one of its qids is hovered; default "always"

    qids?: string[]

    Related model objects

    storey?: string
    tooltip?: string
    type: "gltf"
    url: string
    views?: ("2d" | "3d")[]