#include <EditorPickEntitySelection.h>
|
AZStd::unique_ptr< EditorHelpers > | m_editorHelpers |
| Editor visualization of entities (icons, shapes, debug visuals etc).
|
|
AZ::EntityId | m_hoveredEntityId |
| What EntityId is the mouse currently hovering over (if any).
|
|
AZ::EntityId | m_cachedEntityIdUnderCursor |
|
ViewportEditorModeTrackerInterface * | m_viewportEditorModeTracker = nullptr |
| Tracker for activating/deactivating viewport editor modes.
|
|
Viewport interaction helper that handles highlighting entities and picking them within the viewport. This helper can be used from within other Viewport Interaction modes, such as the EditorDefaultSelection mode.
◆ DisplayEditorHelpers()
void AzToolsFramework::EditorPickEntitySelectionHelper::DisplayEditorHelpers |
( |
const AzFramework::ViewportInfo & |
viewportInfo, |
|
|
AzFramework::DebugDisplayRequests & |
debugDisplay |
|
) |
| |
◆ HandleMouseViewportInteraction()
Detects the entity under the cursor and the viewport and selects it when the button is pressed.
- Parameters
-
mouseInteraction | The mouse interaction event to use for entity detection and selection. |
- Returns
- True if the event was handled, false if it should continue being processed. (Currently always returns false)
◆ m_cachedEntityIdUnderCursor
AZ::EntityId AzToolsFramework::EditorPickEntitySelectionHelper::m_cachedEntityIdUnderCursor |
|
protected |
Store the EntityId on each mouse move for use in Display.
The documentation for this class was generated from the following file:
- Code/Framework/AzToolsFramework/AzToolsFramework/ViewportSelection/EditorPickEntitySelection.h