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

Method SetMousePosition

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

Source from the content-addressed store, hash-verified

200}
201
202void UWPWindow::UWPMouse::SetMousePosition(const Float2& newPosition)
203{
204 const float dpiScale = Impl::Window->_dpiScale;
205 Impl::Window->GetImpl()->SetMousePosition(newPosition.X / dpiScale, newPosition.Y / dpiScale);
206
207 OnMouseMoved(newPosition);
208}
209
210void UWPWindow::UWPKeyboard::onCharacterReceived(int key)
211{

Callers

nothing calls this directly

Calls 1

OnMouseMovedFunction · 0.85

Tested by

no test coverage detected