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
qquick3djoint_p.h
Go to the documentation of this file.
1
// Copyright (C) 2020 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
3
4
#ifndef QSSGJOINT_H
5
#define QSSGJOINT_H
6
7
//
8
// W A R N I N G
9
// -------------
10
//
11
// This file is not part of the Qt API. It exists purely as an
12
// implementation detail. This header file may change from version to
13
// version without notice, or even be removed.
14
//
15
// We mean it.
16
//
17
18
#include <QtQuick3D/private/qquick3dnode_p.h>
19
#include <QtQuick3D/private/qquick3dskeleton_p.h>
20
21
#include <QtQuick3DRuntimeRender/private/qssgrenderskeleton_p.h>
22
23
QT_BEGIN_NAMESPACE
24
25
class
Q_QUICK3D_EXPORT
QQuick3DJoint
:
public
QQuick3DNode
26
{
27
Q_OBJECT
28
Q_PROPERTY
(
qint32
index
READ
index
WRITE
setIndex
NOTIFY indexChanged)
29
Q_PROPERTY
(
QQuick3DSkeleton
*skeletonRoot READ skeletonRoot WRITE setSkeletonRoot NOTIFY skeletonRootChanged)
30
31
QML_NAMED_ELEMENT
(Joint)
32
33
public:
34
explicit
QQuick3DJoint
(
QQuick3DNode
*parent =
nullptr
);
35
~
QQuick3DJoint
() override;
36
37
qint32
index
() const;
38
QQuick3DSkeleton
*skeletonRoot() const;
39
40
public
Q_SLOTS
:
41
void
setIndex
(
qint32
index
);
42
void
setSkeletonRoot(
QQuick3DSkeleton
*skeleton);
43
44
Q_SIGNALS
:
45
void
indexChanged();
46
void
skeletonRootChanged();
47
48
protected:
49
QSSGRenderGraphObject
*updateSpatialNode(
QSSGRenderGraphObject
*node) override;
50
void
markAllDirty() override;
51
52
private
Q_SLOTS
:
53
54
private
:
55
bool
m_indexDirty = true;
56
bool
m_skeletonRootDirty = true;
57
int
m_index = 0;
58
59
QQuick3DSkeleton
*m_skeletonRoot =
nullptr
;
60
61
QMetaObject
::
Connection
m_skeletonConnection;
62
};
63
64
QT_END_NAMESPACE
65
66
#endif
// QSSGJOINT_H
Connection
\inmodule QtCore Represents a handle to a signal-slot (or signal-functor) connection.
QQuick3DJoint
Definition
qquick3djoint_p.h:26
QQuick3DNode
Definition
qquick3dnode_p.h:28
QQuick3DSkeleton
Definition
qquick3dskeleton_p.h:23
QSSGRenderGraphObject
Definition
qssgrendergraphobject.h:37
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
QT_END_NAMESPACE
Definition
qsharedpointer.cpp:1590
setIndex
static void setIndex(int *index, int candidate, int min, int max, bool isIncreasing)
Definition
qmdiarea.cpp:175
index
GLuint index
[2]
Definition
qopengles2ext.h:331
QML_NAMED_ELEMENT
#define QML_NAMED_ELEMENT(NAME)
Definition
qqmlintegration.h:60
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
qint32
int qint32
Definition
qtypes.h:49
explicit
#define explicit
Definition
qxcbconnection.cpp:33
QMetaObject
\inmodule QtCore
Definition
qobjectdefs.h:234
private
#define private
Definition
vsp2hardwarelayerintegration.cpp:7
qtquick3d
src
quick3d
qquick3djoint_p.h
Generated by
1.10.0