PhysX implementation of the AzPhysics::Scene. More...
#include <PhysXScene.h>
Inherits AzPhysics::Scene.
Public Member Functions | |
| AZ_RTTI (PhysXScene, "{B0FCFDE6-8B59-49D8-8819-E8C2F1EDC182}", AzPhysics::Scene) | |
| PhysXScene (const AzPhysics::SceneConfiguration &config, const AzPhysics::SceneHandle &sceneHandle) | |
| void | StartSimulation (float deltatime) override |
| void | FinishSimulation () override |
| void | SetEnabled (bool enable) override |
| bool | IsEnabled () const override |
| const AzPhysics::SceneConfiguration & | GetConfiguration () const override |
| void | UpdateConfiguration (const AzPhysics::SceneConfiguration &config) override |
| AzPhysics::SimulatedBodyHandle | AddSimulatedBody (const AzPhysics::SimulatedBodyConfiguration *simulatedBodyConfig) override |
| AzPhysics::SimulatedBodyHandleList | AddSimulatedBodies (const AzPhysics::SimulatedBodyConfigurationList &simulatedBodyConfigs) override |
| AzPhysics::SimulatedBody * | GetSimulatedBodyFromHandle (AzPhysics::SimulatedBodyHandle bodyHandle) override |
| AzPhysics::SimulatedBodyList | GetSimulatedBodiesFromHandle (const AzPhysics::SimulatedBodyHandleList &bodyHandles) override |
| void | RemoveSimulatedBody (AzPhysics::SimulatedBodyHandle &bodyHandle) override |
| void | RemoveSimulatedBodies (AzPhysics::SimulatedBodyHandleList &bodyHandles) override |
| void | EnableSimulationOfBody (AzPhysics::SimulatedBodyHandle bodyHandle) override |
| void | DisableSimulationOfBody (AzPhysics::SimulatedBodyHandle bodyHandle) override |
| AzPhysics::JointHandle | AddJoint (const AzPhysics::JointConfiguration *jointConfig, AzPhysics::SimulatedBodyHandle parentBody, AzPhysics::SimulatedBodyHandle childBody) override |
| AzPhysics::Joint * | GetJointFromHandle (AzPhysics::JointHandle jointHandle) override |
| void | RemoveJoint (AzPhysics::JointHandle jointHandle) override |
| AzPhysics::SceneQueryHits | QueryScene (const AzPhysics::SceneQueryRequest *request) override |
| bool | QueryScene (const AzPhysics::SceneQueryRequest *request, AzPhysics::SceneQueryHits &result) override |
| AzPhysics::SceneQueryHitsList | QuerySceneBatch (const AzPhysics::SceneQueryRequests &requests) override |
| bool | QuerySceneAsync (AzPhysics::SceneQuery::AsyncRequestId requestId, const AzPhysics::SceneQueryRequest *request, AzPhysics::SceneQuery::AsyncCallback callback) override |
| bool | QuerySceneAsyncBatch (AzPhysics::SceneQuery::AsyncRequestId requestId, const AzPhysics::SceneQueryRequests &requests, AzPhysics::SceneQuery::AsyncBatchCallback callback) override |
| void | SuppressCollisionEvents (const AzPhysics::SimulatedBodyHandle &bodyHandleA, const AzPhysics::SimulatedBodyHandle &bodyHandleB) override |
| void | UnsuppressCollisionEvents (const AzPhysics::SimulatedBodyHandle &bodyHandleA, const AzPhysics::SimulatedBodyHandle &bodyHandleB) override |
| void | SetGravity (const AZ::Vector3 &gravity) override |
| AZ::Vector3 | GetGravity () const override |
| AzPhysics::SceneHandle | GetSceneHandle () const |
| const AZStd::vector< AZStd::pair< AZ::Crc32, AzPhysics::SimulatedBody * > > & | GetSimulatedBodyList () const |
| void * | GetNativePointer () const override |
| physx::PxControllerManager * | GetOrCreateControllerManager () |
| void | FlushTransformSync () |
Public Attributes | |
| AZ_CLASS_ALLOCATOR_DECL | |
PhysX implementation of the AzPhysics::Scene.
| void PhysX::PhysXScene::FlushTransformSync | ( | ) |
Apply batched transform sync events for the current simulation pass. This will clear the batched data for the next simulation pass.