fast-mesh-wasm
    Preparing search index...

    Interface ContactGroup

    A contact group for SceneStore.setContactGroup: meshes coloured by their distance to their partners, each with one colour scale whichever partner it touches.

    interface ContactGroup {
        coloring: Omit<DistanceColoring, "distanceTo">;
        meshes: readonly MeshHandle[];
        pairs?: "all" | readonly (readonly [MeshHandle, MeshHandle])[];
    }
    Index
    coloring: Omit<DistanceColoring, "distanceTo">

    The colouring of every member, its distanceTo being the member's partners.

    meshes: readonly MeshHandle[]

    The members, all in the store, each once.

    pairs?: "all" | readonly (readonly [MeshHandle, MeshHandle])[]

    Which members are measured to each other, either way round: listed pairs of members, or "all" (the default) for every pair.