Luxar Viewer API Documentation - v2026.9.22
GitHub
Preparing search index...
utils/camera-utils
getCameraFovRadians
Function getCameraFovRadians
getCameraFovRadians
(
camera
:
LuxarCamera
)
:
number
Get the vertical FOV in radians for material/shader calculations.
Perspective: converts camera.fov (degrees) to radians
Orthographic: returns 0 (no perspective foreshortening)
Parameters
camera
:
LuxarCamera
Returns
number
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
GitHub
Luxar Viewer API Documentation - v2026.9.22
Loading...
Get the vertical FOV in radians for material/shader calculations.