Sub component mode for modifying the box dimensions on a collider.
More...
#include <ColliderSphereMode.h>
Inherits PhysX::PhysXSubComponentModeBase, and AzFramework::EntityDebugDisplayEventBus::Handler.
|
AZ_CLASS_ALLOCATOR_DECL 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 |
|
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.
|
|
Sub component mode for modifying the box dimensions on a collider.
◆ Refresh()
void PhysX::ColliderSphereMode::Refresh |
( |
const AZ::EntityComponentIdPair & |
idPair | ) |
|
|
overridevirtual |
◆ ResetValues()
void PhysX::ColliderSphereMode::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
-
idPair | The entity/component id pair. |
Implements PhysX::PhysXSubComponentModeBase.
◆ Setup()
AZ_CLASS_ALLOCATOR_DECL void PhysX::ColliderSphereMode::Setup |
( |
const AZ::EntityComponentIdPair & |
idPair | ) |
|
|
overridevirtual |
◆ Teardown()
void PhysX::ColliderSphereMode::Teardown |
( |
const AZ::EntityComponentIdPair & |
idPair | ) |
|
|
overridevirtual |
The documentation for this class was generated from the following file:
- Gems/PhysX/Code/Editor/ColliderSphereMode.h