Function setFocalLength

Synopsis

#include <Source/Falcor/Scene/Camera/Camera.h>

void setFocalLength(float length)

Description

Set camera focal length in mm. See FalcorMath.h for helper functions to convert between fovY angles.

Source

Lines 74-74 in Source/Falcor/Scene/Camera/Camera.h.

void setFocalLength(float length) { mData.focalLength = length; mDirty = true; }





Add Discussion as Guest

Log in to DocsForge