Open 3D Engine LyShine 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.
|
Abstract base class for drag interactions in the UI Editor viewport window. More...
#include <ViewportDragInteraction.h>
Inherited by ViewportAddGuideInteraction, ViewportMoveGuideInteraction, and ViewportMoveInteraction.
Public Types | |
enum class | EndState { Inside , OutsideX , OutsideY , OutsideXY , Canceled } |
Public Member Functions | |
ViewportDragInteraction (const AZ::Vector2 &startMousePos) | |
virtual void | Update (const AZ::Vector2 &mousePos)=0 |
Update the interaction each time the mouse moves. | |
virtual void | Render (Draw2dHelper &draw2d) |
Render any display desired during the interaction. | |
virtual void | EndInteraction (EndState endState) |
End the interaction. | |
Protected Attributes | |
AZ::Vector2 | m_startMousePos |
Abstract base class for drag interactions in the UI Editor viewport window.
|
strong |