public Vector4f setX(float x) {
        this.x = x;
        return this;
    }
Alter the X component of this vector.

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