Appearance
Geometries Object
The geometries object contains vertex data for the element's geometry.
| Key | Type | Description |
|---|---|---|
vertexData | Array<Object> | Array of vertex data objects defining the geometry mesh. |
Vertex Data Object
Each object in the vertexData array contains the geometric data for a mesh.
| Key | Type | Description |
|---|---|---|
id | String | Unique identifier for this vertex data object. |
indices | Array<Number> | Array of indices defining the triangle faces (typically length is multiple of 3). |
positions | Array<Number> | Array of vertex positions as [x, y, z, x, y, z, ...] (length is multiple of 3). |
normals | Array<Number> | Array of vertex normals as [x, y, z, x, y, z, ...] (length is multiple of 3). |
uvs | Array<Number> | Array of UV texture coordinates as [u, v, u, v, ...] (length is multiple of 2). |