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

Method GetMousePosition

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

Source from the content-addressed store, hash-verified

379}
380
381Float2 WindowBase::GetMousePosition() const
382{
383 return _settings.AllowInput && _focused ? ScreenToClient(Input::GetMouseScreenPosition()) : Float2::Minimum;
384}
385
386void WindowBase::SetMousePosition(const Float2& position) const
387{

Callers 1

UWPWindowMethod · 0.45

Calls 1

ScreenToClientFunction · 0.85

Tested by

no test coverage detected