This reference page is linked to from the following overview topics: Mesh and Topology.
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.
#include <mesh.h>
Public Member Functions |
|
Vertex (void) | |
float | Freeze (void) const |
Returns the Freeze value of the Vertex
(between 0.0 and 1.0,. |
|
void | SetFreeze (float fFreeze) |
Sets the Freeze value of the Vertex
(between 0.0 and 1.0, where. |
|
float | Mask (void) const |
Do not use this method.
Layer masks should be accessed via. |
|
void | SetMask (float fMask) |
Do not use this method.
Layer masks should be accessed via. |
|
bool | IsSelected (void) const |
Returns the Selected state of the Vertex
(true or false) |
|
void | SetSelected (bool bSelected) |
Sets the Selected state of the Vertex
(true or false) |
|
Public Attributes |
|
Vector | m_vPos |
unsigned int | m_iStrokeID |
union { | |
tnormal m_vNormal [4] | |
int m_iNormalIndex | |
tnormalv m_iNormal | |
}; |
Vertex | ( | void | ) | [inline] |
float Freeze | ( | void | ) | const [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 127 of file mesh.h.
{ float m_fV; float v;
void SetFreeze | ( | float | fFreeze | ) | [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 145 of file mesh.h.
{
float Mask | ( | void | ) | const [inline] |
void SetMask | ( | float | fMask | ) | [inline] |
bool IsSelected | ( | void | ) | const [inline] |
void SetSelected | ( | bool | bSelected | ) | [inline] |
unsigned int m_iStrokeID
[mutable] |
int m_iNormalIndex |
union { ... } |