public Transform setScale(Vector3f scale) {
        assert Vector3f.isValidVector(scale) : "Invalid scale " + scale;
        this.scale.set(scale);
        return this;
    }
Sets the scaling component to the argument.

@param scale the desired scale factors (not null, unaffected)
@return the (modified) current instance (for chaining)
jme3-core/src/main/java/com/jme3/math/Transform.java