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::ColliderComponentModeRequests Class Referenceabstract

Bus used to communicate with component mode. More...

#include <ColliderComponentModeBus.h>

Inherits AZ::EntityComponentBus.

Public Types

enum class  SubMode : AZ::u32 { Offset , Rotation , Dimensions , NumModes }
 

Public Member Functions

virtual SubMode GetCurrentMode ()=0
 
virtual void SetCurrentMode (SubMode mode)=0
 
virtual void ResetCurrentMode ()=0
 Resets the current sub collider component mode's UI.
 

Detailed Description

Bus used to communicate with component mode.

Member Function Documentation

◆ GetCurrentMode()

virtual SubMode PhysX::ColliderComponentModeRequests::GetCurrentMode ( )
pure virtual

Gets the current sub collider component mode.

Returns
The mode index.

◆ SetCurrentMode()

virtual void PhysX::ColliderComponentModeRequests::SetCurrentMode ( SubMode  mode)
pure virtual

Sets the current sub collider component mode.

Parameters
modeThe new mode to set.

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