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::JointsSubComponentModeRotation Class Referencefinal

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.
 

Public Attributes

 AZ_CLASS_ALLOCATOR_DECL
 

Member Function Documentation

◆ Refresh()

void PhysX::JointsSubComponentModeRotation::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::JointsSubComponentModeRotation::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::JointsSubComponentModeRotation::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::JointsSubComponentModeRotation::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: