public ColorRGBA set(Vector4f vec4) {
        if (vec4 == null) {
            r = 0;
            g = 0;
            b = 0;
            a = 0;
        } else {
            r = vec4.x;
            g = vec4.y;
            b = vec4.z;
            a = vec4.w;
        }
        return this;
    }
<code>set</code> sets the values of this <code>ColorRGBA</code> to those
set by a parameter Vector4f.

@param vec4 The 4 component vector that will have its x, y, z, and w values copied to
this <code>ColorRGBA</code>'s r, g, b, and a values respectively.

@return this
jme3-core/src/main/java/com/jme3/math/ColorRGBA.java