Home | Trees | Index | Help |
|
---|
Module NMesh :: Class NMesh |
|
Method Summary | |
---|---|
Add a new material to this NMesh's list of materials. | |
int |
Get the index of the active face. |
list |
Get list of selected faces. |
list |
Get influences of bones in a specific vertex. |
bool |
Get (and optionally set) if this NMesh has UV-mapped textured faces. |
bool |
Get (and optionally set) if this NMesh has vertex colours. |
bool |
Get (and optionally set) the "sticky" flag that controls if a mesh has per vertex UV coordinates. |
Insert a mesh key at the given frame. | |
bool |
Remove all mesh keys stored in this mesh. |
Update the mesh in Blender. |
Class Variable Summary | |
---|---|
faces
- The list of NMesh faces (NMFaces). | |
materials
- The list of materials used by this NMesh. | |
name
- The NMesh name. | |
users
- The number of Objects using (linked to) this mesh. | |
verts
- The list of NMesh vertices (NMVerts). |
Method Details |
---|
addMaterial(material)Add a new material to this NMesh's list of materials. This method is the slower but safer way to add materials, since it checks if the argument given is really a material, imposes a limit of 16 materials and only adds the material if it wasn't already in the list.
|
getActiveFace()Get the index of the active face.
|
getSelectedFaces(flag=None)Get list of selected faces.
|
getVertexInfluences(index)Get influences of bones in a specific vertex.
|
hasFaceUV(flag=None)Get (and optionally set) if this NMesh has UV-mapped textured faces.
|
hasVertexColours(flag=None)Get (and optionally set) if this NMesh has vertex colours.
|
hasVertexUV(flag=None)Get (and optionally set) the "sticky" flag that controls if a mesh has per vertex UV coordinates.
|
insertKey(frame=None, type='relative')Insert a mesh key at the given frame. Remember toupdate the nmesh before doing this, or
changes in the vertices won't be updated in the Blender mesh.
|
removeAllKeys()Remove all mesh keys stored in this mesh.
|
update(recalc_normals=0)Update the mesh in Blender. The changes made are put back to the mesh in Blender, if available, or put in a newly created mesh object if this NMesh wasn't linked to one, yet.
|
Class Variable Details |
---|
facesThe list of NMesh faces (NMFaces). |
materialsThe list of materials used by this NMesh. |
nameThe NMesh name. It's common to use this field to store extra data about the mesh (to be exported to another program, for example). |
usersThe number of Objects using (linked to) this mesh. |
vertsThe list of NMesh vertices (NMVerts). |
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 1.1 on Wed Aug 13 19:17:14 2003 | http://epydoc.sf.net |