setPosition(x, y) {
    this.position.x = x;
    this.position.y = y;
  }
Set the 2D coordinates of the vertex.

@param {Number} x The x component of the coordinates.
@param {Number} y The y component of the coordinates.