One source SceneMesh's projected fill, ready to feed into a SceneModel as a TrianglesPrimitive geometry. Positions are laid out as flat XYZ triples in world space, on the projection plane (depth axis fixed at aabbFaceValue + offset).

Granularity is per source SceneMesh, not per source SceneObject — so callers can emit one fill mesh per source mesh and mirror the source SceneModel's mesh/object hierarchy faithfully (including per-mesh colour).

interface FillPolygons {
    indices: number[];
    positions: number[];
    sourceMeshId: string;
    sourceObjectId: string;
}

Properties

indices: number[]

Triangle indices into positions.

positions: number[]

Flat world-space XYZ positions, ready for createGeometry.

sourceMeshId: string

Source SceneMesh id this fill represents.

sourceObjectId: string

Source SceneObject id (parent of the SceneMesh below).