Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
\inmodule QtQuick3D More...
#include <qssgrenderhelpers.h>
Static Public Member Functions | |
static QMatrix4x4 | getViewProjectionMatrix (const QSSGCameraId cameraId, const QMatrix4x4 *globalTransform=nullptr) |
Get the projection matrix for cameraId. | |
\inmodule QtQuick3D
Class containing helper functions for getting camera data used for rendering.
Definition at line 93 of file qssgrenderhelpers.h.
|
static |
Get the projection matrix for cameraId.
An optional transform argument can be given to be used instead of the cameras global transform when calculating the projection matrix.
globalTransform
Definition at line 378 of file qssgrenderhelpers.cpp.