6#include <QtQuick3D/QQuick3DGeometry>
7#include <extensions/PxExtensionsAPI.h>
37 delete m_physXGeometry;
48 updatePhysXGeometry();
50 return m_physXGeometry;
59 updatePhysXGeometry();
65void QBoxShape::updatePhysXGeometry()
67 delete m_physXGeometry;
69 m_physXGeometry =
new physx::PxBoxGeometry(half.x(), half.y(), half.z());
void needsRebuild(QObject *)
QBoxShape()
\qmltype BoxShape \inherits CollisionShape \inqmlmodule QtQuick3D.Physics
void extentsChanged(QVector3D extents)
physx::PxGeometry * getPhysXGeometry() override
void setExtents(QVector3D extents)
The QVector3D class represents a vector or vertex in 3D space.
Combined button and popup list for selecting options.