Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qflexiblejoint_p.h
Go to the documentation of this file.
1
// Copyright (C) 2026 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
3
4
5
#
ifndef
PHYSICSFLEXIBLEJOINT_H
6
#
define
PHYSICSFLEXIBLEJOINT_H
7
8
//
9
// W A R N I N G
10
// -------------
11
//
12
// This file is not part of the Qt API. It exists purely as an
13
// implementation detail. This header file may change from version to
14
// version without notice, or even be removed.
15
//
16
// We mean it.
17
//
18
19
#
include
"joints/qjoint_p.h"
20
21
QT_BEGIN_NAMESPACE
22
23
class
Q_QUICK3DPHYSICS_EXPORT
QFlexibleJoint
:
public
QPhysicsJoint
24
{
25
Q_OBJECT
26
27
Q_PROPERTY
(
float
stiffness READ stiffness WRITE setStiffness NOTIFY stiffnessChanged
28
FINAL REVISION(6, 13))
29
Q_PROPERTY
(
float
damping READ damping WRITE setDamping NOTIFY dampingChanged
30
FINAL REVISION(6, 13))
31
32
QML_NAMED_ELEMENT
(FlexibleJoint)
33
QML_UNCREATABLE
(
"abstract interface"
)
34
35
public
:
36
Q_REVISION
(6, 13)
float
stiffness()
const
;
37
Q_REVISION
(6, 13)
void
setStiffness(
float
stiffness);
38
39
Q_REVISION
(6, 13)
float
damping()
const
;
40
Q_REVISION
(6, 13)
void
setDamping(
float
damping);
41
42
signals
:
43
Q_REVISION
(6, 13)
void
stiffnessChanged();
44
Q_REVISION
(6, 13)
void
dampingChanged();
45
46
protected
:
47
48
float
m_stiffness = 0.0f;
49
float
m_damping = 0.0f;
50
};
51
52
QT_END_NAMESPACE
53
54
#
endif
// PHYSICSFLEXIBLEJOINT_H
QDistanceJoint
Definition
qdistancejoint_p.h:31
QFlexibleJoint
Definition
qflexiblejoint_p.h:24
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
QML_UNCREATABLE
#define QML_UNCREATABLE(REASON)
Definition
qqmlintegration.h:69
QML_NAMED_ELEMENT
#define QML_NAMED_ELEMENT(NAME)
Definition
qqmlintegration.h:66
QT_BEGIN_NAMESPACE
#define QT_BEGIN_NAMESPACE
Definition
qtconfigmacros.h:161
QT_END_NAMESPACE
#define QT_END_NAMESPACE
Definition
qtconfigmacros.h:162
Q_PROPERTY
#define Q_PROPERTY(...)
Definition
qtmetamacros.h:60
Q_OBJECT
#define Q_OBJECT
Definition
qtmetamacros.h:139
Q_REVISION
#define Q_REVISION(...)
Definition
qtmetamacros.h:63
signals
#define signals
Definition
qtmetamacros.h:45
emit
#define emit
Definition
qtmetamacros.h:53
qtquick3dphysics
src
quick3dphysics
joints
qflexiblejoint_p.h
Generated on
for Qt by
1.16.1