MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / GetMousePosition

Method GetMousePosition

Source/Engine/Platform/Base/PlatformBase.cpp:664–670  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

662}
663
664Float2 PlatformBase::GetMousePosition()
665{
666 const Window* win = Engine::MainWindow;
667 if (win)
668 return win->ClientToScreen(win->GetMousePosition());
669 return Float2::Minimum;
670}
671
672void PlatformBase::SetMousePosition(const Float2& position)
673{

Callers

nothing calls this directly

Calls 1

ClientToScreenMethod · 0.45

Tested by

no test coverage detected