public void notifyRescale(float x, float y) {
        for (ViewPort vp : preViewPorts) {
            notifyRescale(vp, x, y);
        }
        for (ViewPort vp : viewPorts) {      
            notifyRescale(vp, x, y);
        }
        for (ViewPort vp : postViewPorts) {
            notifyRescale(vp, x, y);
        }
    }
Internal use only.
Updates the scale of all on-screen ViewPorts

@param x the new horizontal scale
@param y the new vertical scale
jme3-core/src/main/java/com/jme3/renderer/RenderManager.java