Replies with the widest vertical field of view, in radians, that the user may currently zoom out to. It is worked out as DEFAULT_FIELD_OF_VIEW / zoommin (60° ≈ 1.047198 rad divided by the minimum zoom multiplier).

Syntax

@getcam_fovmax=<channel>

Return value

A number with six decimals. It reflects both @setcam_fovmax and @camzoommin.

Caveats

Examples

// listen() handler for "@getcam_fovmax="
float f = (float)msg;
if (f <= 0.0) llOwnerSay("Field of view is not capped.");
else llOwnerSay("Max FOV: " + (string)(f * RAD_TO_DEG) + " degrees");

See also

Implementation notes

RRInterface.cpp 1897-1901: DEFAULT_FIELD_OF_VIEW / mCamZoomMin, where mCamZoomMin defaults to -EXTREMUM (6350-6351).

Client differences

No differences found between Marine's RLV and CoolVL (same negative unrestricted value), apart from CoolVL never answering on channel 0.

Comparison with RLVa

This command works differently from RLVa's @getcam_fovmax; see the comparison.