VertexData:setVertexAttribute

Set the components of a specific attribute of a vertex in the VertexData.

VertexData:setVertexAttribute(index, attribute, ...)

Arguments

NameTypeDescription
indexnumberThe index of the vertex to update.
attributenumberThe index of the attribute to update.
...numberThew new components for the attribute.

Returns

Nothing

See also