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

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

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