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.
PhysX::PhysXSceneInterface Class Reference

Inherits AZ::Interface::Registrar.

Public Member Functions

 PhysXSceneInterface (PhysXSystem *physxSystem)
 
AzPhysics::SceneHandle GetSceneHandle (const AZStd::string &sceneName) override
 
AzPhysics::Scene * GetScene (AzPhysics::SceneHandle handle) override
 
void StartSimulation (AzPhysics::SceneHandle sceneHandle, float deltatime) override
 
void FinishSimulation (AzPhysics::SceneHandle sceneHandle) override
 
void SetEnabled (AzPhysics::SceneHandle sceneHandle, bool enable) override
 
bool IsEnabled (AzPhysics::SceneHandle sceneHandle) const override
 
AzPhysics::SimulatedBodyHandle AddSimulatedBody (AzPhysics::SceneHandle sceneHandle, const AzPhysics::SimulatedBodyConfiguration *simulatedBodyConfig) override
 
AzPhysics::SimulatedBodyHandleList AddSimulatedBodies (AzPhysics::SceneHandle sceneHandle, const AzPhysics::SimulatedBodyConfigurationList &simulatedBodyConfigs) override
 
AzPhysics::SimulatedBody * GetSimulatedBodyFromHandle (AzPhysics::SceneHandle sceneHandle, AzPhysics::SimulatedBodyHandle bodyHandle) override
 
AzPhysics::SimulatedBodyList GetSimulatedBodiesFromHandle (AzPhysics::SceneHandle sceneHandle, const AzPhysics::SimulatedBodyHandleList &bodyHandles) override
 
void RemoveSimulatedBody (AzPhysics::SceneHandle sceneHandle, AzPhysics::SimulatedBodyHandle &bodyHandle) override
 
void RemoveSimulatedBodies (AzPhysics::SceneHandle sceneHandle, AzPhysics::SimulatedBodyHandleList &bodyHandles) override
 
void EnableSimulationOfBody (AzPhysics::SceneHandle sceneHandle, AzPhysics::SimulatedBodyHandle bodyHandle) override
 
void DisableSimulationOfBody (AzPhysics::SceneHandle sceneHandle, AzPhysics::SimulatedBodyHandle bodyHandle) override
 
AzPhysics::JointHandle AddJoint (AzPhysics::SceneHandle sceneHandle, const AzPhysics::JointConfiguration *jointConfig, AzPhysics::SimulatedBodyHandle parentBody, AzPhysics::SimulatedBodyHandle childBody) override
 
AzPhysics::Joint * GetJointFromHandle (AzPhysics::SceneHandle sceneHandle, AzPhysics::JointHandle jointHandle) override
 
void RemoveJoint (AzPhysics::SceneHandle sceneHandle, AzPhysics::JointHandle jointHandle) override
 
AzPhysics::SceneQueryHits QueryScene (AzPhysics::SceneHandle sceneHandle, const AzPhysics::SceneQueryRequest *request) override
 
bool QueryScene (AzPhysics::SceneHandle sceneHandle, const AzPhysics::SceneQueryRequest *request, AzPhysics::SceneQueryHits &result) override
 
AzPhysics::SceneQueryHitsList QuerySceneBatch (AzPhysics::SceneHandle sceneHandle, const AzPhysics::SceneQueryRequests &requests) override
 
bool QuerySceneAsync (AzPhysics::SceneHandle sceneHandle, AzPhysics::SceneQuery::AsyncRequestId requestId, const AzPhysics::SceneQueryRequest *request, AzPhysics::SceneQuery::AsyncCallback callback) override
 
bool QuerySceneAsyncBatch (AzPhysics::SceneHandle sceneHandle, AzPhysics::SceneQuery::AsyncRequestId requestId, const AzPhysics::SceneQueryRequests &requests, AzPhysics::SceneQuery::AsyncBatchCallback callback) override
 
void SuppressCollisionEvents (AzPhysics::SceneHandle sceneHandle, const AzPhysics::SimulatedBodyHandle &bodyHandleA, const AzPhysics::SimulatedBodyHandle &bodyHandleB) override
 
void UnsuppressCollisionEvents (AzPhysics::SceneHandle sceneHandle, const AzPhysics::SimulatedBodyHandle &bodyHandleA, const AzPhysics::SimulatedBodyHandle &bodyHandleB) override
 
void SetGravity (AzPhysics::SceneHandle sceneHandle, const AZ::Vector3 &gravity) override
 
AZ::Vector3 GetGravity (AzPhysics::SceneHandle sceneHandle) const override
 
void RegisterSceneConfigurationChangedEventHandler (AzPhysics::SceneHandle sceneHandle, AzPhysics::SceneEvents::OnSceneConfigurationChanged::Handler &handler) override
 
void RegisterSimulationBodyAddedHandler (AzPhysics::SceneHandle sceneHandle, AzPhysics::SceneEvents::OnSimulationBodyAdded::Handler &handler) override
 
void RegisterSimulationBodyRemovedHandler (AzPhysics::SceneHandle sceneHandle, AzPhysics::SceneEvents::OnSimulationBodyRemoved::Handler &handler) override
 
void RegisterSimulationBodySimulationEnabledHandler (AzPhysics::SceneHandle sceneHandle, AzPhysics::SceneEvents::OnSimulationBodySimulationEnabled::Handler &handler) override
 
void RegisterSimulationBodySimulationDisabledHandler (AzPhysics::SceneHandle sceneHandle, AzPhysics::SceneEvents::OnSimulationBodySimulationDisabled::Handler &handler) override
 
void RegisterSceneSimulationStartHandler (AzPhysics::SceneHandle sceneHandle, AzPhysics::SceneEvents::OnSceneSimulationStartHandler &handler) override
 
void RegisterSceneSimulationFinishHandler (AzPhysics::SceneHandle sceneHandle, AzPhysics::SceneEvents::OnSceneSimulationFinishHandler &handler) override
 
void RegisterSceneActiveSimulatedBodiesHandler (AzPhysics::SceneHandle sceneHandle, AzPhysics::SceneEvents::OnSceneActiveSimulatedBodiesEvent::Handler &handler) override
 
void RegisterSceneCollisionEventHandler (AzPhysics::SceneHandle sceneHandle, AzPhysics::SceneEvents::OnSceneCollisionsEvent::Handler &handler) override
 
void RegisterSceneTriggersEventHandler (AzPhysics::SceneHandle sceneHandle, AzPhysics::SceneEvents::OnSceneTriggersEvent::Handler &handler) override
 
void RegisterSceneGravityChangedEvent (AzPhysics::SceneHandle sceneHandle, AzPhysics::SceneEvents::OnSceneGravityChangedEvent::Handler &handler) override
 

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