#include <meshdelta.h>
This class represents the notion of a mesh edit Face Remap, which changes one or more of the verticies a face uses.
It can also alter the visibiliy of the face's edge, its hidden state and its material ID.
Public Member Functions |
|
| FaceRemap () | |
| DllExport | FaceRemap (DWORD faceIndex, DWORD flag, DWORD *vertexIndexArray) |
| DllExport void | Apply (Face &ff) |
| DllExport void | Apply (TVFace &tf) |
| DllExport void | Apply (FaceRemap &fr) |
| Face | operator* (Face &ff) |
| TVFace | operator* (TVFace &ff) |
Public Attributes |
|
| DWORD | f |
| Face being
remapped. This is a zero based index into the Mesh's faces array.
|
|
| DWORD | flags |
| Specifies which verticies to remap. |
|
| DWORD | v [3] |
| Array of vertex indicies. |
|
| DllExport FaceRemap | ( | DWORD | faceIndex, |
| DWORD | flag, | ||
| DWORD * | vertexIndexArray | ||
| ) |
| faceIndex | - The face to remap. |
| flag | - The flags to set. |
| vertexIndexArray | - The array of vertex indicies. |
| DllExport void Apply | ( | Face & | ff | ) |
| DllExport void Apply | ( | TVFace & | tf | ) |
| DllExport void Apply | ( | FaceRemap & | fr | ) |
| DWORD flags |
Specifies which verticies to remap.
One or more of the following values: FR_V0 - Remap the 0th vertex. FR_V1 - Remap the 1st vertex. FR_V2 - Remap the 2nd vertex. FR_ALL - Remap all the vertices.
| DWORD v[3] |
Array of vertex indicies.
These indicate which vertex is used by each specified corner of the face being remapped.