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

Method SetClientBounds

Source/Engine/Platform/Android/AndroidWindow.cpp:46–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44}
45
46void AndroidWindow::SetClientBounds(const Rectangle& clientArea)
47{
48 if (Float2::NearEqual(_clientSize, clientArea.Size))
49 return;
50
51 const int32 width = static_cast<int32>(clientArea.GetWidth());
52 const int32 height = static_cast<int32>(clientArea.GetHeight());
53 _clientSize = clientArea.Size;
54 OnResize(width, height);
55}
56
57#endif

Callers

nothing calls this directly

Calls 3

GetWidthMethod · 0.80
NearEqualFunction · 0.50
GetHeightMethod · 0.45

Tested by

no test coverage detected