Mesh:getVertexMap

Available since LÖVE 0.9.0
This function is not supported in earlier versions.

Gets the Geometry's vertex map. If no vertex map has been set previously (either in love.graphics.newGeometry or Geometry:setVertexMap), then this function will return nil.

Function

Synopsis

vertex_map = Geometry:getVertexMap( )

Arguments

None.

Returns

table vertex_map (nil)
A table containing a list of vertex indices used when drawing, or nil if the vertex map has not been set for this Geometry.

See Also

Other Languages