Replies with the camera's current vertical field of view, in radians, as the viewer is rendering it right now. The default view is 60°, about 1.047198.

Syntax

@getcam_fov=<channel>

Return value

A number with six decimals.

Caveats

Examples

llOwnerSay("@getcam_fov=-81234");
// listen(): llOwnerSay("FOV is " + (string)((float)msg * RAD_TO_DEG) + " degrees");

See also

Implementation notes

RRInterface.cpp 1907-1911: LLViewerCamera::getInstance()->getView(), printed with std::fixed.

Client differences

No differences found between Marine's RLV and CoolVL (CoolVL uses gViewerCamera.getView()), apart from CoolVL never answering on channel 0.

Comparison with RLVa

No significant differences from RLVa's @getcam_fov.