6#include <QtQuick3D/QQuick3DGeometry>
7#include <extensions/PxExtensionsAPI.h>
35 delete m_planeGeometry;
40 if (!m_planeGeometry) {
41 updatePhysXGeometry();
43 return m_planeGeometry;
46void QPlaneShape::updatePhysXGeometry()
48 delete m_planeGeometry;
50 m_planeGeometry =
new physx::PxPlaneGeometry();
QPlaneShape()
\qmltype PlaneShape \inqmlmodule QtQuick3D.Physics \inherits CollisionShape
physx::PxGeometry * getPhysXGeometry() override
Combined button and popup list for selecting options.