setY method

Vector3 setY(
  1. double y
)

Replace this vector's y value with y.

Implementation

Vector3 setY(double y) {
  this.y = y;
  return this;
}