#include <meshdelta.h>
This class represents the notion of a mesh edit Face Change, which changes the visibiliy of the face's edges, its hidden state and/or its material ID.
Public Member Functions |
|
| FaceChange () | |
| FaceChange (DWORD ff, DWORD fl, DWORD v) | |
| DllExport void | Apply (Face &ff) |
| DllExport void | Apply (FaceChange &fa) |
Public Attributes |
|
| DWORD | f |
| The face to change. This is a zero based
index into the Mesh::faces array. |
|
| DWORD | flags |
| Specifies which attributes to change.
|
|
| DWORD | val |
| The value containing the face change
information. |
|
| FaceChange | ( | ) | [inline] |
| FaceChange | ( | DWORD | ff, |
| DWORD | fl, | ||
| DWORD | v | ||
| ) | [inline] |
| DllExport void Apply | ( | Face & | ff | ) |
| DllExport void Apply | ( | FaceChange & | fa | ) |
| DWORD f |
The face to change. This is a zero based index into the Mesh::faces array.
| DWORD flags |
Specifies which attributes to change.
One or more of the following values: ATTRIB_EDGE_A - Alter edge between v0 and v1 ATTRIB_EDGE_B - Alter edge between v1 and v2 ATTRIB_EDGE_C - Alter edge between v2 and v0 ATTRIB_EDGE_ALL - Alter all the edges. ATTRIB_HIDE_FACE - Alter the face hidden state. ATTRIB_MATID - Alter the material ID.
| DWORD val |
The value containing the face change information.
Bits 0, 1, 2 hold the edge visibility, bit 3 holds the hidden state, and bits 5-21 hold the material ID.