@Override
    public void cleanup() {
        if( environment.getVRHardware() != null ) {
            environment.getVRHardware().destroy();
        }

        this.application  = null;
        this.stateManager = null;
    }
Set the {@link AppSettings settings} attached to this app state.
@param settings the {@link AppSettings settings} attached to this app state.
@see #getSettings()
jme3-vr/src/main/java/com/jme3/app/VRAppState.java