18#include <QtQuick3DPhysics/qtquick3dphysicsglobal.h>
19#include <QtQuick3DPhysics/private/qabstractcollisionshape_p.h>
20#include <QtQml/QQmlEngine>
23class PxCapsuleGeometry;
32 Q_PROPERTY(
float diameter READ diameter WRITE setDiameter NOTIFY diameterChanged)
38 float diameter()
const;
39 void setDiameter(
float newDiameter);
42 void setHeight(
float newHeight);
52 void updatePhysXGeometry();
53 physx::PxCapsuleGeometry *m_physXGeometry =
nullptr;
54 float m_diameter = 100.0f;
55 float m_height = 100.0f;
virtual physx::PxGeometry * getPhysXGeometry()=0
bool isStaticShape() const override
QCapsuleShape()
\qmltype CapsuleShape \inherits CollisionShape \inqmlmodule QtQuick3D.Physics
Combined button and popup list for selecting options.
GLint GLsizei GLsizei height
#define QML_NAMED_ELEMENT(NAME)
#define Q_QUICK3DPHYSICS_EXPORT