Home | Trees | Index | Help |
|
---|
Module Mesh :: Class MVert |
|
Warning: There are two kinds of UV texture coordinates in Blender: per vertex
("sticky") and per face vertex (UV in MFace
). In the
first, there's only one UV pair of coordinates for each vertex in the
mesh. In the second, for each face it belongs to, a vertex can have
different UV coordinates. This makes the per face option more flexible,
since two adjacent faces won't have to be mapped to a continuous region
in an image: each face can be independently mapped to any part of its
texture.
Method Summary | |
---|---|
PVert |
Create a new PVert object. |
Instance Variable Summary | |
---|---|
vector (WRAPPED DATA) | co : The vertex coordinates (x, y, z). |
int | index : (MVerts only). |
vector | no : The vertex's unit normal vector (x, y, z). |
int | sel : The vertex's selection state (selected=1). |
vector (WRAPPED DATA) | uvco : (MVerts only). |
Method Details |
---|
__init__(coord)
Create a new PVert object.
|
Instance Variable Details |
---|
coThe vertex coordinates (x, y, z).
|
index(MVerts only). The vertex's index within the mesh. Read-only.
|
noThe vertex's unit normal vector (x, y, z). Read-only. Note: if vertex coordinates are changed, it may be necessary to useMesh.calcNormals() to update the vertex
normals.
|
uvco(MVerts only). The vertex texture "sticky" coordinates (x, y), if present. UseMesh.vertexUV to test for presence before
trying to access; otherwise an exception will may be thrown. (Sticky
coordinates can be set when the object is in the Edit mode; from the
Editing Panel (F9), look under the "Mesh" properties for the
"Sticky" button).
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Thu Dec 22 22:38:12 2005 | http://epydoc.sf.net |