|
Open 3D Engine PhysX Gem API Reference
23.05.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
|
Handles loading and saving the settings registry. More...
#include <PhysXSettingsRegistryManager.h>
Inherited by PhysX::PhysXEditorSettingsRegistryManager.
Public Types | |
| enum | Result : AZ::u8 { Success, Failed } |
| using | OnPhysXConfigSaveComplete = AZStd::function< void(const PhysXSystemConfiguration &, Result)> |
| using | OnDefaultSceneConfigSaveComplete = AZStd::function< void(const AzPhysics::SceneConfiguration &, Result)> |
| using | OnPhysXDebugConfigSaveComplete = AZStd::function< void(const Debug::DebugConfiguration &, Result)> |
Public Member Functions | |
| virtual AZStd::optional < PhysXSystemConfiguration > | LoadSystemConfiguration () const |
| virtual AZStd::optional < AzPhysics::SceneConfiguration > | LoadDefaultSceneConfiguration () const |
| virtual AZStd::optional < Debug::DebugConfiguration > | LoadDebugConfiguration () const |
| virtual void | SaveSystemConfiguration (const PhysXSystemConfiguration &config, const OnPhysXConfigSaveComplete &saveCallback) const |
| virtual void | SaveDefaultSceneConfiguration (const AzPhysics::SceneConfiguration &config, const OnDefaultSceneConfigSaveComplete &saveCallback) const |
| virtual void | SaveDebugConfiguration (const Debug::DebugConfiguration &config, const OnPhysXDebugConfigSaveComplete &saveCallback) const |
Protected Attributes | |
| AZStd::string | m_settingsRegistryPath |
| AZStd::string | m_defaultSceneConfigSettingsRegistryPath |
| AZStd::string | m_debugSettingsRegistryPath |
Handles loading and saving the settings registry.
|
virtual |
Load the PhysX Debug Configuration from the Settings Registry
|
virtual |
Load the Default Scene Configuration from the Settings Registry
|
virtual |
Load the PhysX Configuration from the Settings Registry
|
virtual |
Save the PhysX Debug Configuration from the Settings Registry
Reimplemented in PhysX::PhysXEditorSettingsRegistryManager.
|
virtual |
Save the Default Scene Configuration from the Settings Registry
Reimplemented in PhysX::PhysXEditorSettingsRegistryManager.
|
virtual |
Save the PhysX Configuration from the Settings Registry
Reimplemented in PhysX::PhysXEditorSettingsRegistryManager.