Open 3D Engine PhysX Gem API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
PhysX::PhysXSystem Class Reference

Inherits AZ::Interface::Registrar.

Public Member Functions

 AZ_RTTI (PhysXSystem, "{B6F4D92A-061B-4CB3-AAB5-984B599A53AE}", AzPhysics::SystemInterface)
 
 PhysXSystem (AZStd::unique_ptr< PhysXSettingsRegistryManager > registryManager, const physx::PxCookingParams &cookingParams)
 
void Initialize (const AzPhysics::SystemConfiguration *config) override
 
void Reinitialize () override
 
void Shutdown () override
 
void Simulate (float deltaTime) override
 
AzPhysics::SceneHandle AddScene (const AzPhysics::SceneConfiguration &config) override
 
AzPhysics::SceneHandleList AddScenes (const AzPhysics::SceneConfigurationList &configs) override
 
AzPhysics::SceneHandle GetSceneHandle (const AZStd::string &sceneName) override
 
AzPhysics::Scene * GetScene (AzPhysics::SceneHandle handle) override
 
AzPhysics::SceneList GetScenes (const AzPhysics::SceneHandleList &handles) override
 
AzPhysics::SceneList & GetAllScenes () override
 
void RemoveScene (AzPhysics::SceneHandle handle) override
 
void RemoveScenes (const AzPhysics::SceneHandleList &handles) override
 
void RemoveAllScenes () override
 
AZStd::pair< AzPhysics::SceneHandle, AzPhysics::SimulatedBodyHandle > FindAttachedBodyHandleFromEntityId (AZ::EntityId entityId) override
 
const AzPhysics::SystemConfiguration * GetConfiguration () const override
 
void UpdateConfiguration (const AzPhysics::SystemConfiguration *newConfig, bool forceReinitialization=false) override
 
void UpdateDefaultSceneConfiguration (const AzPhysics::SceneConfiguration &sceneConfiguration) override
 
const AzPhysics::SceneConfiguration & GetDefaultSceneConfiguration () const override
 
const PhysXSystemConfigurationGetPhysXConfiguration () const
 Accessor to get the current PhysX configuration data.
 
const PhysXSettingsRegistryManagerGetSettingsRegistryManager () const
 Accessor to get the Settings Registry Manager.
 
physx::PxPhysics * GetPxPhysics ()
 
physx::PxCooking * GetPxCooking ()
 
physx::PxCpuDispatcher * GetPxCpuDispathcher ()
 
void SetCollisionLayerName (int index, const AZStd::string &layerName)
 
void CreateCollisionGroup (const AZStd::string &groupName, const AzPhysics::CollisionGroup &group)
 
AZ::Debug::PerformanceCollector * GetPerformanceCollector ()
 

Public Attributes

 AZ_CLASS_ALLOCATOR_DECL
 

The documentation for this class was generated from the following file: