public Transform setScale(float x, float y, float z) {
        assert Float.isFinite(x) && Float.isFinite(y) && Float.isFinite(z) : "Invalid scale " + x + ", " + y + ", " + z;
        scale.set(x, y, z);
        return this;
    }
Sets the scaling component to the specified values.

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