public Vector4f setW(float w) {
        this.w = w;
        return this;
    }
Alter the W component of this vector.

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