These APIs are not included in the autocomplete list,please add them.
Mesh
Mesh.new - Creates a new Mesh objec
setVertex(i, x, y)
setIndex(i, index)
setColor(i, color, alpha)
setTextureCoordinate(i, u, v)
setVertices(vertices)
setIndices(indices)
setColors(colors)
setTextureCoordinates(textureCoordinates)
setVertexArray(vertices)
setIndexArray(indices)
setColorArray(colors)
setTextureCoordinateArray(textureCoordinates)
resizeVertexArray(size)
resizeIndexArray(size)
resizeColorArray(size)
resizeTextureCoordinateArray(size)
clearVertexArray()
clearIndexArray()
clearColorArray()
clearTextureCoordinateArray()
setTexture(texture)
clearTexture()
Comments