5#ifndef STATICPHYSXOBJECTS_H
6#define STATICPHYSXOBJECTS_H
21#include <QtCore/qhash.h>
23#include "extensions/PxDefaultAllocator.h"
24#include "extensions/PxDefaultErrorCallback.h"
30class PxDefaultCpuDispatcher;
virtual void updateDefaultDensity(float density)
virtual void sync(float deltaTime, QHash< QQuick3DNode *, QMatrix4x4 > &transformCache)=0
QAbstractPhysicsNode * frontendNode
bool filtersDirty() const
QVector< physx::PxShape * > shapes
virtual void cleanup(QPhysXWorld *)
physx::PxMaterial * material
virtual void rebuildDirtyShapes(QPhysicsWorld *, QPhysXWorld *)
PhysicsMaterialProperties materialProperties
void setShapesDirty(bool dirty)
virtual bool debugGeometryCapability()
virtual void updateFilters()
virtual ~QAbstractPhysXNode()
virtual physx::PxTransform getGlobalPose()
virtual void init(QPhysicsWorld *world, QPhysXWorld *physX)=0
virtual void markDirtyShapes()
virtual DebugDrawBodyType getDebugDrawBodyType()
virtual QPhysicsMaterial * qtMaterial() const
void setFiltersDirty(bool dirty)
bool cleanupIfRemoved(QPhysXWorld *physX)
virtual bool useTriggerFlag()
void markDirtyShapes() override
void buildShapes(QPhysXWorld *physX)
void rebuildDirtyShapes(QPhysicsWorld *world, QPhysXWorld *physX) override
void init(QPhysicsWorld *world, QPhysXWorld *physX) override
bool debugGeometryCapability() override
void cleanup(QPhysXWorld *physX) override
physx::PxRigidActor * actor
virtual void createActor(QPhysXWorld *physX)
void sync(float deltaTime, QHash< QQuick3DNode *, QMatrix4x4 > &transformCache) override
void updateFilters() override
physx::PxTransform getGlobalPose() override
physx::PxD6Motion::Enum toPxEnum(QD6Joint::Motion val)
#define QT_BEGIN_NAMESPACE
friend bool operator==(const PhysicsMaterialProperties &lhs, const PhysicsMaterialProperties &rhs) noexcept
friend size_t qHash(const PhysicsMaterialProperties &properties, size_t seed=0) noexcept
static constexpr PhysicsMaterialProperties none()
physx::PxMaterial * material
physx::PxDefaultErrorCallback defaultErrorCallback
physx::PxDefaultAllocator defaultAllocatorCallback
physx::PxCooking * cooking
unsigned int foundationRefCount
static StaticPhysXObjects & getReference()
physx::PxFoundation * foundation
QHash< PhysicsMaterialProperties, SharedPhysicsMaterial > materials
physx::PxPvdTransport * transport
physx::PxDefaultCpuDispatcher * dispatcher
physx::PxPhysics * physics