# CardboardMesh


`#include <cardboard.h>`

Struct representing a 3D mesh with 3D vertices and corresponding UV coordinates.

## Summary

| ### Public attributes ||
|---|---|
| `https://developers.google.com/cardboard/reference/c/struct/cardboard-mesh#struct_cardboard_mesh_1a95e8f2af113ed54d0d12d1392f9935b4` | `int *` Indices buffer. |
| `https://developers.google.com/cardboard/reference/c/struct/cardboard-mesh#struct_cardboard_mesh_1ac9b4846ad3a7164c82f73dd3adc75d00` | `int` Number of indices. |
| `https://developers.google.com/cardboard/reference/c/struct/cardboard-mesh#struct_cardboard_mesh_1afff3b5ef21b0a01b2c1151a6b4e202e8` | `int` Number of vertices. |
| `https://developers.google.com/cardboard/reference/c/struct/cardboard-mesh#struct_cardboard_mesh_1a1fc940d2ac7d11a2baf1dd4d969b40b8` | `float *` UV coordinates buffer. 2 floats per uv: u, v. |
| `https://developers.google.com/cardboard/reference/c/struct/cardboard-mesh#struct_cardboard_mesh_1a30b8cab38c9501a63007cf143db7a640` | `float *` Vertices buffer. 2 floats per vertex: x, y. |

## Public attributes

### indices

```
int * CardboardMesh::indices
```
Indices buffer.

### n_indices

```
int CardboardMesh::n_indices
```
Number of indices.

### n_vertices

```
int CardboardMesh::n_vertices
```
Number of vertices.

### uvs

```
float * CardboardMesh::uvs
```
UV coordinates buffer. 2 floats per uv: u, v.

### vertices

```
float * CardboardMesh::vertices
```
Vertices buffer. 2 floats per vertex: x, y.