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
21
23{
28
29public:
30 LookAtNode();
31 ~LookAtNode() override;
32
33 QQuick3DNode *target() const;
34
35public Q_SLOTS:
36 void setTarget(QQuick3DNode *node);
37
40
42 void updateLookAt();
43
45 QQuick3DNode *m_target = nullptr;
46};
47
49
50#endif
void setTarget(QQuick3DNode *node)
void targetChanged()
Combined button and popup list for selecting options.
GLenum target
#define QML_NAMED_ELEMENT(NAME)
#define QML_ADDED_IN_VERSION(MAJOR, MINOR)
#define Q_PROPERTY(...)
#define Q_OBJECT
#define Q_SLOTS
#define Q_SIGNALS