While @camunlock is active the camera stays locked behind the avatar: the user cannot Alt-click to focus elsewhere, cannot orbit
or pan away from the avatar, and cannot switch camera presets. Because the simulator keeps a locked camera in line of sight of the avatar, this is
an effective way to stop people looking through walls. @setcam_unlock is a synonym (either one locks the camera).
@camunlock=<y/n>
unlockView() is refused, so focusing on objects is impossible. Alt-dragging with the camera tool is refused; plain left-click dragging on one's own avatar or attachments in third person gets special handling in the focus tool and may still be allowed.llOwnerSay("@camunlock=n");
mContainsCamunlock/mContainsSetcamUnlock, combined into mContainsLockedCamera
(RRInterface.cpp:455-459); preset switch and view reset at :650-654 (runs on add and on remove).llagentcamera.cpp:402-410 (unlockView), lltoolfocus.cpp:220-240, llfloatercamera.cpp:653-660,
llviewermenu.cpp:7325.resetView() when the restriction is added (mkrlinterface.cpp:1436-1439), with no preset switch and nothing
on removal; its checks use contains("camunlock") || contains("setcam_unlock") directly (llagent.cpp:572-580,
lltoolfocus.cpp:180-190). CoolVL does not appear to have a camera-preset floater to block.No significant differences from RLVa's @camunlock.