![]() |
Qt 6.x
The Qt SDK
|
#include <qphysicsmeshutils_p_p.h>
Collaboration diagram for QQuick3DPhysicsMesh:Public Types | |
| enum | MeshType { Convex , Triangle } |
Public Member Functions | |
| QQuick3DPhysicsMesh (const QString &qmlSource) | |
| ~QQuick3DPhysicsMesh () | |
| QList< QVector3D > | positions () |
| QPair< QVector3D, QVector3D > | bounds () |
| void | ref () |
| int | deref () |
| physx::PxConvexMesh * | convexMesh () |
| physx::PxTriangleMesh * | triangleMesh () |
Definition at line 33 of file qphysicsmeshutils_p_p.h.
| Enumerator | |
|---|---|
| Convex | |
| Triangle | |
Definition at line 57 of file qphysicsmeshutils_p_p.h.
|
inline |
Definition at line 36 of file qphysicsmeshutils_p_p.h.
|
inline |
Definition at line 37 of file qphysicsmeshutils_p_p.h.
Definition at line 41 of file qphysicsmeshutils_p_p.h.
References QSSGMesh::Mesh::isValid(), and QSSGMesh::Mesh::subsets().
Here is the call graph for this function:| QT_BEGIN_NAMESPACE physx::PxConvexMesh * QQuick3DPhysicsMesh::convexMesh | ( | ) |
Definition at line 27 of file qconvexmeshshape.cpp.
References QByteArray::constData(), QList< T >::constData(), QSSGMesh::Mesh::VertexBuffer::data, i, QSSGMesh::Mesh::isValid(), qCDebug, qCWarning, QCacheUtils::readCachedConvexMesh(), QCacheUtils::readCookedConvexMesh(), QByteArray::size(), QSSGMesh::Mesh::VertexBuffer::stride, QSSGMesh::Mesh::vertexBuffer(), and QCacheUtils::writeCachedConvexMesh().
Here is the call graph for this function:
|
inline |
Definition at line 52 of file qphysicsmeshutils_p_p.h.
Referenced by QQuick3DPhysicsMeshManager::releaseMesh().
Here is the caller graph for this function:
|
inline |
Definition at line 51 of file qphysicsmeshutils_p_p.h.
| physx::PxTriangleMesh * QQuick3DPhysicsMesh::triangleMesh | ( | ) |
Definition at line 87 of file qconvexmeshshape.cpp.
References QSSGMesh::Mesh::IndexBuffer::componentType, QByteArray::constData(), QSSGMesh::Mesh::VertexBuffer::data, QSSGMesh::Mesh::IndexBuffer::data, QSSGMesh::Mesh::indexBuffer(), QSSGMesh::Mesh::isValid(), qCDebug, qCWarning, QCacheUtils::readCachedTriangleMesh(), QCacheUtils::readCookedTriangleMesh(), QByteArray::size(), QSSGMesh::Mesh::VertexBuffer::stride, QSSGMesh::Mesh::vertexBuffer(), and QCacheUtils::writeCachedTriangleMesh().
Here is the call graph for this function: