@getcam_fov=<channel> replies with the viewer camera's default field of view (the value the zoom controls and @setcam_fov change), in radians with three decimals. The viewer's normal default is 60 degrees, i.e. 1.047.

Syntax

@getcam_fov=<channel>

Parameters

channel
Positive integer chat channel for the reply (channel 0 is accepted only from the RLVa console; DEBUG_CHANNEL is refused).

Return value

A decimal number in radians, formatted with %.3f.

Caveats

Examples

integer CH = 5151;
default
{
    state_entry()
    {
        llListen(CH, "", llGetOwner(), "");
        llOwnerSay("@getcam_fov=" + (string)CH);
    }
    listen(integer c, string n, key id, string msg)
    {
        llOwnerSay("getcam_fov: '" + msg + "'");
    }
}

Implementation notes

See also

Comparison with RLV

No significant differences from RLV's @getcam_fov.

Related: RLV's @getcam_zoom; see the comparison.