EBus interface to request the window or view used to clip and/or normalize the system cursor. More...
#include <InputSystemCursorRequestBus.h>
Inherits AZ::EBusTraits.
Public Member Functions | |
virtual | ~InputSystemCursorConstraintRequests ()=default |
Default destructor. | |
virtual void * | GetSystemCursorConstraintWindow () const =0 |
EBus interface to request the window or view used to clip and/or normalize the system cursor.
|
pure virtual |
Get the application window/view that should be used to clip and/or normalize the cursor.
Ideally there should be an abstract cross-platform 'AzFramework::ApplicationWindow/View' class/interface that systems like input and rendering use to interact with the windowing system in a platform agnostic manner, but for now we will make do with returning a void* and depend on the caller to cast it to the appropriate platform specific representation.