Function getAspectRatio

Synopsis

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

float getAspectRatio() const

Description

Get the camera's aspect ratio.

Source

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

float getAspectRatio() const { return mData.aspectRatio; }





Add Discussion as Guest

Log in to DocsForge