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.
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
|
string
|
name
The name of this CValue derived object (read-only).
|
bool
|
invalid
Test if the object has been freed by the game engine and is no
longer valid.
|