Restrict camera manipulation

Sometimes you may want to restrict the camera movement, so that e.g. the user can only pan in the view direction that you set. In order to achieve that you just need to lock the camera using viewer

Viewer
Viewer