Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
Loading...
Searching...
No Matches
qquick3dcustomcamera_p.h
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
// Qt-Security score:significant reason:default
4
5
6
#
ifndef
QSSGCUSTOMCAMERA_H
7
#
define
QSSGCUSTOMCAMERA_H
8
9
//
10
// W A R N I N G
11
// -------------
12
//
13
// This file is not part of the Qt API. It exists purely as an
14
// implementation detail. This header file may change from version to
15
// version without notice, or even be removed.
16
//
17
// We mean it.
18
//
19
20
#
include
<
QtQuick3D
/
private
/
qquick3dcamera_p
.
h
>
21
22
QT_BEGIN_NAMESPACE
23
24
class
QSSGRenderCamera;
25
class
Q_QUICK3D_EXPORT
QQuick3DCustomCamera
:
public
QQuick3DCamera
26
{
27
Q_OBJECT
28
Q_PROPERTY(QMatrix4x4 projection READ projection WRITE setProjection NOTIFY projectionChanged)
29
30
QML_NAMED_ELEMENT(CustomCamera)
31
32
public
:
33
explicit
QQuick3DCustomCamera(QQuick3DNode *parent =
nullptr
);
34
35
QMatrix4x4 projection()
const
;
36
37
public
Q_SLOTS:
38
void
setProjection(
const
QMatrix4x4 &projection);
39
40
Q_SIGNALS:
41
void
projectionChanged();
42
43
protected
:
44
QSSGRenderGraphObject *updateSpatialNode(QSSGRenderGraphObject *node) override;
45
46
private
:
47
QMatrix4x4 m_projection;
48
};
49
50
QT_END_NAMESPACE
51
52
#
endif
// QSSGCUSTOMCAMERA_H
QQuick3DCustomCamera
Definition
qquick3dcustomcamera_p.h:26
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
qtquick3d
src
quick3d
qquick3dcustomcamera_p.h
Generated on
for Qt by
1.18.0