Choose your operating system:
Windows
macOS
Linux
| FViewport::GetMousePos()
|
Module |
|
Header |
/Engine/Source/Runtime/Engine/Public/Slate/SceneViewport.h |
Include |
#include "Slate/SceneViewport.h" |
Source |
/Engine/Source/Runtime/Engine/Private/Slate/SceneViewport.cpp |
Sets MousePosition to the current mouse position
Parameter |
Description |
---|---|
MousePosition |
Populated with the current mouse position |
bLocalPosition |
Indicates whether the mouse position returned should be in local or absolute space |