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

Function ScreenToClient

Source/Engine/Platform/Base/WindowBase.h:332–335  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

330 /// <param name="screenPos">The screen position.</param>
331 /// <returns>The client space position.</returns>
332 API_FUNCTION() virtual Float2 ScreenToClient(const Float2& screenPos) const
333 {
334 return screenPos;
335 }
336
337 /// <summary>
338 /// Converts window space location into screen space coordinates.

Callers 7

GetMousePositionMethod · 0.85
HandleEventInternalMethod · 0.85
ScreenToClientMethod · 0.85
WndProcMethod · 0.85
DragEnterMethod · 0.85
DragOverMethod · 0.85
DropMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected