#include <EditorWhiteBoxComponentModeTypes.h>
Public Attributes | |
| const AzToolsFramework::ViewportInteraction::MouseInteractionEvent & | m_mouseInteraction |
| AZ::EntityComponentIdPair | m_entityComponentIdPair |
| AZ::Transform | m_worldFromLocal |
| const IntersectionAndRenderData & | m_intersectionData |
| AZStd::optional< EdgeIntersection > | m_edgeIntersection |
| AZStd::optional< PolygonIntersection > | m_polygonIntersection |
| AZStd::optional< VertexIntersection > | m_vertexIntersection |
Everything a sub-mode might need to handle a viewport mouse interaction, bundled into a single context so every mode can share one HandleMouseInteraction signature. Some modes use the precomputed edge/polygon/vertex hits; others (e.g. DrawShapeMode) use the raw world transform and intersection cache. Built fresh per event, so reference members are safe.