public String getName() {
        return name;
    }
Returns the name of the viewport as set in the constructor.

@return the name of the viewport

@see #ViewPort(java.lang.String, com.jme3.renderer.Camera)
jme3-core/src/main/java/com/jme3/renderer/ViewPort.java