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
qphysxtriggerbody_p.h
Go to the documentation of this file.
1
// Copyright (C) 2023 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
#
ifndef
PHYSXTRIGGERBODY_H
6
#
define
PHYSXTRIGGERBODY_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
"physxnode/qphysxactorbody_p.h"
20
21
#
include
"qtconfigmacros.h"
22
23
QT_BEGIN_NAMESPACE
24
class
QTriggerBody;
25
26
class
QPhysXTriggerBody
:
public
QPhysXActorBody
27
{
28
public
:
29
QPhysXTriggerBody
(QTriggerBody *frontEnd);
30
DebugDrawBodyType
getDebugDrawBodyType
()
override
;
31
void
sync
(
float
deltaTime, QHash<QQuick3DNode *, QMatrix4x4> &transformCache)
override
;
32
bool
useTriggerFlag
()
override
{
return
true
; }
33
};
34
35
QT_END_NAMESPACE
36
37
#
endif
QPhysXActorBody
Definition
qphysxactorbody_p.h:29
QPhysXTriggerBody
Definition
qphysxtriggerbody_p.h:27
QPhysXTriggerBody::QPhysXTriggerBody
QPhysXTriggerBody(QTriggerBody *frontEnd)
Definition
qphysxtriggerbody.cpp:14
QPhysXTriggerBody::getDebugDrawBodyType
DebugDrawBodyType getDebugDrawBodyType() override
Definition
qphysxtriggerbody.cpp:16
QPhysXTriggerBody::sync
void sync(float deltaTime, QHash< QQuick3DNode *, QMatrix4x4 > &transformCache) override
Definition
qphysxtriggerbody.cpp:21
QPhysXTriggerBody::useTriggerFlag
bool useTriggerFlag() override
Definition
qphysxtriggerbody_p.h:32
physx
Definition
qabstractphysxnode_p.h:24
DebugDrawBodyType
DebugDrawBodyType
Definition
qabstractphysxnode_p.h:39
DebugDrawBodyType::Trigger
@ Trigger
Definition
qabstractphysxnode_p.h:43
QT_BEGIN_NAMESPACE
#define QT_BEGIN_NAMESPACE
Definition
qtconfigmacros.h:161
QT_END_NAMESPACE
#define QT_END_NAMESPACE
Definition
qtconfigmacros.h:162
qtquick3dphysics
src
quick3dphysics
physxnode
qphysxtriggerbody_p.h
Generated on
for Qt by
1.16.1