- Documentation
- Client functions
- getCameraFieldOfView
Function
getCameraFieldOfView
Returns the field of view stored with setCameraFieldOfView.
Syntax
float getCameraFieldOfView([string cameraMode = nil])Arguments
cameraModestring, optional = nil- Camera mode (for compatibility with existing scripts).
Returns
Field of view in degrees.
Example
outputChatBox("FOV: " .. tostring(getCameraFieldOfView("player")))