public Vector3f setZ(float z) {
        this.z = z;
        return this;
    }
Sets the Z component.

@param z the desired value
@return the (modified) current instance (for chaining)
jme3-core/src/main/java/com/jme3/math/Vector3f.java