setZ method

Vector3 setZ(
  1. double z
)

Replace this vector's z value with z.

Implementation

Vector3 setZ(double z) {
  this.z = z;
  return this;
}