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
lookatnode_p.h
Go to the documentation of this file.
1
// Copyright (C) 2022 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
3
4
//
5
// W A R N I N G
6
// -------------
7
//
8
// This file is not part of the Qt API. It exists purely as an
9
// implementation detail. This header file may change from version to
10
// version without notice, or even be removed.
11
//
12
// We mean it.
13
//
14
15
#ifndef LOOKATNODE_H
16
#define LOOKATNODE_H
17
18
#include <QtQuick3D/private/qquick3dnode_p.h>
19
20
QT_BEGIN_NAMESPACE
21
22
class
LookAtNode
:
public
QQuick3DNode
23
{
24
Q_OBJECT
25
Q_PROPERTY
(
QQuick3DNode
*
target
READ
target
WRITE
setTarget
NOTIFY
targetChanged
)
26
QML_NAMED_ELEMENT
(
LookAtNode
)
27
QML_ADDED_IN_VERSION
(6, 4)
28
29
public:
30
LookAtNode
();
31
~
LookAtNode
() override;
32
33
QQuick3DNode
*
target
() const;
34
35
public
Q_SLOTS
:
36
void
setTarget
(
QQuick3DNode
*node);
37
38
Q_SIGNALS
:
39
void
targetChanged
();
40
41
private
Q_SLOTS
:
42
void
updateLookAt();
43
44
private
:
45
QQuick3DNode
*m_target =
nullptr
;
46
};
47
48
QT_END_NAMESPACE
49
50
#endif
LookAtNode
Definition
lookatnode_p.h:23
LookAtNode::setTarget
void setTarget(QQuick3DNode *node)
Definition
lookatnode.cpp:72
LookAtNode::targetChanged
void targetChanged()
QQuick3DNode
Definition
qquick3dnode_p.h:28
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
QT_END_NAMESPACE
Definition
qsharedpointer.cpp:1590
target
GLenum target
Definition
qopengles2ext.h:751
QML_NAMED_ELEMENT
#define QML_NAMED_ELEMENT(NAME)
Definition
qqmlintegration.h:60
QML_ADDED_IN_VERSION
#define QML_ADDED_IN_VERSION(MAJOR, MINOR)
Definition
qqmlintegration.h:100
Q_PROPERTY
#define Q_PROPERTY(...)
Definition
qtmetamacros.h:56
Q_OBJECT
#define Q_OBJECT
Definition
qtmetamacros.h:119
Q_SLOTS
#define Q_SLOTS
Definition
qtmetamacros.h:44
Q_SIGNALS
#define Q_SIGNALS
Definition
qtmetamacros.h:45
private
#define private
Definition
vsp2hardwarelayerintegration.cpp:7
qtquick3d
src
helpers
lookatnode_p.h
Generated by
1.10.0