public Vector4f setZ(float z) {
        this.z = z;
        return this;
    }
Alter the Z component of this vector.

@param z the desired value
@return this vector, modified
jme3-core/src/main/java/com/jme3/math/Vector4f.java