public Quaternion set(float x, float y, float z, float w) {
        this.x = x;
        this.y = y;
        this.z = z;
        this.w = w;
        return this;
    }
Sets all 4 components to specified values.

@param x the desired X component
@param y the desired Y component
@param z the desired Z component
@param w the desired W component
@return the (modified) current instance (for chaining)
jme3-core/src/main/java/com/jme3/math/Quaternion.java