GetCameraFieldOfView
Jump to navigation
Jump to search
Function has been disabled. | |
Reason/Note: This function and its pair setCameraFieldOfView were disabled on r7327. See the commit for details. |
This function returns the field of view of the dynamic camera as set by setCameraFieldOfView.
Syntax
float getCameraFieldOfView ()
OOP Syntax Help! I don't understand this!
- Note: This is under the static class Camera
- Method: Camera.getFieldOfView(...)
- Variable: .fov
- Counterpart: setCameraFieldOfView
Returns
Returns one float - the field of view angle
Example
In this example, the field of view is output to the chat whenever the /getfov command is written
function getCamFOV() outputChatBox("The camera field of view is: " .. getCameraFieldOfView()) end addCommandHandler("getfov", getCamFOV)
See Also
- getCamera
- getCameraClip
- getCameraFieldOfView
- getCameraGoggleEffect
- getCameraViewMode
- setCameraClip
- setCameraFieldOfView
- setCameraGoggleEffect
- setCameraViewMode
- Shared
- fadeCamera
- getCameraInterior
- getCameraMatrix
- getCameraTarget
- setCameraInterior
- setCameraMatrix
- setCameraTarget