public Object getObserver() {
        if( observer == null ) {
            if (application != null){
              return application.getCamera();
            } else {
                throw new IllegalStateException("VR environment is not attached to any application.");
            }
        }
        return observer;
    }
Get the scene observer. If no observer has been set, this method return the application {@link #getCamera() camera}.
@return the scene observer.
@see #setObserver(Spatial)
jme3-vr/src/main/java/com/jme3/app/VREnvironment.java