Trees | Indices | Help |
---|
|
A polygon holds the index of the vertex forming the poylgon.
Note: The polygon attributes are read-only, you need to retrieve the vertex proxy if you want to change the vertex settings.
|
|||
string |
|
||
KX_PolygonMaterial or KX_BlenderMaterial |
|
||
string |
|
||
integer |
|
||
integer |
|
||
integer |
|
||
integer |
|
||
integer |
|
||
KX_MeshProxy |
|
|
|||
integer |
collide collide state of the polygon: 1=receives collision, 0=collision free. |
||
KX_PolygonMaterial or KX_BlenderMaterial |
material The material of the polygon |
||
integer |
matid The material index of the polygon, use this to retrieve vertex proxy from mesh proxy |
||
string |
matname The name of polygon material, empty if no material. |
||
string |
texture The texture name of the polygon. |
||
integer |
v1 vertex index of the first vertex of the polygon, use this to retrieve vertex proxy from mesh proxy |
||
integer |
v2 vertex index of the second vertex of the polygon, use this to retrieve vertex proxy from mesh proxy |
||
integer |
v3 vertex index of the third vertex of the polygon, use this to retrieve vertex proxy from mesh proxy |
||
integer |
v4 vertex index of the fourth vertex of the polygon, 0 if polygon has only 3 vertex use this to retrieve vertex proxy from mesh proxy |
||
integer |
visible visible state of the polygon: 1=visible, 0=invisible |
|
Returns the polygon material name with MA prefix
|
Returns the polygon texture name
|
Returns the material bucket index of the polygon. This index and the ones returned by getVertexIndex() are needed to retrieve the vertex proxy from KX_MeshProxy.
|
Returns the number of vertex of the polygon.
|
Returns whether the polygon is visible or not
|
Returns whether the polygon is receives collision or not
|
Returns the mesh vertex index of a polygon vertex This index and the one returned by getMaterialIndex() are needed to retrieve the vertex proxy from KX_MeshProxy.
|
Returns a mesh proxy
|
Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Fri Oct 24 10:23:57 2008 | http://epydoc.sourceforge.net |