v3
v3
Returns the Mesh Vertex index number of the 3rd Polygon Vertex.
Return Type: integer
Sample Code
# get controller
controller = GameLogic.getCurrentController()
# get object the controller is attached to
obj = controller.owner
# get the 1st mesh
mesh = obj.meshes[0]
# get the first polygon on the mesh
poly = mesh.getPolygon(0)
# get the mesh vertex index of the 3rd poly vertex
vertIndex = poly.v3
|