public void setPosition(final Vector3f position) {
        this.position.set(position);

        if (viewports == null) {
            return;
        }

        for (final ViewPort viewPort : viewports) {
            viewPort.getCamera().setLocation(position);
        }
    }
Sets the camera position in world space.

@param position the position in world space
jme3-core/src/main/java/com/jme3/environment/EnvironmentCamera.java