Mesh:setVertex

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

Sets the vertex information for a geometry.

Function

Synopsis

Geometry:setVertex( i, x, y, u, v, r, g, b, a )

Arguments

number i
The index of the the vertex you want to alter the information for.
number x
The x vertex coordinate.
number y
The y vertex coordinate.
number u
The u texture coordinate.
number v
The v texture coordinate.
number r (255)
The red color component.
number g (255)
The green color component.
number b (255)
The blue color component.
number a (255)
The alpha color component.

Returns

Nothing.

See Also

Other Languages