32 Q_PROPERTY(
bool enableDebugDraw READ enableDebugDraw WRITE setEnableDebugDraw NOTIFY
33 enableDebugDrawChanged)
34 QML_NAMED_ELEMENT(CollisionShape)
35 QML_UNCREATABLE(
"abstract interface")
37 explicit QAbstractCollisionShape(QQuick3DNode *parent =
nullptr);
38 virtual ~QAbstractCollisionShape();
40 virtual physx::PxGeometry *getPhysXGeometry() = 0;
41 bool enableDebugDraw()
const;
43 virtual bool isStaticShape()
const = 0;
46 void setEnableDebugDraw(
bool enableDebugDraw);
49 void enableDebugDrawChanged(
bool enableDebugDraw);
50 void needsRebuild(QObject *);
53 bool m_scaleDirty =
true;
54 QVector3D m_prevScale;
57 void handleScaleChange();
60 bool m_enableDebugDraw =
false;