Open 3D Engine PhysX 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.
PhysX::ColliderBoxMode Class Reference

Sub component mode for modifying the box dimensions on a collider. More...

#include <ColliderBoxMode.h>

Inherits PhysX::PhysXSubComponentModeBase.

Public Member Functions

void Setup (const AZ::EntityComponentIdPair &idPair) override
 
void Refresh (const AZ::EntityComponentIdPair &idPair) override
 
void Teardown (const AZ::EntityComponentIdPair &idPair) override
 
void ResetValues (const AZ::EntityComponentIdPair &idPair) override
 
- Public Member Functions inherited from PhysX::PhysXSubComponentModeBase
virtual void Setup (const AZ::EntityComponentIdPair &idPair)=0
 
virtual void Refresh (const AZ::EntityComponentIdPair &idPair)=0
 
virtual void Teardown (const AZ::EntityComponentIdPair &idPair)=0
 
virtual void ResetValues (const AZ::EntityComponentIdPair &idPair)=0
 
virtual void HandleMouseInteraction (const AzToolsFramework::ViewportInteraction::MouseInteractionEvent &mouseInteraction)
 Additional mouse handling by sub-component mode. Does not absorb mouse event.
 

Detailed Description

Sub component mode for modifying the box dimensions on a collider.

Member Function Documentation

◆ Refresh()

void PhysX::ColliderBoxMode::Refresh ( const AZ::EntityComponentIdPair &  idPair)
overridevirtual

Called when the mode needs to refresh it's values.

Parameters
idPairThe entity/component id pair.

Implements PhysX::PhysXSubComponentModeBase.

◆ ResetValues()

void PhysX::ColliderBoxMode::ResetValues ( const AZ::EntityComponentIdPair &  idPair)
overridevirtual

Called when reset hot key is pressed. Should reset values in the sub component mode to sensible defaults.

Parameters
idPairThe entity/component id pair.

Implements PhysX::PhysXSubComponentModeBase.

◆ Setup()

void PhysX::ColliderBoxMode::Setup ( const AZ::EntityComponentIdPair &  idPair)
overridevirtual

Called when the mode is entered to initialize the mode.

Parameters
idPairThe entity/component id pair.

Implements PhysX::PhysXSubComponentModeBase.

◆ Teardown()

void PhysX::ColliderBoxMode::Teardown ( const AZ::EntityComponentIdPair &  idPair)
overridevirtual

Called when the mode exits to perform cleanup.

Parameters
idPairThe entity/component id pair.

Implements PhysX::PhysXSubComponentModeBase.


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