Inherits PhysX::PhysXSubComponentModeBase, and AzFramework::EntityDebugDisplayEventBus::Handler.
Inherited by PhysX::JointsSubComponentModeSnapPosition, and PhysX::JointsSubComponentModeSnapRotation.
|
virtual void | Setup (const AZ::EntityComponentIdPair &idPair) override |
|
virtual void | Refresh (const AZ::EntityComponentIdPair &idPair) override |
|
virtual void | Teardown (const AZ::EntityComponentIdPair &idPair) override |
|
void | HandleMouseInteraction (const AzToolsFramework::ViewportInteraction::MouseInteractionEvent &mouseInteraction) override |
| Additional mouse handling by sub-component mode. Does not absorb mouse event.
|
|
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.
|
|
|
AZStd::string | GetPickedEntityName () |
|
AZ::Vector3 | GetPosition () const |
|
void | DisplayEntityViewport (const AzFramework::ViewportInfo &viewportInfo, AzFramework::DebugDisplayRequests &debugDisplay) override |
|
virtual void | DisplaySpecificSnapType (const AzFramework::ViewportInfo &viewportInfo, AzFramework::DebugDisplayRequests &debugDisplay, const AZ::Vector3 &jointPosition, const AZ::Vector3 &snapDirection, float snapLength) |
| Override to draw specific snap type display.
|
|
|
EditorViewportEntityPicker | m_picker |
|
AZ::EntityId | m_pickedEntity |
|
AZ::Aabb | m_pickedEntityAabb = AZ::Aabb::CreateNull() |
|
AZ::Vector3 | m_pickedPosition |
|
AZ::EntityComponentIdPair | m_entityComponentId |
|
AZStd::shared_ptr< AzToolsFramework::LinearManipulator > | m_manipulator |
|
◆ DisplaySpecificSnapType()
virtual void PhysX::JointsSubComponentModeSnap::DisplaySpecificSnapType |
( |
const AzFramework::ViewportInfo & |
viewportInfo, |
|
|
AzFramework::DebugDisplayRequests & |
debugDisplay, |
|
|
const AZ::Vector3 & |
jointPosition, |
|
|
const AZ::Vector3 & |
snapDirection, |
|
|
float |
snapLength |
|
) |
| |
|
inlineprotectedvirtual |
◆ HandleMouseInteraction()
void PhysX::JointsSubComponentModeSnap::HandleMouseInteraction |
( |
const AzToolsFramework::ViewportInteraction::MouseInteractionEvent & |
mouseInteraction | ) |
|
|
overridevirtual |
◆ Refresh()
virtual void PhysX::JointsSubComponentModeSnap::Refresh |
( |
const AZ::EntityComponentIdPair & |
idPair | ) |
|
|
overridevirtual |
◆ Setup()
virtual void PhysX::JointsSubComponentModeSnap::Setup |
( |
const AZ::EntityComponentIdPair & |
idPair | ) |
|
|
overridevirtual |
◆ Teardown()
virtual void PhysX::JointsSubComponentModeSnap::Teardown |
( |
const AZ::EntityComponentIdPair & |
idPair | ) |
|
|
overridevirtual |
The documentation for this class was generated from the following file:
- Gems/PhysX/Code/Editor/Source/ComponentModes/Joints/JointsSubComponentModeSnap.h