VertexData:getVertexAttribute

Get the components of a specific attribute of a single vertex in the VertexData.

... = VertexData:getVertexAttribute(index, attribute)

Arguments

NameTypeDescription
indexnumberThe index of the vertex to retrieve the attribute of.
attributenumberThe index of the attribute to retrieve the components of.

Returns

NameTypeDescription
...numberThe components of the vertex attribute.

See also