Function getViewMatrix

Synopsis

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

const glm::mat4 & getViewMatrix() const

Description

Get the view matrix.

Source

Lines 194-198 in Source/Falcor/Scene/Camera/Camera.cpp. Line 196 in Source/Falcor/Scene/Camera/Camera.h.

const glm::mat4& Camera::getViewMatrix() const
{
    calculateCameraParameters();
    return mData.viewMat;
}





Add Discussion as Guest

Log in to DocsForge