Open 3D Engine PhysXDebug 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.
PhysXDebug::DebugRequests Class Referenceabstract

Inherits AZ::EBusTraits.

Public Member Functions

virtual void SetVisualization (bool enabled)=0
 
virtual void ToggleVisualizationConfiguration ()=0
 
virtual void ToggleColliderProximityDebugVisualization ()=0
 Toggle editor mode collider proximity debug visualization on/off (disabled by default)
 
virtual void SetCullingBoxSize (float cullingBoxSize)=0
 
virtual void ToggleCullingWireFrame ()=0
 

Static Public Attributes

static const AZ::EBusHandlerPolicy HandlerPolicy = AZ::EBusHandlerPolicy::Single
 
static const AZ::EBusAddressPolicy AddressPolicy = AZ::EBusAddressPolicy::Single
 

Member Function Documentation

◆ SetCullingBoxSize()

virtual void PhysXDebug::DebugRequests::SetCullingBoxSize ( float  cullingBoxSize)
pure virtual

Enables PhysX debug visualization and also sets the culling box size.

Parameters
cullingBoxSizespecifies the new culling box size to use. A value of 0 or less turns off culling.

◆ SetVisualization()

virtual void PhysXDebug::DebugRequests::SetVisualization ( bool  enabled)
pure virtual

Toggle the PhysX debug gem visualization on/off.

Parameters
enabledto enable visualization or not.

◆ ToggleCullingWireFrame()

virtual void PhysXDebug::DebugRequests::ToggleCullingWireFrame ( )
pure virtual

Toggle the visual culling box. The visual culling box is disabled by default.

◆ ToggleVisualizationConfiguration()

virtual void PhysXDebug::DebugRequests::ToggleVisualizationConfiguration ( )
pure virtual

Toggle between minimal physx::PxVisualizationParameter::eCOLLISION_SHAPES and eCOLLISION_EDGES and full visualization everything in physx::PxVisualizationParameter configuration. Will switch between minimal and full on call.


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