Function setFocalDistance

Synopsis

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

void setFocalDistance(float distance)

Description

Set the camera's focal distance in scene units. Used for depth-of-field.

Source

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

void setFocalDistance(float distance) { mData.focalDistance = distance; mDirty = true; }





Add Discussion as Guest

Log in to DocsForge