3D Face
This structure is used by function GetFace.
struct Face
{
unsigned *v;
unsigned *n;
unsigned *uv0;
unsigned *uv1;
unsigned *uv2;
unsigned *uv3;
unsigned *colors;
unsigned *holes;
unsigned size;
unsigned mtlId;
unsigned numHoles;
};
| v | Indices of face coordinates |
| n | Indices of per veretx normals |
| uv0 | Indices of per vertex UV coodinates for channel 0 |
| uv1 | Indices of per vertex UV coodinates for channel 1 |
| uv2 | Indices of per vertex UV coodinates for channel 2 |
| uv3 | Indices of per vertex UV coodinates for channel 3 |
| colors | Indices of per veretx colors |
| holes | If polygoin has holes, this is start of inner contor in vertices array. |
| size | Number of points in polygon |
| mtlId | Index of material |
| numHoles | Number of holes in polygon. |
Holes may be present only if ploygonize operation is used and holes are allowed.
