@camdrawalphamin is one of the four parameters of the “vision spheres” that partially or completely blind the avatar. It sets
sets the opacity of the innermost vision sphere (only fully effective when ≥ 0.999999).
@camdrawalphamin:<alpha>=<y/n>
The four camdraw… restrictions plus @camdrawcolor together describe a set of concentric,
inside-facing spheres drawn around the avatar (centered on the reference joint: the head in Mouselook).
@camdrawmin and @camdrawmax keep the lowest value issued by any object
(both are aggregated with getMin()). @camdrawmin is raised to at least 0.4 m. If only one of them is set, the other takes
the same value; if the max is below the min it is raised to the min.@camdrawalphamin (default 0) and @camdrawalphamax (default 1) keep the highest
value issued. If alphamax ends up below alphamin it is raised to alphamin.camdrawalphamax. Alphamin is not interpolated: it
only matters when it is ≥ 0.999999, in which case a single opaque sphere is drawn at the min distance. If alphamax is ≥ 0.999999 an opaque sphere
is drawn at the max distance.camdrawmin are hidden and hover texts fade out at
camdrawmin; particles beyond camdrawmax are hidden; and with alphamax ≥ 0.99 avatars beyond camdrawmax are not
rendered at all (impostors are forced on).llOwnerSay("@camdrawmin:1=n,camdrawmax:4=n,camdrawalphamin:0=n,camdrawalphamax:0.9=n");
add()/remove(); any behavior starting with cam or setcam triggers updateCameraLimits() (RRInterface.cpp:1306-1314, :1418-1420), which recomputes every limit from scratch (:6338-6500) and then calls checkCameraLimits(true) (:6312-6336).getMin()/getMax() (:940-1006).RRInterface.cpp:6377-6402; gradient count :6473-6479; mVisionRestricted :6481. Drawing: drawRenderLimit() :6537-6610, alpha per step calculateDesiredAlphaPerStep() :6510-6520, drawSphere() :6612-6646.llhudtext.cpp:135-145 (hover-text fade), llvoavatar.cpp:3463-3475 (name tags), llvoavatar.cpp:8886-8902 and :11360-11373 (far avatars / impostors), llviewerpartsim.cpp:738-755 (particles), llfloatersnapshot.cpp:147-152 (no depth snapshots), RRInterface.cpp:1338-1345 (wireframe).mVisionRestricted is also set by the RLVa-derived @setsphere implementation shipped in this tree (rlveffects.cpp); several of the side-effect sites test both. That code is not part of the original camdraw design.mkrlinterface.cpp:7620-7624), so the single-sphere opacity quirk does not occur; Marine uses 40 per meter with no lower bound.avatarVisibility() (mkrlinterface.cpp:7766-7807): beyond camdrawmax an avatar is hidden if alphamax ≥ 0.999, otherwise drawn normally with deferred rendering or as a silhouette without.@setsphere, so its vision-restriction flag comes from the camdraw limits only.RLVa has no equivalent of this command; see the comparison.