• Emit the translucent backing panel for a drawing into a SceneModel.

    Builds an inside-out 3D box around the projected AABB region — one wall on either side of the projection plane, framed by margin in the basis u/v axes. Inside-out winding (vertices ordered so face normals point inward) routes the geometry through the renderer's transparent pass with gl.CULL_FACE enabled, so the camera-facing wall's back face is culled and the opposite wall shows through as the backdrop.

    When PanelSpec.paint is supplied, the painter is called once and a SceneMaterial bound to the resulting colour + normal

    • metallic-roughness textures is created on the target SceneModel. The panel mesh has no UVs; the renderer's triplanar fallback samples by world position and triplanarScale = PanelSpec.textureScale.

    Creates four ids on the target SceneModel:

    • {targetId}__panel_geom — SceneGeometry
    • {targetId}__panel_mesh — SceneMesh
    • {targetId}__panel — SceneObject (clippable: false)
    • {targetId}__panel_mat — SceneMaterial (only when spec.paint is set)

    Parameters

    Returns SDKResult<unknown>