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

Method SetMousePosition

Source/Engine/Platform/Base/WindowBase.cpp:386–392  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

384}
385
386void WindowBase::SetMousePosition(const Float2& position) const
387{
388 if (_settings.AllowInput && _focused)
389 {
390 Input::SetMouseScreenPosition(ClientToScreen(position));
391 }
392}
393
394Float2 WindowBase::GetMousePositionDelta() const
395{

Callers

nothing calls this directly

Calls 1

ClientToScreenFunction · 0.85

Tested by

no test coverage detected