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.
|
Sub component mode for modifying the rotation on a collider in the viewport. More...
#include <ColliderRotationMode.h>
Inherits PhysX::PhysXSubComponentModeBase, and AzFramework::EntityDebugDisplayEventBus::Handler.
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 | HandleMouseInteraction ([[maybe_unused]] const AzToolsFramework::ViewportInteraction::MouseInteractionEvent &mouseInteraction) |
Additional mouse handling by sub-component mode. Does not absorb mouse event. | |
Sub component mode for modifying the rotation on a collider in the viewport.
|
overridevirtual |
Called when the mode needs to refresh it's values.
idPair | The entity/component id pair. |
Implements PhysX::PhysXSubComponentModeBase.
|
overridevirtual |
Called when reset hot key is pressed. Should reset values in the sub component mode to sensible defaults.
idPair | The entity/component id pair. |
Implements PhysX::PhysXSubComponentModeBase.
|
overridevirtual |
Called when the mode is entered to initialize the mode.
idPair | The entity/component id pair. |
Implements PhysX::PhysXSubComponentModeBase.
|
overridevirtual |
Called when the mode exits to perform cleanup.
idPair | The entity/component id pair. |
Implements PhysX::PhysXSubComponentModeBase.