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

Method SetMousePosition

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

Source from the content-addressed store, hash-verified

670}
671
672void PlatformBase::SetMousePosition(const Float2& position)
673{
674 const Window* win = Engine::MainWindow;
675 if (win)
676 win->SetMousePosition(win->ScreenToClient(position));
677}
678
679Rectangle PlatformBase::GetMonitorBounds(const Float2& screenPos)
680{

Callers

nothing calls this directly

Calls 1

ScreenToClientMethod · 0.45

Tested by

no test coverage detected