• Walk a SceneModel's meshes, collect the ids of every non-destroyed SceneObject that owns at least one mesh referencing geometryId, and return them de-duplicated.

    This is the lookup the geometry-tied inspections need to populate Issue.highlight: a problem is reported on a SceneGeometry, but the user wants to see the affected SceneObjects in the Viewer. A geometry can be referenced by zero, one, or many meshes across many SceneObjects (instancing), so the result is a set — order is the iteration order of sceneModel.meshes.

    Used by inspectSceneModel for GEOMETRY_DUPLICATE, GEOMETRY_SIMILAR, GEOMETRY_OVER_BUDGET, GEOMETRY_OVER_EXTENT, MATERIAL_TEXTURED_GEOMETRY_NO_UVS, MATERIAL_PBR_GEOMETRY_NO_NORMALS. Returns an empty array when the geometry is unreferenced or every owning mesh / object is destroyed — caller decides whether to omit highlight entirely in that case.

    Parameters

    • sceneModel: SceneModel

      SceneModel to walk.

    • geometryId: string

      Geometry id to look up.

    Returns string[]

    De-duplicated SceneObject ids — empty when none qualify.