Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qquick3dcustomcamera.cpp
Go to the documentation of this file.
1// Copyright (C) 2019 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
3
5
6#include <QtQuick3DRuntimeRender/private/qssgrendercamera_p.h>
7
8#include <QtMath>
9#include <QtQuick3DUtils/private/qssgutils_p.h>
10
11#include "qquick3dnode_p_p.h"
12
13#include "qquick3dutils_p.h"
14
16
64
71{
72 return m_projection;
73}
74
76{
77 if (m_projection == projection)
78 return;
79
80 m_projection = projection;
82 update();
83}
84
98
The QMatrix4x4 class represents a 4x4 transformation matrix in 3D space.
Definition qmatrix4x4.h:25
QSSGRenderGraphObject * updateSpatialNode(QSSGRenderGraphObject *node) override
QSSGRenderGraphObject * updateSpatialNode(QSSGRenderGraphObject *node) override
QQuick3DCustomCamera(QQuick3DNode *parent=nullptr)
\qmltype CustomCamera \inherits Camera \inqmlmodule QtQuick3D
void setProjection(const QMatrix4x4 &projection)
QCamera * camera
Definition camera.cpp:19
Combined button and popup list for selecting options.
QT_BEGIN_NAMESPACE bool qUpdateIfNeeded(T &orig, T updated)
#define emit
Definition moc.h:23