Documentation / @sw-file-lib/core / MeshGroup
Interface: MeshGroup
ts
interface MeshGroup {
indexBufferStart: number;
indexBufferLength: number;
materialIndex: number;
boundsMin: MeshVec3;
boundsMax: MeshVec3;
name: string;
}Defined in: mesh/index.ts:51
A render group within a mesh.
Each group references a contiguous range of the shared index buffer and stores its own material, bounds, and display name.
Properties
| Property | Type | Description |
|---|---|---|
| Starting index within the global index buffer. | |
| Number of indices belonging to this group. | |
| Material index. | |
Minimum corner of the group's bounding box. | ||
Maximum corner of the group's bounding box. | ||
| Group name stored in the file. |