Add Engine.FocusGameViewport to implement game menu with camera focus gather

This commit is contained in:
Wojciech Figat
2022-08-01 16:17:34 +02:00
parent 1d7e88635f
commit 7953f6cb83
7 changed files with 66 additions and 10 deletions

View File

@@ -100,6 +100,11 @@ public:
/// <returns>True if game viewport is focused, otherwise false.</returns>
bool HasGameViewportFocus() const;
/// <summary>
/// Gives focus to the game viewport (game can receive input).
/// </summary>
void FocusGameViewport() const;
/// <summary>
/// Converts the screen-space position to the game viewport position.
/// </summary>