Add Engine.FocusGameViewport to implement game menu with camera focus gather
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user