Viewer3d.getCamera();

Gets the camera so it can be saved or modified by the client.

Viewer3d.applyCamera();

Apply a camera (in this case, to restore the one saved on above function).