Function setAspectRatio

Synopsis

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

void setAspectRatio(float aspectRatio)

Description

Set the camera's aspect ratio.

Source

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

void setAspectRatio(float aspectRatio) { mData.aspectRatio = aspectRatio; mDirty = true; }





Add Discussion as Guest

Log in to DocsForge