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
qphysxactorbody_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 PHYSXACTORBODY_H
6#define PHYSXACTORBODY_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 "qtconfigmacros.h"
21
22namespace physx {
23class PxRigidActor;
24}
25
27
29{
31public:
33 void cleanup(QPhysXWorld *physX) override;
34 void init(QPhysicsWorld *world, QPhysXWorld *physX) override;
35 void sync(float deltaTime, QHash<QQuick3DNode *, QMatrix4x4> &transformCache) override;
36 void markDirtyShapes() override;
37 void rebuildDirtyShapes(QPhysicsWorld *world, QPhysXWorld *physX) override;
38 virtual void createActor(QPhysXWorld *physX);
39
40 bool debugGeometryCapability() override;
41 physx::PxTransform getGlobalPose() override;
42 void buildShapes(QPhysXWorld *physX);
43 void updateFilters() override;
44
45 physx::PxRigidActor *actor = nullptr;
46};
47
49
50#endif
Definition qlist.h:81
void markDirtyShapes() override
void buildShapes(QPhysXWorld *physX)
void rebuildDirtyShapes(QPhysicsWorld *world, QPhysXWorld *physX) override
void init(QPhysicsWorld *world, QPhysXWorld *physX) override
bool debugGeometryCapability() override
void cleanup(QPhysXWorld *physX) override
physx::PxRigidActor * actor
virtual void createActor(QPhysXWorld *physX)
void sync(float deltaTime, QHash< QQuick3DNode *, QMatrix4x4 > &transformCache) override
void updateFilters() override
physx::PxTransform getGlobalPose() override
Combined button and popup list for selecting options.
#define QML_UNCREATABLE(REASON)
#define QML_PRIVATE_NAMESPACE
#define QML_NAMED_ELEMENT(NAME)
void qmlRegisterTypesAndRevisions(const char *uri, int versionMajor, QList< int > *qmlTypeIds=nullptr)
Definition qqml.h:939
#define QML_FOREIGN(FOREIGN_TYPE)
#define QT_BEGIN_NAMESPACE
#define QT_END_NAMESPACE
#define QT_ANNOTATE_FUNCTION(x)
#define QT_ANNOTATE_CLASS2(type, a1, a2)
#define Q_PROPERTY(...)
#define Q_GADGET_EXPORT(...)
#define Q_OBJECT
#define Q_REVISION(...)
#define Q_CLASSINFO(name, value)
#define QT_ANNOTATE_CLASS(type,...)
#define Q_OBJECT_NO_ATTRIBUTES_WARNING
#define QT_META_OBJECT_VARS
#define Q_INTERFACES(x)
#define QT_TR_FUNCTIONS
#define QT_ANNOTATE_ACCESS_SPECIFIER(x)
#define QT_OBJECT_GADGET_COMMON
#define Q_SLOTS
#define Q_OBJECT_NO_OVERRIDE_WARNING
#define signals
#define Q_SIGNALS
#define Q_ENUM_IMPL(ENUM)
#define Q_ENUM_NS_IMPL(ENUM)
#define emit
#define Q_NAMESPACE_EXPORT(...)