Open 3D Engine PhysX Gem API Reference
24.09
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
|
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 PhysXSystemConfiguration & | GetPhysXConfiguration () const |
Accessor to get the current PhysX configuration data. | |
const PhysXSettingsRegistryManager & | GetSettingsRegistryManager () 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 | |