#include <mesh.h>
Represents a vertex point on a Mesh with its associated data.
A Vertex has an x,y,z position in space, a normal, a "Freeze" value between 0.0 and 1.0, and a boolean flag saying whether or not the vertex is currently selected. Each Mesh object contains a list of Vertex objects.
Public Member Functions | |
Vertex (void) | |
float | Freeze (void) const |
Returns the Freeze value of the Vertex (between 0.0 and 1.0, where 0.0 is not frozen) More... | |
void | SetFreeze (float fFreeze) |
Sets the Freeze value of the Vertex (between 0.0 and 1.0, where 0.0 is not frozen) More... | |
float | Mask (void) const |
Do not use this method. More... | |
void | SetMask (float fMask) |
Do not use this method. More... | |
bool | IsSelected (void) const |
Returns the Selected state of the Vertex (true or false) More... | |
void | SetSelected (bool bSelected) |
Sets the Selected state of the Vertex (true or false) More... | |
Public Attributes | |
Vector | m_vPos |
unsigned int | m_iStrokeID |
unsigned short | m_iStates |
|
inline |
Returns the Freeze value of the Vertex (between 0.0 and 1.0, where 0.0 is not frozen)
The freeze value is used to lock parts of the mesh so they are less affected by sculpting brushes. It is the responsibility of every sculpt brush to take into account the Freeze values on vertices it is modifying.
Definition at line 76 of file mesh.h.
|
inline |
Sets the Freeze value of the Vertex (between 0.0 and 1.0, where 0.0 is not frozen)
The freeze value is used to lock parts of the mesh so they are less affected by sculpting brushes. It is the responsibility of every sculpt brush to take into account the Freeze values on vertices it is modifying.
Definition at line 85 of file mesh.h.
|
inline |
Do not use this method.
Layer masks should be accessed via LayerMeshData::VertexMask.
Definition at line 90 of file mesh.h.
|
inline |
Do not use this method.
Layer masks should be accessed via LayerMeshData::VertexMask.
Definition at line 95 of file mesh.h.
|
inline |
|
inline |