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

Method ScreenToClient

Source/Engine/Platform/UWP/UWPWindow.cpp:404–407  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

402}
403
404Float2 UWPWindow::ScreenToClient(const Float2& screenPos) const
405{
406 return screenPos - GetPosition();
407}
408
409Float2 UWPWindow::ClientToScreen(const Float2& clientPos) const
410{

Callers 7

UpdateMethod · 0.45
ScreenToGameViewportMethod · 0.45
SetCursorLockMethod · 0.45
SetMousePositionMethod · 0.45
PointFromScreenMethod · 0.45
OnHitTestMethod · 0.45

Calls 1

GetPositionFunction · 0.50

Tested by

no test coverage detected