public Vector3f getScale(Vector3f scale) {
        if (scale == null) {
            scale = new Vector3f();
        }
        scale.set(this.scale);
        return scale;
    }
Copies the scaling component to the argument. If the argument is null, a
new Vector3f is created to hold the value. Either way, the current
instance is unaffected, unless the argument is its translation component.

@param scale storage for the result (modified if not null)
@return the scale factors (either <code>scale</code> or a new Vector3f)
jme3-core/src/main/java/com/jme3/math/Transform.java