4#ifndef ABSTRACTCOLLISIONSHAPE_H
5#define ABSTRACTCOLLISIONSHAPE_H
18#include <QtQuick3DPhysics/qtquick3dphysicsglobal.h>
19#include <QtQuick3D/private/qquick3dnode_p.h>
20#include <QtQml/QQmlEngine>
31 Q_PROPERTY(
bool enableDebugDraw READ enableDebugDraw WRITE setEnableDebugDraw NOTIFY
32 enableDebugDrawChanged)
39 virtual
physx::PxGeometry *getPhysXGeometry() = 0;
40 bool enableDebugDraw() const;
42 virtual
bool isStaticShape() const = 0;
45 void setEnableDebugDraw(
bool enableDebugDraw);
48 void enableDebugDrawChanged(
bool enableDebugDraw);
52 bool m_scaleDirty = true;
56 void handleScaleChange();
59 bool m_enableDebugDraw =
false;
The QVector3D class represents a vector or vertex in 3D space.
Combined button and popup list for selecting options.
#define QML_UNCREATABLE(REASON)
#define QML_NAMED_ELEMENT(NAME)
#define Q_QUICK3DPHYSICS_EXPORT