updateVertices method
Implementation
bool updateVertices() {
if (triangles == null) {
return false;
}
updateVertexPositionBuffer(_vertexBuffer, false);
_canvasVertices = ui.Vertices.raw(ui.VertexMode.triangles, _vertexBuffer,
indices: _indices, textureCoordinates: _uvBuffer);
return true;
}